diff --git a/.github/workflows/ci_cd.yml b/.github/workflows/ci_cd.yml index 9e19c3b8c..bd0c9244c 100644 --- a/.github/workflows/ci_cd.yml +++ b/.github/workflows/ci_cd.yml @@ -332,11 +332,22 @@ jobs: - uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0 - name: "Set up Python and activate virtual environment" - uses: ./.github/workflows/setup-python/ - with: - container-sha: ${{ needs.test-container-info.outputs.sha }} - python-version: ${{ matrix.python-version }} - + run: | + apt-get update + apt-get install git curl -y + curl -LsSf https://astral.sh/uv/install.sh | sh + export PATH="$HOME/.local/bin:$PATH" + echo "PATH=$HOME/.local/bin:$PATH" >> $GITHUB_ENV + uv python install ${{ matrix.python-version }} + curl https://bootstrap.pypa.io/get-pip.py -o get-pip.py + /env/bin/python3.11 get-pip.py + python${{ matrix.python-version }} -m venv /env + - name: Install pip if missing + run: | + if ! /env/bin/python3.11 -m pip --version; then + curl https://bootstrap.pypa.io/get-pip.py -o get-pip.py + /env/bin/python3.11 get-pip.py + fi - name: "Install packages for testing" run: | . /env/bin/activate diff --git a/doc/changelog.d/1343.test.md b/doc/changelog.d/1343.test.md new file mode 100644 index 000000000..3801068d7 --- /dev/null +++ b/doc/changelog.d/1343.test.md @@ -0,0 +1 @@ +Uv python install