Drop pytest-runner and "setup.py test" support (#3921)
* Drop pytest-runner and "setup.py test" support This does not affect running the tests with `pytest`. Add a `test` extra to represent test dependencies. * Remove spurious more-itertools test dependency * Add HISTORY.md entry * Add Benjamin A. Beasley to COPYRIGHT.txt
This commit is contained in:
@@ -160,6 +160,7 @@ Copyright:
|
||||
Copyright 2024, Martin Lambertsen <github@lambertsen.one>
|
||||
Copyright 2024, Andrea Novellini <andre.novellini@gmail.com>
|
||||
Copyright 2024, Felix Patschkowski <felix.patschkowski@gmail.com>
|
||||
Copyright 2025, Benjamin A. Beasley <code@musicinmybrain.net>
|
||||
|
||||
License: BSD-3-clause
|
||||
All rights reserved.
|
||||
|
||||
@@ -4,6 +4,8 @@
|
||||
|
||||
_????-??-??_
|
||||
|
||||
* Drop pytest-runner and "setup.py test" support (#3921).
|
||||
|
||||
|
||||
## mlpack 4.6.0
|
||||
|
||||
|
||||
@@ -1,2 +0,0 @@
|
||||
[aliases]
|
||||
test=pytest
|
||||
|
||||
@@ -151,8 +151,8 @@ setup(name='mlpack',
|
||||
include_package_data=True,
|
||||
cmdclass={ 'build_ext': build_ext },
|
||||
ext_modules = modules,
|
||||
setup_requires=['cython', 'pytest-runner'],
|
||||
tests_require=['pytest>3;python_version>"3.4"', 'pytest>3,<=4.6;python_version<="3.4"',
|
||||
'more-itertools>=4.0.0,<6.0.0;python_version<="2.7"',
|
||||
'more-itertools>=4.0.0;python_version>"2.7"'],
|
||||
setup_requires=['cython'],
|
||||
extras_require={
|
||||
"tests": ['pytest>3;python_version>"3.4"', 'pytest>3,<=4.6;python_version<="3.4"'],
|
||||
},
|
||||
zip_safe = False)
|
||||
|
||||
Reference in New Issue
Block a user