Skip to content
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 announcement for upcoming stdlib migration #2126

Merged
merged 7 commits into from
Mar 24, 2024

Conversation

h-vetinari
Copy link
Member

As discussed in #2102

@h-vetinari h-vetinari requested a review from a team as a code owner March 20, 2024 03:50
Copy link

netlify bot commented Mar 20, 2024

Deploy Preview for conda-forge-previews ready!

Name Link
🔨 Latest commit fcdbc05
🔍 Latest deploy log https://app.netlify.com/sites/conda-forge-previews/deploys/6600adc94d811a00085fd157
😎 Deploy Preview https://deploy-preview-2126--conda-forge-previews.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@h-vetinari
Copy link
Member Author

pre-commit.ci autofix

Comment on lines 30 to 45
- if a feedstock uses a `- {{ compiler(...) }}` jinja in the build section,
add a line with `- {{ stdlib("c") }}` to the build environment.
- if a feedstock uses `- sysroot_linux-64 2.17 # [linux64]` (or a variation),
remove this line and add the following to your `conda_build_config.yaml`:
```
c_stdlib_version: # [linux]
- 2.17 # [linux]
```
- if a feedstock sets `MACOSX_DEPLOYMENT_TARGET` in `conda_build_config.yaml`,
for example to 10.13 for `x86_64`, replace that section with the following
(note, this does _not_ apply to `MACOSX_SDK_VERSION`!):
```
c_stdlib_version: # [osx and x86_64]
- 10.13 # [osx and x86_64]
```
You should then also remove any line involving `__osx` from `meta.yaml`.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should we put this info in our knowledgebase entries on using compilers? It might already be there, IDK.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Agreed that this would be a welcome addition to the knowledge base or compilers. We could link to the entry from the announcement so it doesn't get as long. Should help with discoverability!

Copy link
Member Author

@h-vetinari h-vetinari Mar 20, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should we put this info in our knowledgebase entries on using compilers?

Yeah, but that would realistically need to build on #1950, which has been waiting for feedback/resolution. Perhaps I need to bring up this topic in the core call.

We could link to the entry from the announcement so it doesn't get as long. Should help with discoverability!

Yeah, that sounds like a good idea.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That PR doesn't have the new stdlib setup stuff in it for the knowledgebase that I can see.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah, that PR's about a year old. My point is that if we want to add stdlib handling to our compiler docs, I want to build on the existing clean-up rather than do two conflicting updates.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We could link to the entry from the announcement so it doesn't get as long. Should help with discoverability!

Yeah, that sounds like a good idea.

I actually reconsidered this and don't necessarily agree anymore. The docs definitely need to be updated, but they should describe the new status quo, not a transition (or at least not for long, as it will become stale quickly).

The announcement (or tracking issue) seems like a reasonable place for me to describe the main mechanics of the transition, especially to the degree that it allows maintainers to do it themselves, without having to wait for the piggyback migrator.

Copy link
Member

@jaimergp jaimergp Mar 21, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

My main concern was about the discoverability of that information, but the search features should reveal both, so no strong feelings about it. I trust your judgment :)

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

So I only added a promise to update the docs for now, for two reasons:

Hope that's alright.

@h-vetinari
Copy link
Member Author

@conda-forge/core, any opposition to merging this as-is? I'll update the docs as soon as #1950 is settled.

@h-vetinari
Copy link
Member Author

Thanks for the reviews!

@h-vetinari h-vetinari merged commit 31cd923 into conda-forge:main Mar 24, 2024
6 checks passed
@h-vetinari h-vetinari deleted the stdlib branch March 24, 2024 22:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

5 participants