8000 CI Use right environment in Pyodide wheel upload by lesteve · Pull Request #31078 · scikit-learn/scikit-learn · GitHub
[go: up one dir, main page]

Skip to content

CI Use right environment in Pyodide wheel upload #31078

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

Merged
merged 1 commit into from
Mar 26, 2025

Conversation

lesteve
Copy link
Member
@lesteve lesteve commented Mar 26, 2025

Follow-up of #29791 after the upload fails #29791 (comment) because the token is empty.

Not sure if we should use the same environment or if we should have a separate environment for the main wheels upload and the Pyodide wheel upload. In particular the Pyodide wheel upload only needs SCIKIT_LEARN_NIGHTLY_UPLOAD_TOKEN and not SCIKIT_LEARN_STAGING_UPLOAD_TOKEN. cc @ogrisel.

Copy link

✔️ Linting Passed

All linting checks passed. Your pull request is in excellent shape! ☀️

Generated for commit: 1bf54bc. Link to the linter CI: here

@agriyakhetarpal
Copy link
Contributor

Thanks, @lesteve!

Not sure if we should use the same environment or if we should have a separate environment for the main wheels upload and the Pyodide wheel upload.

Keeping environments fine-grained is nice, but it also causes a maintenance burden. Leaving it up to y'all to decide. :)

@ogrisel
Copy link
Member
ogrisel commented Mar 26, 2025

I think it's fine to reuse this env.

@lesteve
Copy link
Member Author
lesteve commented Mar 26, 2025

Maybe @adrinjalali or @thomasjpfan for a second opinion on the security aspect of sharing the upload_anaconda for both "standard" wheels and Pyodide wheels?

Copy link
Member
@thomasjpfan thomasjpfan left a comment

Choose a reason for hiding this comment

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

I'm okay with reusing this environment for WASM wheels.

@lesteve
Copy link
Member Author
lesteve commented Mar 26, 2025

OK thanks, let's merge this then!

@lesteve lesteve merged commit 9e5ac28 into scikit-learn:main Mar 26, 2025
39 checks passed
@lesteve
Copy link
Member Author
lesteve commented Mar 26, 2025

Manual workflow now running at: https://github.com/scikit-learn/scikit-learn/actions/runs/14088599788 🤞

@lesteve
Copy link
Member Author
lesteve commented Mar 26, 2025

Pyodide wheels are on anaconda.org 🎉 https://anaconda.org/scientific-python-nightly-wheels/scikit-learn/files.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants
0