linkchecker/tox.ini
Chris Mayo 46c5712baf 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.
2022-12-05 19:22:35 +00:00

34 lines
634 B
INI

[tox]
envlist = py3{7,8,9,10,11}, minreqs
[base]
deps =
pyftpdlib
parameterized
pyopenssl
pytest-xdist
pytest-cov
miniboa >= 1.0.8
GeoIP
[testenv]
usedevelop = true
deps =
!minreqs: -rrequirements.txt
minreqs: -rrequirements-min.txt
{[base]deps}
commands =
!minreqs: pytest {posargs:--cov=linkcheck}
minreqs: pytest {posargs:--cov=linkcheck -c pytest-minreqs.ini}
setenv =
LC_ALL=en_US.utf-8
[testenv:flake8]
deps = flake8
skip_install = true
commands = flake8 {posargs}
[testenv:yamllint]
deps = yamllint
skip_install = true
commands = yamllint {posargs} -s .github/workflows/