Skip to content

Commit

Permalink
update requirements, drop support for Python v3.8 and add support for…
Browse files Browse the repository at this point in the history
… 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
  • Loading branch information
jesteria committed Aug 1, 2024
1 parent c9de432 commit 1de6266
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 19 deletions.
25 changes: 8 additions & 17 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,27 +13,18 @@
README_PATH = pathlib.Path(__file__).parent / 'README.md'

INSTALL_REQUIRES = [
#
# numba is only a requirement of pyod
#
# we force an rc only to permit installation under Py311
#
# (TODO: remove this line once 0.57 is stable and installed on its own)
#
'numba >= 0.57.0rc1',

'netaddr ~= 0.8.0',
'numpy ~= 1.23.3',
'pandas ~= 1.5.0',
'pyod ~= 1.0.5',
'scapy ~= 2.4.5',
'scikit-learn ~= 1.1.2',
'netaddr ~= 1.3.0',
'numpy ~= 2.0.1',
'pandas ~= 2.2.2',
'pyod ~= 2.0.1',
'scapy ~= 2.5.0',
'scikit-learn ~= 1.5.1',
]

_CLI_REQUIRES = [
'argcmdr==0.13.1',
'argparse-formatter==1.4',
'PyYAML==6.0',
'PyYAML==6.0.1',
'terminaltables==3.1.10',
]

Expand Down Expand Up @@ -72,10 +63,10 @@
'Intended Audience :: Science/Research',
'License :: OSI Approved :: Apache Software License',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3.9',
'Programming Language :: Python :: 3.10',
'Programming Language :: Python :: 3.11',
'Programming Language :: Python :: 3.12',
'Topic :: Software Development :: Libraries',
'Topic :: Software Development :: Libraries :: Python Modules',
'Topic :: Scientific/Engineering :: Artificial Intelligence',
Expand Down
4 changes: 2 additions & 2 deletions tox.ini
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[tox]
envlist = py38, py39, py310, py311, lint
envlist = py39, py310, py311, py312, lint

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

Expand Down

0 comments on commit 1de6266

Please sign in to comment.