Skip to content

Commit

Permalink
Merge pull request #254 from facelessuser/chore/py311
Browse files Browse the repository at this point in the history
Remove old PY2 requirements and and adjust test requirements for 3.11
  • Loading branch information
facelessuser authored Nov 5, 2022
2 parents 416eb5d + aa90fab commit f38a93a
Show file tree
Hide file tree
Showing 5 changed files with 21 additions and 9 deletions.
11 changes: 7 additions & 4 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,19 +27,22 @@ jobs:
continue-on-error: false
- tox-env: py39
python-version: 3.9
continue-on-error: true
continue-on-error: false
- tox-env: py310
python-version: '3.10'
continue-on-error: true
continue-on-error: false
- tox-env: py311
python-version: '3.11'
continue-on-error: true
continue-on-error: false
- tox-env: nolxml
python-version: '3.11'
continue-on-error: false
- tox-env: nohtml5lib
python-version: '3.11'
python-version: '3.10'
continue-on-error: false
exclude:
- platform: windows-latest
tox-env: py311

env:
TOXENV: ${{ matrix.tox-env }}
Expand Down
1 change: 0 additions & 1 deletion requirements/project.txt
Original file line number Diff line number Diff line change
@@ -1 +0,0 @@
backports.functools_lru_cache ; python_version < '3'
6 changes: 6 additions & 0 deletions requirements/tests-nohtml5lib.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
pytest
pytest-cov
coverage
lxml
beautifulsoup4
mypy
6 changes: 6 additions & 0 deletions requirements/tests-nolxml.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
pytest
pytest-cov
coverage
html5lib
beautifulsoup4
mypy
6 changes: 2 additions & 4 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -35,17 +35,15 @@ commands =
[testenv:nolxml]
passenv = *
deps =
-rrequirements/tests.txt
-rrequirements/tests-nolxml.txt
commands =
pip uninstall -y lxml
pytest {toxinidir}

[testenv:nohtml5lib]
passenv = *
deps =
-rrequirements/tests.txt
-rrequirements/tests-nohtml5lib.txt
commands =
pip uninstall -y html5lib
pytest {toxinidir}

[flake8]
Expand Down

0 comments on commit f38a93a

Please sign in to comment.