Skip to content

Pyenv to uv - #374

Merged
gmanchon merged 79 commits into
masterfrom
pyenv-to-uv
Sep 21, 2026
Merged

gmanchon merged 79 commits into
masterfrom
pyenv-to-uv

Conversation

@julesvanrie

Copy link
Copy Markdown
Contributor

Integrates the changes made in #371 while adding the move from pyenv to uv.

Better review this one.

The idea is to keep the one without uv as a backup, e.g. for students in running batches who have to redo their setup.

julesvanrie and others added 30 commits September 17, 2026 20:54
We currently give students 3 options depending on if they did a bootcamp before, and on which machine. Students have to unfold one of the options.

Too often they miss this step. The large majority has not done a bootcamp before, nor used dotfiles on another machine.

So we take that as the base case, with a dropdown for other cases. The dropdown redirects them to a TA with some options. We can improve this in a later phase, or add a Q&A for this specific use case. Low prio at this point.

This is inspired by the work already done in DE setup.
We already installed both before.

Version 5.2 of xz is around since 2014. Pretty sure we won't run into a fossil.
We check it later in the notebook.

Let's assume the happy scenario:
- Python is installed
- Jupyter is installed
- We see the correct Python version in the notebook
- Packages are installed, evidenced by Pandas

If it's the wrong Python already in the terminal, it will surface either
when we try to launch Jupyter, or when we check the version in the notebook.
If the version in the notebook is correct, it will be correct in the terminal too.
Not yet removing the old files, not touching the remote setup for now.

Also remove conda check: for the rare case where students have it installed, it won't conflict with our setup because we activate the uv venv.
Comment thread _partials/dotfiles.md Outdated
Comment thread _partials/dotfiles.md Outdated
Comment thread _partials/dotfiles.md
Comment thread _partials/dotfiles.md
Comment thread _partials/gcp_account_setup.md Outdated
Comment thread _partials/homebrew.md
Comment thread _partials/install_python.md Outdated
Comment thread _partials/install_python.md Outdated
Comment thread _partials/nbextensions.md Outdated
Comment thread _partials/osx_silicon.md Outdated
Comment thread constants/repos.yml Outdated
Comment thread _partials/nbextensions.md Outdated
Comment thread _partials/dotfiles.md
- The app will also ask for a selfie and request your profession
- The app will require a photo of your identification card or passport

Once this is done, select the standard (free) plan. No need to add the card to Apple pay, or ask for a the delivery of a physical card, or add money securely.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

or Android ?

@gmanchon gmanchon left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

LGTM !

@gmanchon
gmanchon merged commit 05c0ad5 into master Sep 21, 2026
@gmanchon
gmanchon deleted the pyenv-to-uv branch September 21, 2026 16:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants