Skip to content

Commit 63c7705

Browse files
h-g-sCopilot
andcommitted
Bump minimum Python to 3.10; fix gurobipy version constraint
- Drop Python 3.8 and 3.9: gurobipy has no arm64 wheel for 3.8, and both are EOL. Minimum is now 3.10. - Fix gurobipy extra: was capped at <13 but current release is 13.x; changed to >=10 with no upper bound. - Simplify numpy extra: remove 3.8-specific pin (numpy==1.24.*). - Update CI matrix and classifiers accordingly. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
1 parent 8d2a3c3 commit 63c7705

File tree

2 files changed

+4
-7
lines changed

2 files changed

+4
-7
lines changed

.github/workflows/github-ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ jobs:
3939
strategy:
4040
fail-fast: false
4141
matrix:
42-
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12", "3.13", "pypy3.11"]
42+
python-version: ["3.10", "3.11", "3.12", "3.13", "pypy3.11"]
4343
os: [macos-15, ubuntu-24.04, ubuntu-24.04-arm, windows-2025]
4444

4545
steps:

pyproject.toml

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ build-backend = "setuptools.build_meta"
66
name = "mip"
77
description = "Python tools for Modeling and Solving Mixed-Integer Linear Programs (MIPs)"
88
readme = "README.md"
9-
requires-python = ">=3.8"
9+
requires-python = ">=3.10"
1010
license = {file = "LICENSE"}
1111
authors = [
1212
{name="Tulio A.M. Toffolo", email="tulio@toffolo.com.br"},
@@ -24,8 +24,6 @@ classifiers = [
2424
"Operating System :: POSIX :: Linux",
2525
"Operating System :: MacOS",
2626
"Operating System :: Microsoft :: Windows",
27-
"Programming Language :: Python :: 3.8",
28-
"Programming Language :: Python :: 3.9",
2927
"Programming Language :: Python :: 3.10",
3028
"Programming Language :: Python :: 3.11",
3129
"Programming Language :: Python :: 3.12",
@@ -40,10 +38,9 @@ dependencies = ["cffi>=1.15", "cbcbox>=2.901"]
4038

4139
[project.optional-dependencies]
4240
numpy = [
43-
"numpy>=1.25,<3; python_version>='3.9'",
44-
"numpy==1.24.*; python_version=='3.8'",
41+
"numpy>=1.25,<3",
4542
]
46-
gurobi = ["gurobipy>=8,<13"]
43+
gurobi = ["gurobipy>=10"]
4744
highs = ["highsbox>=1.10.0,<2"]
4845
test = [
4946
"pytest>=7.4,<9",

0 commit comments

Comments
 (0)