From 46c5712baff479de2a8cc010798712cae8c53ca1 Mon Sep 17 00:00:00 2001 From: Chris Mayo Date: Mon, 5 Dec 2022 19:22:35 +0000 Subject: [PATCH] Add pdfminer.six to minimum version testing 20181108 is the version used by the current Debian oldstable. Ubuntu 20.04 LTS has 20191020. pdfminer installs cryptography, >= 38 breaks pyOpenSSL < 22 as found in Ubuntu 20.04 LTS. Update docs job to use ubuntu-22.04 to avoid failures. --- .github/workflows/build.yml | 2 +- requirements-min.txt | 1 + requirements.txt | 1 + tox.ini | 1 - 4 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index dd453758..f8a22da3 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -84,7 +84,7 @@ jobs: # there's some overlap with publish-pages.yml, but this one runs on pull # requests, doesn't publish, and runs more doc checks name: docs - runs-on: ubuntu-latest + runs-on: ubuntu-22.04 steps: - name: Git clone diff --git a/requirements-min.txt b/requirements-min.txt index c46475b6..5cf3e824 100644 --- a/requirements-min.txt +++ b/requirements-min.txt @@ -4,3 +4,4 @@ requests == 2.20.0 dnspython == 2.0.0 # optional: argcomplete == 1.8.1 +pdfminer.six == 20181108 diff --git a/requirements.txt b/requirements.txt index 9e70249d..c869cc03 100644 --- a/requirements.txt +++ b/requirements.txt @@ -4,3 +4,4 @@ requests >= 2.20 dnspython >= 2.0 # optional: argcomplete >= 1.8.1 +pdfminer.six >= 20181108 diff --git a/tox.ini b/tox.ini index c4a414a9..eff1a51c 100644 --- a/tox.ini +++ b/tox.ini @@ -5,7 +5,6 @@ envlist = py3{7,8,9,10,11}, minreqs deps = pyftpdlib parameterized - pdfminer.six pyopenssl pytest-xdist pytest-cov