Skip to content

Add Python 3.14 as a supported version#3749

Merged
blnicho merged 12 commits intoPyomo:mainfrom
jsiirola:python3.14
Oct 14, 2025
Merged

Add Python 3.14 as a supported version#3749
blnicho merged 12 commits intoPyomo:mainfrom
jsiirola:python3.14

Conversation

@jsiirola
Copy link
Copy Markdown
Member

@jsiirola jsiirola commented Oct 14, 2025

Fixes #3729

Summary/Motivation:

This adds Python 3.14 as a supported Python version. In addition to updating documentation, this PR needed to make a couple additional changes to the build system and codebase.

Changes proposed in this PR:

  • Add Python 3.14 as a supported cinterpreter
  • Update 3 tests to track changes in exception messages in Python 3.14
  • Update pyproject.toml to core metadata 2.4 for compatibility with newer setuptools (under Python 3.14)
  • Remove build system hacks to work around 3.13.5 on Windows.
  • Remove linear-tree as a dependency on Python 3.14 so that we can remove the scikit-learn version pin for that interpreter (because older versions are not available for Python 3.14)
  • Ensure that we always downgrade setuptools on Windows to work around bug in the APPSI build harness.

Legal Acknowledgement

By contributing to this software project, I have read the contribution guide and agree to the following terms and conditions for my contribution:

  1. I agree my contributions are submitted under the BSD license.
  2. I represent I am authorized to make the contributions and grant the license. If my employer has rights to intellectual property that includes these contributions, I represent that I have received permission to make contributions and grant the required license on behalf of that employer.

@jsiirola jsiirola requested a review from mrmundt October 14, 2025 07:14
Copy link
Copy Markdown
Contributor

@mrmundt mrmundt left a comment

Choose a reason for hiding this comment

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

I love updated code... Especially the removal of old stuff

@blnicho blnicho linked an issue Oct 14, 2025 that may be closed by this pull request
@mrmundt
Copy link
Copy Markdown
Contributor

mrmundt commented Oct 14, 2025

Jenkins failures were related to #3750 - there are no other errors in Jenkins, so this is good to go.

@blnicho blnicho merged commit 12115ff into Pyomo:main Oct 14, 2025
60 of 71 checks passed
@github-project-automation github-project-automation bot moved this from Todo to Done in Pyomo 6.9.5 Release Oct 14, 2025
@jsiirola jsiirola deleted the python3.14 branch October 14, 2025 18:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

No open projects

Development

Successfully merging this pull request may close these issues.

Temporary pin on GHA/win to 3.13.5

3 participants