Closed sevein closed 4 years ago
If we eventually identify that fido needs a minimum setuptools version to build correctly, that constraint should be described in the build environment, not in the execution environment. E.g.: it could be listed in requirements/packaging.txt or in the new pyproject.toml
like in this example.
An alternative is to use setup_requires
. That's what pytest seems to be doing.
0.5 day
setup.py:install_requires
listssetuptools
but that's generally considered unsafe. E.g.: it may inadvertently upgrade the setuptools package in the user environment.I introduced that requirement accidentally back when I addded
fido.__version__
in https://github.com/openpreserve/fido/commit/d6d10713420e74f18d652c3a8b6cb2e3bb31de13. Likely because a problem with my development setup.