Skip to content

Commit

Permalink
Update Python version support and dependencies across workflows and r…
Browse files Browse the repository at this point in the history
…equirements files

- Updated Python version matrix in GitHub Actions workflows to include Python 3.12.
- Upgraded pandas, ortools, pyomo, and other dependencies in requirements files to their latest compatible versions.
- Adjusted Python version requirement in setup.py files to require at least Python 3.9.
  • Loading branch information
l-prr committed Dec 23, 2024
1 parent 968699d commit c59f7d6
Show file tree
Hide file tree
Showing 7 changed files with 21 additions and 21 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/test_cornflow_client.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ jobs:
strategy:
max-parallel: 21
matrix:
python-version: [ 3.8, 3.9, '3.10', '3.11' ]
python-version: [ 3.9, '3.10', '3.11', '3.12' ]
os: [ubuntu-latest, macOS-latest, windows-latest]

steps:
Expand Down Expand Up @@ -59,7 +59,7 @@ jobs:
strategy:
max-parallel: 21
matrix:
python-version: [3.8, 3.9, '3.10', '3.11']
python-version: [3.9, '3.10', '3.11', '3.12']
os: [ ubuntu-latest ]

steps:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test_cornflow_dags.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ jobs:
strategy:
max-parallel: 21
matrix:
python-version: [3.8, 3.9, '3.10', '3.11']
python-version: [3.9, '3.10', '3.11', '3.12']
os: [ubuntu-latest]

steps:
Expand Down
6 changes: 3 additions & 3 deletions cornflow-dags/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
cornflow-client>=1.1.0
orloge<=0.17.2
PuLP<=2.9.0
pandas<=2.1.1
pandas<=2.2.0
hackathonbaobab2020[solvers]
pytups<=0.86.2
ortools<=9.7.2996
ortools<=9.8.3296
xmltodict<=0.13.0
openpyxl<=3.1.2
pyomo<=6.6.2
pyomo<=6.7.0
tsplib95<=0.7.1
numpy<2.0.0
22 changes: 11 additions & 11 deletions cornflow-server/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,30 +1,30 @@
alembic==1.9.2
apispec<=6.2.0
click<=8.1.3
apispec<=6.3.0
click<=8.1.7
cornflow-client>=1.1.0
cryptography<=42.0.5
disposable-email-domains>=0.0.86
Flask==2.3.2
flask-apispec<=0.11.4
Flask-Bcrypt<=1.0.1
Flask-Compress<=1.13
Flask-Compress<=1.14
flask-cors>=4.0.2
flask-inflate<=0.3
Flask-Migrate<=4.0.4
Flask-RESTful<=0.3.9
Flask-Migrate<=4.0.5
Flask-RESTful<=0.3.10
Flask-SQLAlchemy==2.5.1
gevent==23.9.1
greenlet<=2.0.2;python_version<"3.11"
greenlet==3.0.0;python_version>="3.11"
greenlet==3.0.3;python_version>="3.11"
gunicorn<=22.0.0
jsonpatch<=1.32
jsonpatch<=1.33
ldap3<=2.9.1
marshmallow<=3.19.0
marshmallow<=3.20.2
PuLP<=2.9.0
psycopg2<=2.95
PyJWT<=2.6.0
psycopg2<=2.9.9
PyJWT<=2.8.0
pytups>=0.86.2
requests<=2.32.3
SQLAlchemy==1.3.21
webargs<=8.2.0
webargs<=8.3.0
Werkzeug==3.0.6
2 changes: 1 addition & 1 deletion cornflow-server/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
"Operating System :: OS Independent",
"Development Status :: 5 - Production/Stable",
],
python_requires=">=3.8",
python_requires=">=3.9",
entry_points={
"console_scripts": [
"cornflow = cornflow.cli:cli",
Expand Down
4 changes: 2 additions & 2 deletions libs/client/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
requests<=2.32.3
genson<=1.2.2
jsonschema<=4.19.1
marshmallow<=3.19.0
jsonschema<=4.21.1
marshmallow<=3.20.2
pytups<=0.86.2
ortools<=9.8.3296
PuLP<=2.9.0
2 changes: 1 addition & 1 deletion libs/client/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
"Operating System :: OS Independent",
"Development Status :: 5 - Production/Stable",
],
python_requires=">=3.8",
python_requires=">=3.9",
include_package_data=True,
install_requires=required,
extra_require=extra_required,
Expand Down

0 comments on commit c59f7d6

Please sign in to comment.