Enable Python 3.11 testing on Linux

This commit is contained in:
James R. Barlow
2022-09-21 00:59:44 -07:00
parent 88831e8ab1
commit 36dfd12e2c
2 changed files with 10 additions and 6 deletions
+9 -5
View File
@@ -30,6 +30,10 @@ jobs:
python: "3.10" python: "3.10"
- os: ubuntu-latest - os: ubuntu-latest
python: "3.9" python: "3.9"
- os: ubuntu-latest
python: "3.10"
- os: ubuntu-latest
python: "3.11.0-rc.2 - 3.11.0"
- os: ubuntu-latest - os: ubuntu-latest
python: "pypy3.8" python: "pypy3.8"
- os: ubuntu-latest - os: ubuntu-latest
@@ -92,7 +96,7 @@ jobs:
- name: Install Python packages - name: Install Python packages
run: | run: |
python -m pip install --upgrade pip wheel python -m pip install --upgrade pip wheel
python -m pip install .[test] python -m pip install --prefer-binary .[test]
- name: Report versions - name: Report versions
run: | run: |
@@ -118,7 +122,7 @@ jobs:
strategy: strategy:
matrix: matrix:
os: [macos-latest] os: [macos-latest]
python: ["3.9", "3.10"] python: ["3.9", "3.10"] # 2022-09-20: pikepdf/lxml not available for cp311
env: env:
OS: ${{ matrix.os }} OS: ${{ matrix.os }}
@@ -148,7 +152,7 @@ jobs:
- name: Install Python packages - name: Install Python packages
run: | run: |
python -m pip install --upgrade pip wheel python -m pip install --upgrade pip wheel
python -m pip install .[test] python -m pip install --prefer-binary .[test]
- name: Report versions - name: Report versions
run: | run: |
@@ -173,7 +177,7 @@ jobs:
strategy: strategy:
matrix: matrix:
os: [windows-latest] os: [windows-latest]
python: ["3.9", "3.10"] python: ["3.9", "3.10"] # 2022-09-20: pikepdf/lxml not available for cp311
env: env:
OS: ${{ matrix.os }} OS: ${{ matrix.os }}
@@ -197,7 +201,7 @@ jobs:
- name: Install Python packages - name: Install Python packages
run: | run: |
python -m pip install --upgrade pip wheel python -m pip install --upgrade pip wheel
python -m pip install .[test] python -m pip install --prefer-binary .[test]
- name: Test - name: Test
run: | run: |
+1 -1
View File
@@ -22,7 +22,7 @@ dependencies = [
"img2pdf>=0.3.0", # pure Python "img2pdf>=0.3.0", # pure Python
"packaging>=20", "packaging>=20",
"pdfminer.six!=20200720,>=20191110", "pdfminer.six!=20200720,>=20191110",
"pikepdf!=5.0.0,>=4.0.0", "pikepdf>=5.0.1",
"pluggy>=0.13.0", "pluggy>=0.13.0",
"reportlab>=3.5.66", "reportlab>=3.5.66",
"tqdm>=4", "tqdm>=4",