Skip to content

chore: drop Python 3.9 support, raise minimum to 3.10 - #306

Merged
phanak-sap merged 1 commit into
masterfrom
drop39
Jul 8, 2026
Merged

phanak-sap merged 1 commit into
masterfrom
drop39

Conversation

@phanak-sap

Copy link
Copy Markdown
Contributor
  • Remove 3.9 from CI matrix; drop lxml 4.3.5/4.4.3/4.5.2 (3.9-only) and their now-redundant 3.10 excludes
  • Add python_requires='>=3.10' to setup.py; remove 3.9 classifier
  • Update README requirement from 3.9 to 3.10
  • Add CHANGELOG Removed entry for 3.9 drop
  • Replace deprecated typing.ByteString with bytes in test_vendor_sap.py

- Remove 3.9 from CI matrix; drop lxml 4.3.5/4.4.3/4.5.2 (3.9-only) and their now-redundant 3.10 excludes
- Add python_requires='>=3.10' to setup.py; remove 3.9 classifier
- Update README requirement from 3.9 to 3.10
- Add CHANGELOG Removed entry for 3.9 drop
- Replace deprecated typing.ByteString with bytes in test_vendor_sap.py
@phanak-sap

Copy link
Copy Markdown
Contributor Author

this one closes #301

@phanak-sap
phanak-sap requested a review from filak-sap July 6, 2026 20:41
@phanak-sap
phanak-sap merged commit c40f3f9 into master Jul 8, 2026
41 checks passed
@phanak-sap
phanak-sap deleted the drop39 branch July 8, 2026 20:09
filak-sap pushed a commit that referenced this pull request Sep 22, 2026
Python 3.10 is the minimum since #306, so the two-argument form of
super() that Python 2 needed is noise in every subclass initializer.
Replace all 41 occurrences in exceptions.py, v2/model.py, v2/service.py
and vendor/SAP.py with the zero-argument form.

Each replacement was checked against the enclosing class: the name
passed to super() was the class being defined in every case, so no call
was deliberately skipping a level of the MRO and behaviour is unchanged.
The one continuation line that no longer lined up with its opening
parenthesis was re-indented. No test is added because no behaviour
changes; the existing suite covers every touched initializer.

Part of #302.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants