7171 with :
7272 fetch-depth : 0
7373 fetch-tags : true
74- - name : Set up uv
75- uses : astral-sh/setup-uv@5a095e7a2014a4212f075830d4f7277575a9d098 # v7.3.1
74+ - name : Set up Python
75+ uses : actions/setup-python@v6
76+ with :
77+ python-version : " 3.13"
78+ - name : Install uv
79+ run : python -m pip install uv
7680 - name : Set up Python environment
7781 run : uv sync --group dev --no-install-project
7882 - name : Run pre-commit
@@ -88,10 +92,12 @@ jobs:
8892 submodules : recursive
8993 fetch-depth : 0
9094 fetch-tags : true
91- - name : Set up uv
92- uses : astral-sh /setup-uv@5a095e7a2014a4212f075830d4f7277575a9d098 # v7.3.1
95+ - name : Set up Python
96+ uses : actions /setup-python@v6
9397 with :
94- python-version : 3.13
98+ python-version : " 3.13"
99+ - name : Install uv
100+ run : python -m pip install uv
95101 - uses : ./.github/actions/detect-env-vars
96102 id : env_vars
97103 - name : Run clang-tidy
@@ -111,10 +117,12 @@ jobs:
111117 submodules : recursive
112118 fetch-depth : 0
113119 fetch-tags : true
114- - name : Set up uv
115- uses : astral-sh /setup-uv@5a095e7a2014a4212f075830d4f7277575a9d098 # v7.3.1
120+ - name : Set up Python
121+ uses : actions /setup-python@v6
116122 with :
117- python-version : 3.13
123+ python-version : " 3.13"
124+ - name : Install uv
125+ run : python -m pip install uv
118126 - name : Generate docs
119127 run : |
120128 sudo apt install doxygen
@@ -183,15 +191,17 @@ jobs:
183191
184192 # Run Python tests
185193 - name : Setup Python ${{ matrix.python_version }}
186- uses : astral-sh /setup-uv@5a095e7a2014a4212f075830d4f7277575a9d098 # v7.3.1
194+ uses : actions /setup-python@v6
187195 with :
188196 python-version : ${{ matrix.python_version }}
189- activate-environment : true
197+ allow-prereleases : true
198+ - name : Install uv
199+ run : python -m pip install uv
190200 - name : Build and install python package
191201 env :
192202 CMAKE_BUILD_PARALLEL_LEVEL : ${{ steps.env_vars.outputs.cpu_count }}
193203 run : |
194- uv pip install --reinstall --verbose --group test -e .
204+ uv pip install --system -- reinstall --verbose --group test -e .
195205 - name : Run python tests
196206 if : ${{ matrix.os != 'windows-latest' }}
197207 run : |
0 commit comments