Repository navigation
Drop Python < 3.11, add dependency lower bounds and a min tox env - #24
Conversation
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## master #24 +/- ##
=======================================
Coverage 94.28% 94.28%
=======================================
Files 2 2
Lines 105 105
Branches 19 19
=======================================
Hits 99 99
Misses 4 4
Partials 2 2 🚀 New features to boost your workflow:
|
| TOXENV: py39-parsel | ||
| - python-version: "3.9" | ||
| env: | ||
| TOXENV: pinned |
There was a problem hiding this comment.
Let’s call it min, I think that’s what we are calling it in most repos.
|
If you feel like it, this may be a nice opportunity to drop Python < 3.11, and support up to 3.15. And upgrading the CI tools as well, which should address the twinecheck issue. |
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Sure @AdrianAtZyte , Should I do it in same PR? |
Yes, I think that would be simpler. |
The lowest supported Python is now 3.11, so the min env uses lxml 4.9.1, the first release with Python 3.11 wheels. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
|
Done in the same PR as suggested: Python < 3.11 dropped, 3.15 added, CI tools updated (this also fixes |
requires-python = ">=3.11") and adds Python 3.15.pyproject.toml:lxml>=4.9.1andlxml-html-clean>=0.1.0.mintox env that installs exactly those minimums on Python 3.11 (the lowest supported), plus a matching CI job. lxml 4.9.1 is the first release with Python 3.11 wheels, and the full suite passes with it and lxml-html-clean 0.1.0.twinecheckfailure (twine 6.2.0 rejects the metadata version 2.5 that current hatchling emits).strict=Trueto azip()in the tests, which the newer ruff flags now that Python 3.10+ is the floor.lxml.html.cleanonly moved to the separatelxml-html-cleanpackage in lxml 5.2; older lxml versions still ship it themselves, so the minimum pair works either way.🤖 Generated with Claude Code