Skip to content

Commit

Permalink
update to 3.12 (#361)
Browse files Browse the repository at this point in the history
  • Loading branch information
AdeelK93 authored Jan 19, 2024
1 parent 0b47e61 commit 51d60bc
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 8 deletions.
6 changes: 2 additions & 4 deletions .github/workflows/github-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: 3.7.14
python-version: 3.11

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

Expand Down
8 changes: 4 additions & 4 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ build-backend = "setuptools.build_meta"
name = "mip"
description = "Python tools for Modeling and Solving Mixed-Integer Linear Programs (MIPs)"
readme = "README.md"
requires-python = ">=3.7,<3.12"
requires-python = ">=3.8,<3.13"
license = {file = "LICENSE"}
authors = [
{name="T.A.M. Toffolo", email="[email protected]"},
Expand Down Expand Up @@ -35,9 +35,9 @@ dynamic = ["version"]
dependencies = ["cffi==1.15.*"]

[project.optional-dependencies]
numpy = ["numpy==1.24.*; python_version >= '3.8'", "numpy==1.21.6; python_version == '3.7'"]
numpy = ["numpy==1.24.*; python_version >= '3.8'", "numpy==1.21.6; python_version == '3.8'"]
gurobi = ["gurobipy>=8"]
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'"]
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'"]

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

[tool.setuptools_scm]
write_to = "mip/_version.py"
write_to = "mip/_version.py"

0 comments on commit 51d60bc

Please sign in to comment.