Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Merged
merged 10 commits into from
Jan 7, 2025

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
@@ -11,7 +11,7 @@ jobs:
fail-fast: false
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:

@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