Skip to content

Commit b4dab3a

Browse files
committed
Test Python 3.11-dev
1 parent 2613429 commit b4dab3a

File tree

5 files changed

+14
-6
lines changed

5 files changed

+14
-6
lines changed

.ci/install.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,8 @@ python3 -m pip install -U pytest-cov
3232
python3 -m pip install -U pytest-timeout
3333
python3 -m pip install pyroma
3434
python3 -m pip install test-image-results
35-
python3 -m pip install numpy
35+
# TODO Remove condition when NumPy supports 3.11
36+
if ! [ "$GHA_PYTHON_VERSION" == "3.11-dev" ]; then python3 -m pip install numpy ; fi
3637

3738
# PyQt6 doesn't support PyPy3
3839
if [[ $GHA_PYTHON_VERSION == 3.* ]]; then

.github/workflows/macos-install.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,8 @@ python3 -m pip install pyroma
1515
python3 -m pip install test-image-results
1616

1717
echo -e "[openblas]\nlibraries = openblas\nlibrary_dirs = /usr/local/opt/openblas/lib" >> ~/.numpy-site.cfg
18-
python3 -m pip install numpy
18+
# TODO Remove condition when NumPy supports 3.11
19+
if ! [ "$GHA_PYTHON_VERSION" == "3.11-dev" ]; then python3 -m pip install numpy ; fi
1920

2021
# extra test images
2122
pushd depends && ./install_extra_test_images.sh && popd

.github/workflows/test-windows.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ jobs:
88
strategy:
99
fail-fast: false
1010
matrix:
11-
python-version: ["3.7", "3.8", "3.9", "3.10"]
11+
python-version: ["3.7", "3.8", "3.9", "3.10", "3.11-dev"]
1212
architecture: ["x86", "x64"]
1313
include:
1414
# PyPy 7.3.4+ only ships 64-bit binaries for Windows

.github/workflows/test.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ jobs:
1515
python-version: [
1616
"pypy-3.8",
1717
"pypy-3.7",
18+
"3.11-dev",
1819
"3.10",
1920
"3.9",
2021
"3.8",
@@ -59,6 +60,8 @@ jobs:
5960
if: startsWith(matrix.os, 'macOS')
6061
run: |
6162
.github/workflows/macos-install.sh
63+
env:
64+
GHA_PYTHON_VERSION: ${{ matrix.python-version }}
6265

6366
- name: Build
6467
run: |

docs/installation.rst

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -465,11 +465,13 @@ These platforms are built and tested for every change.
465465
+----------------------------------+----------------------------+---------------------+
466466
| Gentoo | 3.9 | x86-64 |
467467
+----------------------------------+----------------------------+---------------------+
468-
| macOS 10.15 Catalina | 3.7, 3.8, 3.9, 3.10, PyPy3 | x86-64 |
468+
| macOS 11 Big Sur | 3.7, 3.8, 3.9, 3.10, 3.11 | x86-64 |
469+
| | PyPy3 | |
469470
+----------------------------------+----------------------------+---------------------+
470471
| Ubuntu Linux 18.04 LTS (Bionic) | 3.9 | x86-64 |
471472
+----------------------------------+----------------------------+---------------------+
472-
| Ubuntu Linux 20.04 LTS (Focal) | 3.7, 3.8, 3.9, 3.10, PyPy3 | x86-64 |
473+
| Ubuntu Linux 20.04 LTS (Focal) | 3.7, 3.8, 3.9, 3.10, 3.11 | x86-64 |
474+
| | PyPy3 | |
473475
| +----------------------------+---------------------+
474476
| | 3.8 | arm64v8, ppc64le, |
475477
| | | s390x |
@@ -478,7 +480,8 @@ These platforms are built and tested for every change.
478480
+----------------------------------+----------------------------+---------------------+
479481
| Windows Server 2016 | 3.7 | x86-64 |
480482
+----------------------------------+----------------------------+---------------------+
481-
| Windows Server 2019 | 3.7, 3.8, 3.9, 3.10, PyPy3 | x86, x86-64 |
483+
| Windows Server 2022 | 3.7, 3.8, 3.9, 3.10, 3.11 | x86, x86-64 |
484+
| | PyPy3 | |
482485
| +----------------------------+---------------------+
483486
| | 3.9/MinGW | x86, x86-64 |
484487
+----------------------------------+----------------------------+---------------------+

0 commit comments

Comments
 (0)