Skip to content

Commit 1de6266

Browse files
committed
update requirements, drop support for Python v3.8 and add support for v3.12
A number of NetML requirements -- such as scikit-learn v1.1.2 -- did not support Python v3.12. Updating NetML's requirements -- e.g. to scikit-learn v1.5.1 -- adds support for Python v3.12 (and removes support for Python v3.8). resolves #33
1 parent c9de432 commit 1de6266

File tree

2 files changed

+10
-19
lines changed

2 files changed

+10
-19
lines changed

setup.py

Lines changed: 8 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -13,27 +13,18 @@
1313
README_PATH = pathlib.Path(__file__).parent / 'README.md'
1414

1515
INSTALL_REQUIRES = [
16-
#
17-
# numba is only a requirement of pyod
18-
#
19-
# we force an rc only to permit installation under Py311
20-
#
21-
# (TODO: remove this line once 0.57 is stable and installed on its own)
22-
#
23-
'numba >= 0.57.0rc1',
24-
25-
'netaddr ~= 0.8.0',
26-
'numpy ~= 1.23.3',
27-
'pandas ~= 1.5.0',
28-
'pyod ~= 1.0.5',
29-
'scapy ~= 2.4.5',
30-
'scikit-learn ~= 1.1.2',
16+
'netaddr ~= 1.3.0',
17+
'numpy ~= 2.0.1',
18+
'pandas ~= 2.2.2',
19+
'pyod ~= 2.0.1',
20+
'scapy ~= 2.5.0',
21+
'scikit-learn ~= 1.5.1',
3122
]
3223

3324
_CLI_REQUIRES = [
3425
'argcmdr==0.13.1',
3526
'argparse-formatter==1.4',
36-
'PyYAML==6.0',
27+
'PyYAML==6.0.1',
3728
'terminaltables==3.1.10',
3829
]
3930

@@ -72,10 +63,10 @@
7263
'Intended Audience :: Science/Research',
7364
'License :: OSI Approved :: Apache Software License',
7465
'Programming Language :: Python :: 3',
75-
'Programming Language :: Python :: 3.8',
7666
'Programming Language :: Python :: 3.9',
7767
'Programming Language :: Python :: 3.10',
7868
'Programming Language :: Python :: 3.11',
69+
'Programming Language :: Python :: 3.12',
7970
'Topic :: Software Development :: Libraries',
8071
'Topic :: Software Development :: Libraries :: Python Modules',
8172
'Topic :: Scientific/Engineering :: Artificial Intelligence',

tox.ini

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
[tox]
2-
envlist = py38, py39, py310, py311, lint
2+
envlist = py39, py310, py311, py312, lint
33

4-
[testenv:py{38,39,310,311}]
4+
[testenv:py{39,310,311,312}]
55
extras = cli
66
commands = python -m unittest -vb {posargs}
77

0 commit comments

Comments
 (0)