-
-
Notifications
You must be signed in to change notification settings - Fork 12
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
Update v0.17.1 release with pinned scipy version #48
Conversation
- create new release number for 0.17.1 with scipy pinned to <1.13
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 ( |
@conda-forge-admin, please rerender |
Hi! This is the friendly automated conda-forge-webservice. I tried to rerender for you, but it looks like there was nothing to do. This message was generated by GitHub actions workflow run https://github.com/conda-forge/arviz-feedstock/actions/runs/8602208407. |
hey matt! this seems fine to me in principle. I'm double checking that merging this won't make future conda releases harder (i mostly view conda forge as magic...) if you (or anyone) knows that this is fine, that'd be helpful to hear! |
I think (although I can't be 100% sure) that the automatic bot that updates to recipes for new releases should be able to deal with this without any issues. Another option is just to revert this change once the updated 0.17.1 package has been successfully uploaded to conda forge. |
works for me! thanks for doing the legwork here. |
@OriolAbril helpfully pointed out that https://github.com/conda-forge/conda-forge-repodata-patches-feedstock/blob/main/recipe/README.md is the "right" way to do this. He says: "AFAIK, the PR will update the metadata for 0.17.1, but 0.17.0, 0.16.0... will still have the issue, the metadata patch is general". Anyways, I think this is fine, but if you have a reason to want this in general (or if either of us needs to do this again), now we know. |
@ColCarroll Thanks, that is definitely useful to know! Yes, my PR will only work for v0.17.1, which for the purpose I requested it, which was primarily to fix a CI test for another package, is fine. So, for now, I'm happy with how things are. |
Hi @ColCarroll I was about to comment along the lines of what you said, it would be great if we could patch the metadata. Some googling reveals that having a new build doesn't automatically deprecate the old build and having a newer version of scipy takes precedence over a newer build of arviz in the solver so we're still seeing the old build install. |
opened a PR to patch: conda-forge/conda-forge-repodata-patches-feedstock#705. Note however I have never done a patch before so I did my best to follow the instructions and hope it is ok, I also have no idea how long it takes for patch PRs to be merged and therefore be in effect |
@OriolAbril Great, thanks. |
For future reference the preferred conda-forge procedure for generating a build of a non-latest version is to create a new branch from the corresponding commit, e.g. |
For possible future reference, the diff of this PR relative to v0.17.1 is: https://github.com/conda-forge/arviz-feedstock/compare/a2b3d83..753f936 the primary change being to bump the build number to - - scipy >=1.8
+ - scipy >=1.9,<1.13 The repodata patch adds
|
As a bugfix, the requirements for 0.17.1 are the same as 0.17.0, thus the requirements are >=1.8, ref https://github.com/arviz-devs/arviz/blob/v0.17.1/requirements.txt#L4. It is the build 1 that is inconsistent with pypi now. Plus having added the repodata patch the build 0 is now perfectly ok |
I made a mistake as pointed out in conda-forge/arviz-feedstock#48 (comment)
Thanks @OriolAbril for the correction! I must have gotten confused when flipping between the commits. I have updated conda-forge/admin-requests#1010 accordingly. |
For clarity I have:
|
Would it be possible to update the release for v0.17.1 with scipy pinned to <1.13 to avoid arviz-devs/arviz#2336 for conda-forge installs on Python 3.9?
Checklist
0
(if the version changed)conda-smithy
(Use the phrase@conda-forge-admin, please rerender
in a comment in this PR for automated rerendering)