Skip to content

ci: move to supported Python versions - #28

Merged
otavio merged 1 commit into
masterfrom
topic/fix-ci
Nov 24, 2026
Merged

otavio merged 1 commit into
masterfrom
topic/fix-ci

Conversation

@mdrodrigo

Copy link
Copy Markdown
Contributor

The ubuntu-latest runner no longer provides Python 3.5-3.8, so the Setup Python step failed. Test on Python 3.11-3.14 and update the GitHub actions to versions running on a supported Node.js.

Getting CI green on modern Python also requires:

  • tox: drop the old pytest and pytest-pep8 pins, which do not work on current Python, and run pycodestyle as a separate command.
  • schema tests: jsonschema 4 removed jsonschema.compat, so import urlopen/urlsplit from urllib instead. Load JSON as a plain dict (ordered since Python 3.7) because the OrderedDict repr changed in Python 3.12, and update the expected messages to the current jsonschema wording.

The ubuntu-latest runner no longer provides Python 3.5-3.8, so the
Setup Python step failed. Test on Python 3.11-3.14 and update the
GitHub actions to versions running on a supported Node.js.

Getting CI green on modern Python also requires:

- tox: drop the old pytest and pytest-pep8 pins, which do not work on
  current Python, and run pycodestyle as a separate command.
- schema tests: jsonschema 4 removed jsonschema.compat, so import
  urlopen/urlsplit from urllib instead. Load JSON as a plain dict
  (ordered since Python 3.7) because the OrderedDict repr changed in
  Python 3.12, and update the expected messages to the current
  jsonschema wording.

Signed-off-by: Rodrigo M. Duarte <rodrigo.duarte@ossystems.tech>
@mdrodrigo
mdrodrigo requested a review from otavio November 24, 2026 12:37
@otavio
otavio merged commit da80581 into master Nov 24, 2026
4 checks passed
@otavio
otavio deleted the topic/fix-ci branch November 24, 2026 12:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants