Skip to content

Commit

Permalink
fix: packaging move test deps to an extra instead of tests_require
Browse files Browse the repository at this point in the history
Remove `tests_require`, it is essentially deprecated and wasn't used.

See pypa/setuptools#931, it's likely to be
removed soon.
  • Loading branch information
jmahlik committed Oct 9, 2024
1 parent e3fc939 commit f7c892f
Showing 1 changed file with 1 addition and 8 deletions.
9 changes: 1 addition & 8 deletions setup.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
#!/usr/bin/env python

import os
import sys

from setuptools import find_packages, setup, Command

Expand Down Expand Up @@ -43,15 +42,10 @@ def run(self):
'scipy>=1.6.0',
]

# test requirements
tests_require = [
'pytest',
'coverage'
]

# extra requirements
extras_require = {
'distributed': ['pympler', 'tdigest'],
'test': ['coverage', 'flake8', 'pytest', 'pyarrow'],
}


Expand All @@ -76,7 +70,6 @@ def run(self):
cmdclass={'clean': CleanCommand},
python_requires='>=3.7',
install_requires=install_requires,
tests_require=tests_require,
extras_require=extras_require,
classifiers=[
'Topic :: Scientific/Engineering :: Mathematics',
Expand Down

0 comments on commit f7c892f

Please sign in to comment.