-
Notifications
You must be signed in to change notification settings - Fork 79
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
Pinning sqlite for binary builds #1817
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
sqlite
is interesting because it is a conda-forge
package, but it is not a package on PyPI. Anything we put into requirements.txt
MUST be a PyPI-installable dependency.
Instead, I think this addition should go in our requirements-to-conda-forge conversion script at https://github.com/natcap/invest/blob/main/scripts/convert-requirements-to-conda-yml.py
Sorry to jump in, but wasn't this done in #1799? |
Ha, thanks for jumping in @emlys . I completely missed this and it explains why the binary build wasn't catching it. |
Looks good to me! |
Description
Related to #1799. It looks like the dependency wasn't being handled in the binary build environment that is set up. This PR moves the restriction to the top conda dependency environment variable, to avoid missing it in the subsequent set ups. Even though it's not necessary for each environment being set up. Happy to chat about this and whether this is something that would be better maintained in
scripts/convert-requirements-to-conda-yml.py
or elsewhere.Checklist