File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -37,4 +37,4 @@ if ([string]::IsNullOrEmpty($WHEEL)) {
3737}
3838uv pip install -- no- cache -- no- config $WHEEL
3939
40- uv run -- no- sync python - c " import mapfile_parser; print(help( mapfile_parser.scan_for_config) )"
40+ uv run -- no- sync python - c " import mapfile_parser; print(mapfile_parser.__version__ )"
Original file line number Diff line number Diff line change @@ -35,4 +35,4 @@ if [ -z "$WHEEL" ]; then
3535fi
3636uv pip install --no-cache --no-config " $WHEEL "
3737# Check something basic to make sure it was installed correctly.
38- uv run --no-sync python -c " import mapfile_parser; print(help( mapfile_parser.scan_for_config) )"
38+ uv run --no-sync python -c " import mapfile_parser; print(mapfile_parser.__version__ )"
Original file line number Diff line number Diff line change 9797 - name : Install uv
9898 uses : astral-sh/setup-uv@v7
9999
100- - name : Setup project
100+ - name : Setup venv ${{ matrix.py_version }}
101+ if : ${{ matrix.py_version != '3.x' }}
101102 run : |
102103 uv venv --python ${{ matrix.py_version }}
104+ # `--python 3 --managed-python` makes uv to install the latest python version available
105+ - name : Setup venv 3.x
106+ if : ${{ matrix.py_version == '3.x' }}
107+ run : |
108+ uv venv --python 3 --managed-python
109+
110+ - name : Sync venv
111+ run : |
103112 uv sync
104113
105114 - name : Update tests outputs
@@ -138,9 +147,18 @@ jobs:
138147 - name : Install uv
139148 uses : astral-sh/setup-uv@v7
140149
141- - name : Setup project
150+ - name : Setup venv ${{ matrix.py_version }}
151+ if : ${{ matrix.py_version != '3.x' }}
142152 run : |
143153 uv venv --python ${{ matrix.py_version }}
154+ # `--python 3 --managed-python` makes uv to install the latest python version available
155+ - name : Setup venv 3.x
156+ if : ${{ matrix.py_version == '3.x' }}
157+ run : |
158+ uv venv --python 3 --managed-python
159+
160+ - name : Sync venv
161+ run : |
144162 uv sync
145163
146164 - name : bss_check
You can’t perform that action at this time.
0 commit comments