Skip to content

Commit 9afe2a7

Browse files
committed
Update os and python versions as well as pyproject.toml (#319)
1 parent d83cc91 commit 9afe2a7

File tree

2 files changed

+10
-8
lines changed

2 files changed

+10
-8
lines changed

.github/workflows/github-ci.yml

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ jobs:
66

77
pre-commit:
88

9-
runs-on: ubuntu-latest
9+
runs-on: ubuntu-22.04
1010

1111
steps:
1212

@@ -15,7 +15,7 @@ jobs:
1515
- name: Set up Python
1616
uses: actions/setup-python@v4
1717
with:
18-
python-version: 3.7.12
18+
python-version: 3.7.14
1919

2020
- name: Upgrade pip
2121
run: python -m pip install --upgrade pip
@@ -41,17 +41,19 @@ jobs:
4141
fail-fast: false
4242
matrix:
4343
# temporarily downgraded to 3.7.9 and 3.8.10 due to a bug https://github.com/actions/setup-python/issues/402
44-
python-version: ["3.7.9", "3.8.10", "3.9.13", "3.10.4", "pypy3.9-v7.3.9"]
45-
os: [macos-11, macos-12, ubuntu-18.04, ubuntu-20.04, windows-2019, windows-2022]
44+
python-version: ["3.7.9", "3.8.10", "3.9.13", "3.10.9", "pypy3.9-v7.3.9"]
45+
os: [macos-11, macos-12, ubuntu-20.04, ubuntu-22.04, windows-2019, windows-2022]
4646
exclude:
4747
# temporarily exclude pypy3 on mac-os as there failing tests caused by bug on cbc side
4848
- os: macos-11
4949
python-version: "pypy3.9-v7.3.9"
5050
- os: macos-12
5151
python-version: "pypy3.9-v7.3.9"
52-
# temporarily exclude pypy3 on ubuntu-18.04 as there an issue with installing numpy
53-
- os: ubuntu-18.04
54-
python-version: "pypy3.9-v7.3.9"
52+
# several version (3.7.9 and 3.8.10) at not available at ubuntu-22.04
53+
- os: ubuntu-22.04
54+
python-version: "3.7.9"
55+
- os: ubuntu-22.04
56+
python-version: "3.8.10"
5557

5658
steps:
5759

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ dependencies = ["cffi==1.15.0"]
3636

3737
[project.optional-dependencies]
3838
numpy = ["numpy==1.23.1; python_version >= '3.8'", "numpy==1.21.6; python_version == '3.7'"]
39-
gurobi = ["gurobipy>=8.*"]
39+
gurobi = ["gurobipy>=8"]
4040

4141
[project.urls]
4242
"Homepage" = "https://www.python-mip.com"

0 commit comments

Comments
 (0)