Skip to content

Commit

Permalink
Don't test with lxml on PyPy or on Python >3.12. #341
Browse files Browse the repository at this point in the history
  • Loading branch information
lemon24 committed Jun 26, 2024
1 parent 6d12e9d commit 0941c43
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -107,11 +107,12 @@ tests = [
"pytest-cov",
"requests-mock",
# mechanicalsoup hard-depends on lxml (see below)
'mechanicalsoup; (implementation_name != "pypy" or python_version <= "3.9")',
'mechanicalsoup; (implementation_name != "pypy" and python_version <= "3.12")',
"requests-wsgi-adapter",
# we want to test search with all known bs4 parsers.
# lxml does not have a PyPy 3.10+ wheel.
'lxml; (implementation_name != "pypy" or python_version <= "3.9")',
# lxml usually does not have recent PyPy wheels.
# lxml usually does not have pre-relase CPython wheels.
'lxml; (implementation_name != "pypy" and python_version <= "3.12")',
"html5lib",
# for bench.py
'numpy; (implementation_name != "pypy" and os_name == "posix")',
Expand Down

0 comments on commit 0941c43

Please sign in to comment.