1
0
mirror of https://github.com/webrecorder/pywb.git synced 2025-03-14 15:53:28 +01:00
pywb/tox.ini
Ed Summers b4955cca66
Upgrade dependencies (#839)
- Update and pin dependencies to specific versions that support Python 3.7-3.11
- Replace deprecated werkzeug.pop_path_info with wsgiref.shift_path_info
- Use the latest httpbin from psf/httpbin
- Remove unused flask test dependency
- Drop Python 2 and Python <3.7 support
- Ensure greenlet 2 is used for now, as psf/httpbin doesn't yet work with greenlet 3

---------

Co-authored-by: Tessa Walsh <tessa@bitarchivist.net>
2024-04-02 17:16:50 -04:00

28 lines
498 B
INI

[pytest]
#addopts = --cov pywb -vv --doctest-modules pywb --cov-report=xml --cov-report=term
testpaths =
tests
[tox]
envlist = py37, py38, py39, py310, py311
[gh-actions]
python =
3.7: py37
3.8: py38
3.9: py39
3.10: py310
3.11: py311
[testenv]
setenv = PYWB_NO_VERIFY_SSL = 1
passenv = *
deps =
-rtest_requirements.txt
-rrequirements.txt
-rextra_requirements.txt
commands =
pytest --cov-config .coveragerc --cov pywb -v --doctest-modules ./pywb/ tests/