Skip to content

Commit 51d60bc

Browse files
authored
update to 3.12 (#361)
1 parent 0b47e61 commit 51d60bc

File tree

2 files changed

+6
-8
lines changed

2 files changed

+6
-8
lines changed

.github/workflows/github-ci.yml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515
- name: Set up Python
1616
uses: actions/setup-python@v4
1717
with:
18-
python-version: 3.7.14
18+
python-version: 3.11
1919

2020
- name: Upgrade pip
2121
run: python -m pip install --upgrade pip
@@ -40,7 +40,7 @@ jobs:
4040
fail-fast: false
4141
matrix:
4242
# temporarily downgraded to 3.7.9 and 3.8.10 due to a bug https://github.com/actions/setup-python/issues/402
43-
python-version: ["3.7.9", "3.8.10", "3.9.13", "3.10.9", "3.11.1", "pypy3.9-v7.3.9"]
43+
python-version: ["3.8.10", "3.9.13", "3.10.9", "3.11.1", "3.12.0", "pypy3.9-v7.3.9"]
4444
os: [macos-11, macos-12, ubuntu-20.04, ubuntu-22.04, windows-2019, windows-2022]
4545
exclude:
4646
# temporarily exclude pypy3 on mac-os as there failing tests caused by bug on cbc side
@@ -49,8 +49,6 @@ jobs:
4949
- os: macos-12
5050
python-version: "pypy3.9-v7.3.9"
5151
# several version (3.7.9 and 3.8.10) at not available at ubuntu-22.04
52-
- os: ubuntu-22.04
53-
python-version: "3.7.9"
5452
- os: ubuntu-22.04
5553
python-version: "3.8.10"
5654

pyproject.toml

Lines changed: 4 additions & 4 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.7,<3.12"
9+
requires-python = ">=3.8,<3.13"
1010
license = {file = "LICENSE"}
1111
authors = [
1212
{name="T.A.M. Toffolo", email="[email protected]"},
@@ -35,9 +35,9 @@ dynamic = ["version"]
3535
dependencies = ["cffi==1.15.*"]
3636

3737
[project.optional-dependencies]
38-
numpy = ["numpy==1.24.*; python_version >= '3.8'", "numpy==1.21.6; python_version == '3.7'"]
38+
numpy = ["numpy==1.24.*; python_version >= '3.8'", "numpy==1.21.6; python_version == '3.8'"]
3939
gurobi = ["gurobipy>=8"]
40-
test = ["pytest==7.2.0", "networkx==2.8.8; python_version >= '3.8'", "networkx==2.6.3; python_version == '3.7'", "matplotlib==3.6.2; python_version >= '3.8'", "matplotlib==3.5.3; python_version == '3.7'"]
40+
test = ["pytest==7.2.0", "networkx==2.8.8; python_version >= '3.8'", "networkx==2.6.3; python_version == '3.8'", "matplotlib==3.6.2; python_version >= '3.8'", "matplotlib==3.5.3; python_version == '3.8'"]
4141

4242
[project.urls]
4343
"Homepage" = "https://www.python-mip.com"
@@ -50,4 +50,4 @@ packages = ["mip"]
5050
"mip.libraries" = ["*.so", "*.dylib", "*.dll"]
5151

5252
[tool.setuptools_scm]
53-
write_to = "mip/_version.py"
53+
write_to = "mip/_version.py"

0 commit comments

Comments
 (0)