Skip to content

Commit 562d458

Browse files
tacaswellmeeseeksmachine
authored andcommitted
Backport PR #29191: ci: Simplify 3.13t test setup
1 parent 0586854 commit 562d458

File tree

1 file changed

+3
-17
lines changed

1 file changed

+3
-17
lines changed

.github/workflows/tests.yml

Lines changed: 3 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -126,11 +126,11 @@ jobs:
126126
allow-prereleases: true
127127

128128
- name: Set up Python ${{ matrix.python-version }}
129-
uses: deadsnakes/action@e640ac8743173a67cca4d7d77cd837e514bf98e8 # v3.2.0
129+
uses: Quansight-Labs/setup-python@b9ab292c751a42bcd2bb465b7fa202ea2c3f5796 # v5.3.1
130130
if: matrix.python-version == '3.13t'
131131
with:
132-
python-version: '3.13'
133-
nogil: true
132+
python-version: ${{ matrix.python-version }}
133+
allow-prereleases: true
134134

135135
- name: Install OS dependencies
136136
run: |
@@ -177,11 +177,6 @@ jobs:
177177
texlive-luatex \
178178
texlive-pictures \
179179
texlive-xetex
180-
if [[ "${{ matrix.python-version }}" = '3.13t' ]]; then
181-
# TODO: Remove this once setup-python supports nogil distributions.
182-
sudo apt-get install -yy --no-install-recommends \
183-
python3.13-tk-nogil
184-
fi
185180
if [[ "${{ matrix.os }}" = ubuntu-20.04 ]]; then
186181
sudo apt-get install -yy --no-install-recommends libopengl0
187182
else # ubuntu-22.04
@@ -245,15 +240,6 @@ jobs:
245240
4-${{ runner.os }}-py${{ matrix.python-version }}-mpl-${{ github.ref }}-
246241
4-${{ runner.os }}-py${{ matrix.python-version }}-mpl-
247242
248-
- name: Install the nightly dependencies
249-
if: matrix.python-version == '3.13t'
250-
run: |
251-
python -m pip install pytz tzdata python-dateutil # Must be installed for Pandas.
252-
python -m pip install \
253-
--pre \
254-
--index-url https://pypi.anaconda.org/scientific-python-nightly-wheels/simple \
255-
--upgrade --only-binary=:all: numpy pandas pillow contourpy
256-
257243
- name: Install Python dependencies
258244
run: |
259245
# Upgrade pip and setuptools and wheel to get as clean an install as

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy