Add support for Python 3.15 - #169
Conversation
|
Thanks for the detailed write-up — and for the concrete repro, which makes the case better than the general argument does. The upper bound was a poorly chosen default, not a deliberate decision. It came in with #141 and I never revisited it. What convinced me is the version the resolver actually picks. On Python 3.15, The asymmetry settles it: if a future Python breaks the parser, CI fails and I cut a patch release — bounded and visible. With the cap in place, users get a silent downgrade at install time with no failure and no warning. So: the bound is going away entirely. requires-python = ">=3.9"Supported versions will be stated via trove classifiers, the CI matrix, and the README — which is the right place for a support contract, as you say. @kytta if you're happy to update #169, I'd merge it as:
Otherwise I'll do it myself on top of your branch. Either way the credit is yours — thanks for pushing on this. |
Also remove obsolete Python 3.8 test
Python 3.15.0 candidate 1 is out. "candidate" means that there will be no more ABI changes, and the API over all is now stable. It is now pretty much safe to test against and to specify support for it.
This PR adds Python 3.15 support to mail-parser:
pyproject.toml3.15in GitHub Actions3.14->3.15and3.15->3.16I have ran the tests locally, and all of them pass.
This PR also removes the upper bound on
requires-pythonand thus closes #170