Skip to content

Add python uv support for Ubuntu Standard 7.0 #780

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions ubuntu/standard/7.0/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -437,6 +437,11 @@ RUN set -ex \
&& pip3 install --no-build-isolation "Cython<3" "PyYAML==$PYYAML_VERSION" \
&& pip3 uninstall cython --yes \
&& rm -rf /tmp/*

# Python uv
RUN curl -LsSf https://astral.sh/uv/install.sh | sh
ENV PATH="/root/.local/bin:$PATH"

#**************** END PYTHON *****************************************************

#**************** PHP ****************************************************
Expand Down
25 changes: 25 additions & 0 deletions ubuntu/standard/7.0/runtimes.yml
Original file line number Diff line number Diff line change
Expand Up @@ -130,6 +130,31 @@ runtimes:
commands:
- echo "Installing Python version 3.9 ..."
- pyenv global $PYTHON_39_VERSION
3.13-uv:
commands:
- echo "Installing Python version $PYTHON_313_VERSION via uv ..."
- echo "Please use virtualenv via 'uv venv -p $PYTHON_313_VERSION'"
- uv python install $PYTHON_313_VERSION
3.12-uv:
commands:
- echo "Installing Python version $PYTHON_312_VERSION via uv ..."
- echo "Please use virtualenv via 'uv venv -p $PYTHON_312_VERSION'"
- uv python install $PYTHON_312_VERSION
3.11-uv:
commands:
- echo "Installing Python version $PYTHON_311_VERSION via uv ..."
- echo "Please use virtualenv via 'uv venv -p $PYTHON_311_VERSION'"
- uv python install $PYTHON_311_VERSION
3.10-uv:
commands:
- echo "Installing Python version $PYTHON_310_VERSION via uv ..."
- echo "Please use virtualenv via 'uv venv -p $PYTHON_310_VERSION'"
- uv python install $PYTHON_310_VERSION
3.9-uv:
commands:
- echo "Installing Python version $PYTHON_39_VERSION via uv ..."
- echo "Please use virtualenv via 'uv venv -p $PYTHON_39_VERSION'"
- uv python install $PYTHON_39_VERSION
default:
commands:
- echo "Installing custom Python version $VERSION ..."
Expand Down