-
-
Notifications
You must be signed in to change notification settings - Fork 510
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
Add migration for r-base 4.3 #4363
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 ( |
@conda-forge/core Thoughts on starting an r-base migration? |
You need all of the options in your original message |
@isuruf Thanks, I've updated the PR accordingly. |
recipe/conda_build_config.yaml
Outdated
@@ -678,8 +678,7 @@ root_base: | |||
ruby: | |||
- 2.5 | |||
- 2.6 | |||
r_base: | |||
- 4.1 | |||
r_base: # [not win] |
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.
When dropping 4.1, we need to skip windows entirely. Not sure how to do that.
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 guess we could stick with 4.1 for windows still. That'd bypass the issue.
I added 4.1 back in for windows only, since it's the last thing we got to build on it. |
@conda-forge/r-base , @conda-forge/r :
The second option imposes additional maintenance burden, of course:
Dropping support for base-level packages is rarely a nice thing, but ultimately it is a question of of maintenance burden and maintainability under resource (=manpower) restrictions. What do you think, @conda-forge/r-base , @conda-forge/r ? |
At this point I'm happy dropping windows support, but (A) I fully recognize that may be controversial and (B) I have no clue how to do that in a migration. |
Dropping R 4.1 (and Windows R)As much as I'd like to see support for Windows continue, we definitely have pressure on multiple fronts to drop Windows R 4.1 specifically:
I don't know a workaround for the former, so those packages have already been losing Windows support. Attempts at solving the latter by gutting the If someone is going to do the toolchain work, I'd rather see Windows R 4.2/4.3 support added than toolchain maintenance for R 4.1. (Conditional) SuggestionIf it is decided to drop Windows R, then I'd suggest we do at least a last round of non-Windows R 4.1 builds against the current pinnings. There are several I adjusted a few feedstocks to build variants zipped over R 4.1/4.2 to work around this divergence in migrations, and it would be nice to get those reconciled first. |
Its a pity that the windows toolchain got so far behind. Lots of people got started with R on windows with conda just by installing miniconda/miniforge without the need to have admin access to install wsl2 or docker. Though the last R packages buildout by Anaconda last year was also without windows (and without osx) https://github.com/AnacondaRecipes/aggregateR/tree/R-4.2.0. With dropping R windows builds, should we then actively add a section to the conda-forge user instructions that explains the option to use linux packages on windows via wsl2 / docker?... This not only is an alternative for windows users, but also gives them more packages then bevor as the linux-64 package list is more complete. |
@dbast It certainly wouldn't hurt. |
I'm OK with dropping Windows, there seem no other good solution at the moment. |
Since we will be dropping R 4.1, there's no need right? |
Thanks for all the input! I've updated This is not to suggest to necessarily continue to support R 4.1 package builds. AFAIUI, to move this PR forward, we need to either
(I can't help with 1. since I'm not familiar with writing migrations; hence I did what I could and just re-enabled the other option...) |
@isuruf probably right, but it's done now since the migration in question has merged. |
Thanks @mbargull! I'm also fine with 2, but going forward would be less hesitant to skip Windows on individual recipes when they fail. |
Of course! Personally, I'm not at all knowledgeable about the R ecosystem and thus have no idea what minimum R version support is common in R packages. Especially if a
or similar, it certainly does not make sense to waste much time on it ;) (unless someone has particular reasons to do so...). My suggestions to @conda-forge/r : |
We don't need a custom migrator. You can do the above change |
Co-authored-by: Isuru Fernando <[email protected]>
@isuruf, just to get clarification/confirmation: conda_forge_yml_patches:
build_platform.win_64: win_disabled applied now and Meaning, if we want to go with the "disable Windows R package builds" route, this PR should be ready? |
Yup, it should be ready. I didn't realize this configuration would work. 🤦 |
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.
Marking my 'yea' vote for this as stands (with win dropped).
All other outstanding migrations on r-*
feedstocks have completed.
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.
LGTM
@conda-forge/r , @conda-forge/core : Any further comments? Feel free to merge otherwise.
Anyone want to hit merge on this? It sounds like it's ready to go. |
What about now? Anyone want to hit merge? |
I would if I could :-) |
This seems to have had no effect. 🤔 |
Maybe it is a naming issue? Other migrators seem to use |
@jakirkham had the same thought, but |
conda_forge_yml_patches: | ||
provider.win_64: win_disabled |
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.
Interesting, could there be a syntax error here? This seems to be the main change relative to the old migrator
It could also be a general issue. I'm also not seeing any PRs for |
Well, something got it rolling (maybe #4572 did it?). @isuruf FYI, if the intent of conda-forge-pinning-feedstock/recipe/migrations/r_base43.yaml Lines 13 to 14 in 000a421
was to disable Windows builds it does not seem to be having that effect. Current rollout appears to retain Windows R 4.1 builds, while using 4.2 and 4.3 for non-Windows. |
Note that the previous r-base migration included the following lines (I've adjusted the commit message to be appropriate here):
I don't see enough in the documentation to determine if that's needed here as well.
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)