From 36dfd12e2c9f4efec35dc44445ec943c8c2da1aa Mon Sep 17 00:00:00 2001 From: "James R. Barlow" Date: Tue, 20 Sep 2022 22:46:22 -0700 Subject: [PATCH] Enable Python 3.11 testing on Linux --- .github/workflows/build.yml | 14 +++++++++----- pyproject.toml | 2 +- 2 files changed, 10 insertions(+), 6 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index f9a15f41..824b7ef5 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -30,6 +30,10 @@ jobs: python: "3.10" - os: ubuntu-latest python: "3.9" + - os: ubuntu-latest + python: "3.10" + - os: ubuntu-latest + python: "3.11.0-rc.2 - 3.11.0" - os: ubuntu-latest python: "pypy3.8" - os: ubuntu-latest @@ -92,7 +96,7 @@ jobs: - name: Install Python packages run: | python -m pip install --upgrade pip wheel - python -m pip install .[test] + python -m pip install --prefer-binary .[test] - name: Report versions run: | @@ -118,7 +122,7 @@ jobs: strategy: matrix: os: [macos-latest] - python: ["3.9", "3.10"] + python: ["3.9", "3.10"] # 2022-09-20: pikepdf/lxml not available for cp311 env: OS: ${{ matrix.os }} @@ -148,7 +152,7 @@ jobs: - name: Install Python packages run: | python -m pip install --upgrade pip wheel - python -m pip install .[test] + python -m pip install --prefer-binary .[test] - name: Report versions run: | @@ -173,7 +177,7 @@ jobs: strategy: matrix: os: [windows-latest] - python: ["3.9", "3.10"] + python: ["3.9", "3.10"] # 2022-09-20: pikepdf/lxml not available for cp311 env: OS: ${{ matrix.os }} @@ -197,7 +201,7 @@ jobs: - name: Install Python packages run: | python -m pip install --upgrade pip wheel - python -m pip install .[test] + python -m pip install --prefer-binary .[test] - name: Test run: | diff --git a/pyproject.toml b/pyproject.toml index 24ab6659..ce072676 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -22,7 +22,7 @@ dependencies = [ "img2pdf>=0.3.0", # pure Python "packaging>=20", "pdfminer.six!=20200720,>=20191110", - "pikepdf!=5.0.0,>=4.0.0", + "pikepdf>=5.0.1", "pluggy>=0.13.0", "reportlab>=3.5.66", "tqdm>=4",