Skip to content

Commit 4bd54bd

Browse files
DEV: Test against Python 3.13 (#2776)
* DEV: Test against Python 3.13 * fix typo * add missing setup-python * fix another typo * update Pillow version * attempt to update coverage package * update number of expected coverage files
1 parent d40fcc1 commit 4bd54bd

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

.github/workflows/github-ci.yaml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ jobs:
5757
runs-on: ubuntu-20.04
5858
strategy:
5959
matrix:
60-
python-version: ["3.7", "3.8", "3.9", "3.10", "3.11", "3.12"]
60+
python-version: ["3.7", "3.8", "3.9", "3.10", "3.11", "3.12", "3.13-dev"]
6161
use-crypto-lib: ["cryptography"]
6262
include:
6363
- python-version: "3.7"
@@ -90,7 +90,7 @@ jobs:
9090
cache-dependency-path: '**/requirements/ci.txt'
9191
- name: Setup Python (3.11+)
9292
uses: actions/setup-python@v5
93-
if: matrix.python-version == '3.11' || matrix.python-version == '3.12'
93+
if: matrix.python-version == '3.11' || matrix.python-version == '3.12' || matrix.python-version == '3.13-dev'
9494
with:
9595
python-version: ${{ matrix.python-version }}
9696
allow-prereleases: true
@@ -106,7 +106,7 @@ jobs:
106106
- name: Install requirements (Python 3.11+)
107107
run: |
108108
pip install -r requirements/ci-3.11.txt
109-
if: matrix.python-version == '3.11' || matrix.python-version == '3.12'
109+
if: matrix.python-version == '3.11' || matrix.python-version == '3.12' || matrix.python-version == '3.13-dev'
110110
- name: Remove pycryptodome and cryptography
111111
run: |
112112
pip uninstall pycryptodome cryptography -y
@@ -215,8 +215,8 @@ jobs:
215215
- name: Check Number of Downloaded Files
216216
run: |
217217
downloaded_files_count=$(find \.coverage* -type f | wc -l)
218-
if [ $downloaded_files_count -eq 8 ]; then
219-
echo "The expected number of files (8) were downloaded."
218+
if [ $downloaded_files_count -eq 9 ]; then
219+
echo "The expected number of files (9) were downloaded."
220220
else
221221
echo "ERROR: Expected 8 files, but found $downloaded_files_count files."
222222
exit 1

requirements/ci-3.11.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
#
77
attrs==23.1.0
88
# via flake8-bugbear
9-
coverage[toml]==7.3.0
9+
coverage[toml]==7.6.0
1010
# via
1111
# -r requirements/ci.in
1212
# pytest-cov
@@ -35,7 +35,7 @@ mypy-extensions==1.0.0
3535
# via mypy
3636
packaging==23.1
3737
# via pytest
38-
pillow==10.0.1
38+
pillow==10.4.0
3939
# via
4040
# -r requirements/ci.in
4141
# fpdf2

0 commit comments

Comments
 (0)