Skip to content

Enable Python 3.13 and make tests more resilient to lacking cplex/gurobi wheels#276

Merged
cdiener merged 10 commits intomasterfrom
feature/additional_solvers
Jan 7, 2025
Merged

Enable Python 3.13 and make tests more resilient to lacking cplex/gurobi wheels#276
cdiener merged 10 commits intomasterfrom
feature/additional_solvers

Conversation

@cdiener
Copy link
Member

@cdiener cdiener commented Nov 26, 2024

  • description of feature/fix
  • tests added/passed
  • add an entry to the next release

This updates the CI/CD to newer Python versions and limits the CPLEX, Gurobi, and MIP tests to those python versions that support them.

@cdiener cdiener force-pushed the feature/additional_solvers branch from 29b800a to 5efeb03 Compare November 26, 2024 07:44
@cdiener cdiener added the ready label Dec 2, 2024
matrix:
os: [ubuntu-latest, macos-13, windows-latest]
python-version: ["3.8", "3.11"]
python-version: ["3.9", "3.11", "3.13"]
Copy link
Member

Choose a reason for hiding this comment

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

Lowest and highest version is good enough in my opinion.

Suggested change
python-version: ["3.9", "3.11", "3.13"]
python-version: ["3.9", "3.13"]

Copy link
Member Author

Choose a reason for hiding this comment

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

I had 3.11 because it is the latest version that supports all solvers. But it would work with 3.9 but 3.11 pulls in much newer dependencies and I thought it might be good to test this.

Copy link
Member

Choose a reason for hiding this comment

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

Okay, that makes sense :slight_smile:

Co-authored-by: Moritz E. Beber <midnighter@posteo.net>
@cdiener cdiener merged commit 0097ef4 into master Jan 7, 2025
9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants