-
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
feat: add version bumping for v1 recipes #3525
Conversation
I just added a first test that demonstrates that talking to the pypi API also works for the new recipe format. I'll start cutting a release over on rattler-build-conda-compat and then we can move forward here. We can port some more tests over. |
This is the main blocker for me picking up v1 in some of the most expensive feedstocks on conda-forge, so I'm super excited about this one! |
/relock-conda |
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.
I left several comments that need addressing.
Thanks for the review @beckermr - I'll fix things up tomorrow morning. On a high-level, do things look alright to you? |
Yes this looks good. Given how it works, we can switch the v0 recipes over to this algorithm as well and that will likely be more robust than what is in the bot now. I just noticed you missed some of old vs new jinja2 stuff in the url transforms module. The current test doesn't hit those code paths which is why nothing weird happened. |
It looks like the relock command didn't work on this PR from a fork? Let me try again to be sure. /relock-conda |
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #3525 +/- ##
==========================================
- Coverage 77.11% 75.73% -1.39%
==========================================
Files 132 132
Lines 14612 14728 +116
==========================================
- Hits 11268 11154 -114
- Misses 3344 3574 +230 ☔ View full report in Codecov by Sentry. |
One more issue over here: prefix-dev/rattler-build-conda-compat#61 will release asap |
After this is merged, is there anything left for v1 updates to be processed by the bot? Asking because this only touches the |
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.
yet more recipe_*
variable naming consistency issues.
/relock-conda |
This might be helpful if the locking bot fails: conda-incubator/relock-conda#245 (comment) |
bc9c261
to
85c4173
Compare
This PR is still missing changes to the url transforms in this file: https://github.com/regro/cf-scripts/blob/main/conda_forge_tick/url_transforms.py. If that code happens to run during a version update it will break the v1 recipe PRs. |
@beckermr I used |
It does indeed miss the code about the R versions though, so that will have to be added back in. Will try to tackle this tomorrow if @mgorny doesn't get to it before me |
@wolfv That is exactly the problem. We need to ensure |
for more information, see https://pre-commit.ci
for more information, see https://pre-commit.ci
1a755a0
to
6deaf29
Compare
I just released |
Nice, tests passed 🙏 |
Wow, thanks @beckermr! Do you know if anything else needs to happen? |
Not sure. We'll find out if we get some version bumps! |
I asked the bot for one here: https://github.com/conda-forge/conda-forge-webservices/actions/runs/12795837076/job/35674099360 Do we need to update a docker image somewhere? |
so to make that go live, you'll need to
If you do 1, 2 will happen automatically. |
OK, I bumped the conda-forge-tick-feedstock: conda-forge/conda-forge-tick-feedstock#60 |
appears to work: https://github.com/conda-forge/subfinder-feedstock/pull/1/files |
absolutely wonderful, thanks folks! |
Another version of version bumping for v1 recipes. This time it should handle all the cases :)
Needs: prefix-dev/rattler-build-conda-compat#57
With the pixi toml attached below, you can try this with:
Should show you an updated recipe with version & hash bumped to 5.2.0
I am using this
pixi.toml
locally:pixi.toml