Skip to content

Commit

Permalink
Add pdfminer.six to minimum version testing
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
cjmayo committed Dec 3, 2022
1 parent 6b41ad0 commit 76aedef
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
1 change: 1 addition & 0 deletions requirements-min.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,4 @@ requests == 2.20.0
dnspython == 2.0.0
# optional:
argcomplete == 1.8.1
pdfminer.six == 20181108
1 change: 1 addition & 0 deletions requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,4 @@ requests >= 2.20
dnspython >= 2.0
# optional:
argcomplete >= 1.8.1
pdfminer.six >= 20181108
1 change: 0 additions & 1 deletion tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ envlist = py3{7,8,9,10,11}, minreqs
deps =
pyftpdlib
parameterized
pdfminer.six
pyopenssl
pytest-xdist
pytest-cov
Expand Down

0 comments on commit 76aedef

Please sign in to comment.