-
-
Notifications
You must be signed in to change notification settings - Fork 173
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
correct upper numpy bound for scipy 1.9 #949
correct upper numpy bound for scipy 1.9 #949
Conversation
Hi! This is the friendly automated conda-forge-linting service. I just wanted to let you know that I linted all conda-recipes in your PR ( |
This comment was marked as outdated.
This comment was marked as outdated.
Co-authored-by: Klaus Zimmermann <[email protected]>
@zklaus Shouldn't we have a separate rule for 1.9.2 (which has a different lower numpy bound (1.20.3) compared to 1.9.1 and 1.9.0 (1.19.5)? |
Yes, good catch! |
@zklaus 1.9.2 and 1.9.0/1.9.1 are now separated. I used the same timestamp and hope that this is ok. |
With the latest changes, here is the output from
I think this is ready. @conda-forge/scipy, do you agree? |
So this is mostly a theoretical concern. SciPy cannot know the future, but it does know that NumPy will not break or remove things without deprecating them for at least 2 releases. Which means that, if a SciPy version was warning-free at the time of its release with NumPy 1.N, the defensive upper bound that got added was So ultimately this becomes an exercise in keeping the |
@h-vetinari, it's not an explicit dependency on an old version of scipy. Taking the requirements from the pyapetnet recipe, we can create an identical test environment with
This results in the solution shown in py39_wo_scipy.txt. It includes I don't know why the solver lands on that solution, but there are no strange upper pins in the dependencies of the package, just very loose lower ones. |
Can you try adding |
@h-vetinari I added |
I would still only put this into |
@h-vetinari moved |
Checklist
generate_patch_json.py
if absolutely necessary.pre-commit run -a
and ensured all files pass the linting checks.python show_diff.py
and posted the output as part of the PR.