5252 steps :
5353 - uses : actions/checkout@v4
5454 - name : Set up uv for Python ${{ matrix.python-version }}
55- uses : astral-sh/setup-uv@v6
55+ uses : astral-sh/setup-uv@v7
5656 with :
57- enable-cache : true
5857 python-version : ${{ matrix.python-version }}
5958 activate-environment : true
6059 - run : scripts/install.ps1
7069 runs-on : ubuntu-latest
7170 steps :
7271 - uses : actions/checkout@v4
73- - uses : astral-sh/setup-uv@v6
72+ - uses : astral-sh/setup-uv@v7
7473 - run : uvx uv-secure[faster-async]
7574
7675 Build :
@@ -83,18 +82,21 @@ jobs:
8382 python-version : ["3.13", "3.14"]
8483 steps :
8584 - uses : actions/checkout@v4
86- # region pyinstaller/pyinstaller#9012 + astral-sh/uv#12906
87- - name : Set up Python for PyInstaller tk and ARM64 issue
88- if : matrix.os != 'windows-latest'
85+ # https://github.com/astral-sh/uv/issues/12906#issuecomment-3587439179
86+ - name : Set UV_PYTHON for ARM runners
87+ if : ${{ endsWith(matrix.os, 'arm') }}
88+ run : echo "UV_PYTHON=arm64" >> "$GITHUB_ENV"
89+ # region https://github.com/pyinstaller/pyinstaller/issues/9204
90+ - name : Set up Python for PyInstaller tk issue on Linux
91+ if : ${{ startsWith(matrix.os, 'ubuntu') }}
8992 uses : actions/setup-python@v5
9093 with :
9194 allow-prereleases : true
9295 python-version : ${{ matrix.python-version }}
9396 - name : Set up uv for Python ${{ matrix.python-version }}
94- uses : astral-sh/setup-uv@v6
97+ uses : astral-sh/setup-uv@v7
9598 with :
96- enable-cache : true
97- python-version : ${{ matrix.os == 'windows-latest' && matrix.python-version || null }}
99+ python-version : ${{ !startsWith(matrix.os, 'ubuntu') && matrix.python-version || null }}
98100 # endregion
99101 - run : scripts/install.ps1
100102 shell : pwsh
0 commit comments