Remove pytest-runner
dependency from setup.py
#2303
Labels
triage
Needs to be triaged and prioritised accordingly
pytest-runner
dependency from setup.py
#2303
In Python library of Seldon, there is a line in
setup.py
which sayssetup_requires=["pytest-runner"]
. This is only needed if one wants to run tests this waypython setup.py pytest
but it bring another main dependency to the package. You already havepytest
dependency intests_require
, which is a cleaner practice to add test dependencies. This allowto run tests this way
pytest tests
, which has the same effect as the other approach. Bringing an extra dependency (especially, which is only used for tests) to the main package introduces an additional issue for big companies, which require taking each dependency through rigorous approval process.Another argument for removing
pytest-runner
is that this package has a deprecation notice:The text was updated successfully, but these errors were encountered: