-
Notifications
You must be signed in to change notification settings - Fork 31
Open
Description
The test command of setuptools has long being deprecated and it was removed from version 72.0.0 which was released this night pypa/setuptools#4519
django-password-validators/setup.py
Line 6 in b9c0384
| from setuptools.command.test import test as TestCommand |
django-password-validators/setup.py
Lines 11 to 30 in b9c0384
| class Tox(TestCommand): | |
| def initialize_options(self): | |
| TestCommand.initialize_options(self) | |
| self.tox_args = None | |
| def finalize_options(self): | |
| TestCommand.finalize_options(self) | |
| self.test_args = [] | |
| self.test_suite = True | |
| def run_tests(self): | |
| # import here, cause outside the eggs aren't loaded | |
| import tox | |
| import shlex | |
| args = self.tox_args | |
| if args: | |
| args = shlex.split(self.tox_args) | |
| errno = tox.cmdline(args=args) | |
| sys.exit(errno) |
This now prevents from installing this package since it relies on such feature.
Since the tox configuration does not use setup.py test it should be simple to remove such element.
browniebroke
Metadata
Metadata
Assignees
Labels
No labels