Skip to content

run test and docs CI on 3.14#595

Open
molpopgen wants to merge 2 commits intomainfrom
test_314
Open

run test and docs CI on 3.14#595
molpopgen wants to merge 2 commits intomainfrom
test_314

Conversation

@molpopgen
Copy link
Collaborator

@molpopgen molpopgen commented Mar 24, 2026

This PR adds doc and test CI for 3.14.
Adding 3.14 required bumping some dependencies.
Unfortunately, we now have to pin ipython<9 or fix markup in the manual here and in demes-spec. (This is ultimately part of the root of #592.) I am kicking that can down the road for now.

Ideally, we'd be testing 3.10 and 3.14 here instead of 3.12 and 3.14. I have confirmed locally that the docs build with 3.14 and the uv.lock in this PR.

@codecov
Copy link

codecov bot commented Mar 24, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 99.81%. Comparing base (1689034) to head (166c1fa).

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #595   +/-   ##
=======================================
  Coverage   99.81%   99.81%           
=======================================
  Files           5        5           
  Lines        1600     1600           
=======================================
  Hits         1597     1597           
  Misses          3        3           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

* run tests and docs CI on 3.14
* Minimial changes to pinnings that require minimal code/markup changes
@molpopgen molpopgen marked this pull request as ready for review March 24, 2026 17:30
@molpopgen molpopgen requested a review from grahamgower March 24, 2026 17:30
Comment on lines +13 to +15
strategy:
matrix:
python-version: ["3.12", "3.14"]
Copy link
Member

@grahamgower grahamgower Mar 24, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This will trigger the docs to be deployed multiple times. If you really want to test building on multiple python versions, then the docs build job will need to be separate from the deploy job.

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I disabled 3.12 here. Ideally we'd test on more versions but that is more important for the actual test suite. Realistically anyone contributing a PR will be working on 3.13 or later.

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.

2 participants