Skip to content

fix: declare Python 3.10 as minimum version and expand CI matrix#17

Merged
RaulSMS merged 6 commits into
masterfrom
fix/python-version-compatibility
Jun 19, 2026
Merged

fix: declare Python 3.10 as minimum version and expand CI matrix#17
RaulSMS merged 6 commits into
masterfrom
fix/python-version-compatibility

Conversation

@RaulSMS

@RaulSMS RaulSMS commented Jun 18, 2026

Copy link
Copy Markdown
Owner

Fix: juergenH87#91 from https://github.com/j-c-cook

But considering 3.10 the latest supported version

Add python_requires=">=3.10" to setup.py to accurately reflect the use of structural pattern matching (PEP 622) and union type annotations (PEP 604) already present in the codebase. Expand CI to test against Python 3.10–3.13 on all platforms, add a ruff lint job to catch future syntax regressions, and document the requirement in the README.

Add python_requires=">=3.10" to setup.py to accurately reflect the use
of structural pattern matching (PEP 622) and union type annotations
(PEP 604) already present in the codebase. Expand CI to test against
Python 3.10–3.13 on all platforms, add a ruff lint job to catch future
syntax regressions, and document the requirement in the README.
RaulSMS added 2 commits June 18, 2026 17:00
ruff removed the E999 rule; use python -m compileall instead to check
for syntax errors against the installed Python version.
Replace the removed ruff E999 rule with vermin, which statically
detects the minimum Python version a codebase requires and fails if
any file uses syntax or stdlib features beyond the declared floor.
Also remove the ruff config from setup.cfg for now.
drewr95
drewr95 previously approved these changes Jun 18, 2026
Comment thread setup.cfg Outdated
khauersp
khauersp previously approved these changes Jun 18, 2026
RaulSMS added 2 commits June 19, 2026 10:17
…r_claim_fixed_reduced_time

The 100 ms margin (sleep 0.3 s after start(0.2)) was insufficient on
loaded macOS CI runners, causing a spurious failure. Switch to the same
poll-until-empty + hard deadline pattern used by the other address-claim
tests so the assertion fires as soon as the TX message is consumed.
@RaulSMS RaulSMS dismissed stale reviews from drewr95 and khauersp via e287d44 June 19, 2026 08:25
…le versions

Bump actions/checkout@v4 → v4.2.2 and actions/setup-python@v5 → v5.3.0,
both of which declare node24 as their runtime and silence the deprecation
warning introduced when GitHub runners defaulted to Node.js 24 in June 2026.

https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
@RaulSMS RaulSMS requested review from VKlueber and khauersp June 19, 2026 13:09
@RaulSMS RaulSMS merged commit 6229c71 into master Jun 19, 2026
16 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Python version compatibility

3 participants