New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
amundsendatabuilder "leaks" dev dependencies #80
Comments
cc @verdan |
Agreed! had the same impression when we proposed this solution, as we are installing a lot of test requirements because of this. |
I think we fix this issue long back. |
amundsendatabuilder declares an
install_requires
dependency on every package fromrequirements.txt
.This means that all consumers of this package must accept transitive dependencies on the specific versions of every package in amundsendatabuilder's development environment. For example, consumers of amundsendatabuilder are forced to install a specific version of flake8, even though this package doesn't actually need flake8.
Instead, we should declare concrete dependencies needed for development in
requirements.txt
and put the dependencies needed to install the package insetup.py
. See also this SO post for one approach to reduce duplication between the two files: instead of havingsetup.py
readrequirements.txt
, we can do the opposite and haverequirements.txt
reference the dependencies insetup.py
through the special dot syntax.The text was updated successfully, but these errors were encountered: