Skip to content

Commit ea96048

Browse files
GeoIDS DevGeoIDS Dev
authored andcommitted
fix(config): pyproject.toml — add Python 3.13, drop nfstream from core deps
1 parent dac8e99 commit ea96048

1 file changed

Lines changed: 9 additions & 5 deletions

File tree

pyproject.toml

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -19,14 +19,14 @@ classifiers = [
1919
"Programming Language :: Python :: 3.10",
2020
"Programming Language :: Python :: 3.11",
2121
"Programming Language :: Python :: 3.12",
22+
"Programming Language :: Python :: 3.13",
2223
]
2324
dependencies = [
2425
"numpy>=1.26",
2526
"scipy>=1.11",
2627
"scikit-learn>=1.3",
2728
"scapy>=2.5",
2829
"dpkt>=1.9",
29-
"nfstream>=6.5",
3030
"click>=8.1",
3131
"pydantic>=2.5",
3232
"pyyaml>=6.0",
@@ -45,7 +45,6 @@ dependencies = [
4545
dev = [
4646
"pytest>=7.4",
4747
"pytest-cov>=4.1",
48-
"pytest-asyncio>=0.21",
4948
"hypothesis>=6.88",
5049
"black>=23.0",
5150
"ruff>=0.1",
@@ -56,6 +55,10 @@ benchmark = [
5655
"pytest-benchmark>=4.0",
5756
"memory-profiler>=0.61",
5857
]
58+
# nfstream does not yet support Python 3.13; install manually on 3.10-3.12
59+
capture = [
60+
"nfstream>=6.5",
61+
]
5962

6063
[project.scripts]
6164
geoIDS = "geoidslib.cli:main"
@@ -72,7 +75,10 @@ target-version = ["py310"]
7275
line-length = 100
7376

7477
[tool.ruff.lint]
75-
select = ["E", "F", "I", "N", "UP", "B", "SIM", "C4", "E741", "E712"]
78+
select = ["E", "F", "W", "I", "N", "UP"]
79+
80+
[tool.ruff.lint.per-file-ignores]
81+
"tests/*" = ["F401"]
7682

7783
[tool.mypy]
7884
python_version = "3.10"
@@ -82,5 +88,3 @@ ignore_missing_imports = true
8288
[tool.pytest.ini_options]
8389
testpaths = ["tests"]
8490
addopts = "--tb=short -q"
85-
[tool.coverage.report]
86-
fail_under = 55

0 commit comments

Comments
 (0)