Skip to content

Run PR validation on Python 3.12, 3.13, and 3.14 - #49

Closed
kyleniemeyer wants to merge 1 commit into
pr-omethe-us:mainfrom
kyleniemeyer:ci/python-3.12-plus
Closed

kyleniemeyer wants to merge 1 commit into
pr-omethe-us:mainfrom
kyleniemeyer:ci/python-3.12-plus

Conversation

@kyleniemeyer

Copy link
Copy Markdown
Member

The PR validation workflow (validate-contribution.yml) was pinned to Python 3.11. This PR runs its Python jobs on 3.12, 3.13, and 3.14 instead.

Changes

  • PyKED Schema Validation, ORCID Metadata Check, and PyTeCK Simulation Validation now each run as a matrix over Python 3.12, 3.13, and 3.14. Each job name ends with its version, for example PyKED Schema Validation (Python 3.13).
  • fail-fast: false is set, so when one version fails, the other versions still finish and show their results.
  • Validation Summary is unchanged. It still fails the run if any version of the PyKED or ORCID job fails.
  • The protect-main ruleset has no required status checks, so the new job names don't affect merging.

All dependencies support these versions: PyKED main (requires-python >=3.10, with classifiers up to 3.14), PyTeCK 0.2.6, and Cantera 3.2.0 and RDKit both publish cp312–cp314 wheels.

Testing

On Python 3.14, I installed PyKED from main and ran scripts/validate_chemked.py and scripts/check_orcid.py on a sample of 41 data files:

  • PyKED: 36 passed and 5 failed. The 5 failures are existing data problems: reference metadata that doesn't match the DOI lookup, and one file whose equivalence-ratio has the wrong type. Under Python 3.11, the same 5 files fail with identical errors, so the Python version doesn't cause them.
  • ORCID check: no failures (5 passed, 36 warnings).

This PR changes only a file under .github/, which detect-changes filters out. As a result, the matrix jobs are skipped on this PR, and they will first run on the next PR that changes a data file.

🤖 Generated with Claude Code

Replace the pinned Python 3.11 in the PyKED, ORCID, and PyTeCK jobs
with a matrix over 3.12, 3.13, and 3.14. fail-fast is off so one
version's failure does not cancel the others. Validation Summary still
fails the run if any version of a gating job fails.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@kyleniemeyer
kyleniemeyer deleted the ci/python-3.12-plus branch November 13, 2026 19:14
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.

1 participant