Skip to content

Run CI on Python 3.14 - #1408

Merged
AtsushiSakai merged 4 commits into
AtsushiSakai:masterfrom
yasumorishima:support-python-3.14
Oct 4, 2026
Merged

AtsushiSakai merged 4 commits into
AtsushiSakai:masterfrom
yasumorishima:support-python-3.14

Conversation

@yasumorishima

@yasumorishima yasumorishima commented Aug 10, 2026 •

Copy link
Copy Markdown
Contributor

Closes #1291.

The Linux, macOS and Windows workflows all pin the matrix to '3.13', so nothing in the repository reported whether the project runs on 3.14. This moves all three to '3.14' (3.13 was dropped at review), and changes nothing else.

Result

No dependency bump or source change is needed. With requirements/requirements.txt untouched — numpy 2.3.5, scipy 1.17.1, matplotlib 3.11.0, cvxpy 1.8.1, ecos 2.0.14 — the full suite passes on 3.14:

OS Python 3.13 Python 3.14
Linux pass pass
macOS pass pass
Windows pass pass

Measured on a fork of this repository at this commit, running runtests.sh unchanged.

I expected ecos to be the blocker, since it is a C extension and the most likely one to lack a 3.14 wheel, which would have failed the install step rather than a test. That did not happen — it installs and the suite passes, so the answer to #1291 turns out to be simply that the matrix had not been asked the question yet.

Adds 3.14 to the matrix of the Linux, macOS and Windows workflows so the
suite actually reports whether the project runs on it, rather than the
question staying open.
Adds 3.14 to the matrix of the Linux, macOS and Windows workflows so the
suite actually reports whether the project runs on it, rather than the
question staying open.
Adds 3.14 to the matrix of the Linux, macOS and Windows workflows so the
suite actually reports whether the project runs on it, rather than the
question staying open.
Comment thread .github/workflows/Linux_CI.yml Outdated
strategy:
matrix:
python-version: [ '3.13' ]
python-version: [ '3.13', '3.14' ]

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

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

Can we remove 3.13?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Done, the three workflows now run on 3.14 only. README, ruff.toml, the CircleCI image and environment.yml still say 3.13; happy to move those to 3.14 in this PR too if you'd like.

@yasumorishima yasumorishima changed the title Run CI on Python 3.14 as well as 3.13 Run CI on Python 3.14 Sep 30, 2026
@AtsushiSakai
AtsushiSakai merged commit 80d039f into AtsushiSakai:master Oct 4, 2026
7 checks passed
@AtsushiSakai

Copy link
Copy Markdown
Owner

Thanks!!

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.

Support python 3.14

2 participants