@@ -123,11 +123,11 @@ jobs:
123123 allow-prereleases : true
124124
125125 - name : Set up Python ${{ matrix.python-version }}
126- uses : deadsnakes/action@e640ac8743173a67cca4d7d77cd837e514bf98e8 # v3.2.0
126+ uses : Quansight-Labs/setup-python@b9ab292c751a42bcd2bb465b7fa202ea2c3f5796 # v5.3.1
127127 if : matrix.python-version == '3.13t'
128128 with :
129- python-version : ' 3.13 '
130- nogil : true
129+ python-version : ${{ matrix.python-version }}
130+ allow-prereleases : true
131131
132132 - name : Install OS dependencies
133133 run : |
@@ -174,11 +174,6 @@ jobs:
174174 texlive-luatex \
175175 texlive-pictures \
176176 texlive-xetex
177- if [[ "${{ matrix.python-version }}" = '3.13t' ]]; then
178- # TODO: Remove this once setup-python supports nogil distributions.
179- sudo apt-get install -yy --no-install-recommends \
180- python3.13-tk-nogil
181- fi
182177 if [[ "${{ matrix.os }}" = ubuntu-20.04 ]]; then
183178 sudo apt-get install -yy --no-install-recommends libopengl0
184179 else # ubuntu-22.04
@@ -242,15 +237,6 @@ jobs:
242237 4-${{ runner.os }}-py${{ matrix.python-version }}-mpl-${{ github.ref }}-
243238 4-${{ runner.os }}-py${{ matrix.python-version }}-mpl-
244239
245- - name : Install the nightly dependencies
246- if : matrix.python-version == '3.13t'
247- run : |
248- python -m pip install pytz tzdata python-dateutil # Must be installed for Pandas.
249- python -m pip install \
250- --pre \
251- --index-url https://pypi.anaconda.org/scientific-python-nightly-wheels/simple \
252- --upgrade --only-binary=:all: numpy pandas pillow contourpy
253-
254240 - name : Install Python dependencies
255241 run : |
256242 # Upgrade pip and setuptools and wheel to get as clean an install as
0 commit comments