Skip to content

DOC add note on how to use Codespace - #32474

Draft
AnneBeyer wants to merge 3 commits into
scikit-learn:mainfrom
AnneBeyer:doc_codespace
Draft

AnneBeyer wants to merge 3 commits into
scikit-learn:mainfrom
AnneBeyer:doc_codespace

Conversation

@AnneBeyer

Copy link
Copy Markdown
Member

As suggested by @StefanieSenger in this comment, I tried out Codespaces and added a short description on how to use it instead of installing locally (following #31096) .

In the current setting, I think there is not really a pretty way to integrate it. I went for a note, but I'm not sure if that is more confusing than helpful (even more jumping around now...). Another way would be to duplicate some of the instructions to make them more separate, but my question is first: do we prioritize having the information out there, or should we rather wait until we have a better structure for the contributing docs in general and include it later? @lesteve

@github-actions

github-actions Bot commented Oct 10, 2025 •

Copy link
Copy Markdown

✔️ Linting Passed

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

Generated for commit: 015a3cb. Link to the linter CI: here

@lesteve

lesteve commented Oct 13, 2025

Copy link
Copy Markdown
Member

Another way would be to duplicate some of the instructions to make them more separate, but my question is first: do we prioritize having the information out there, or should we rather wait until we have a better structure for the contributing docs in general and include it later? @lesteve

Yeah good question, at the moment my thinking is to avoid adding more things, things like "Replace steps 3-5 by" makes me cringe hard 😅. This is what happens when documentation grows organically. Definitely not your fault, and not anyone's fault in particular !

Side-comment: unless there are conflicts, you don't need to merge main.

@lesteve

lesteve commented Oct 13, 2025

Copy link
Copy Markdown
Member

IMO once we have something like #32475, we could add the "Codespace" as alternative/fall-back. Matplotlib does this and I think this is OK: https://matplotlib.org/devdocs/devel/development_setup.html

@AnneBeyer

Copy link
Copy Markdown
Member Author

Yes I agree. I was thinking in the same direction and will include this within #32475.

@AnneBeyer AnneBeyer closed this Oct 13, 2025
@lesteve

lesteve commented Oct 13, 2025

Copy link
Copy Markdown
Member

I was thinking in the same direction and will include this within #32475.

I'd rather do after #32475. The smaller the PR, the easier it is to get it merged 😉.

@lesteve

lesteve commented Oct 13, 2025

Copy link
Copy Markdown
Member

I reopened this just to indicate we plan to add a note about Codespace at one point 😉.

@AnneBeyer feel free to move it to "Draft" status if you wish.

@AnneBeyer

Copy link
Copy Markdown
Member Author

Leaving this as a note here for later: move pre-commit hook section to install section (before building from source), to ensure linearity and consistency across local/Codespaces setup (as this will already be installed in Codespaces)

@AnneBeyer
AnneBeyer marked this pull request as draft October 16, 2025 12:21
@github-project-automation github-project-automation Bot moved this to Todo in Labs Jan 5, 2026
@StefanieSenger StefanieSenger moved this from Todo to In progress in Labs Jan 5, 2026
@AnneBeyer AnneBeyer moved this from In progress to Todo in Labs Feb 16, 2026
@AnneBeyer AnneBeyer moved this from Todo to In progress in Labs Feb 16, 2026
@AnneBeyer AnneBeyer moved this from In progress to Todo in Labs Mar 6, 2026
@adrinjalali

Copy link
Copy Markdown
Member

Looking at this with Olivier, we were also thinking that it might make sense to change setting up dev environment to using pyproject.toml and change how we tell users to create a dev env.

@adrinjalali

Copy link
Copy Markdown
Member

Also related: #33398 (comment)

This branch has not been deployed

No deployments
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.

3 participants