Skip to content

Commit

Permalink
chore: support Python 3.12 (#430)
Browse files Browse the repository at this point in the history
Signed-off-by: SdgJlbl <sarah.diot-girard@owkin.com>
  • Loading branch information
SdgJlbl authored Jul 25, 2024
1 parent 8f3c9ad commit 019ec91
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/test-examples-subprocess.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
strategy:
matrix:
os: [ubuntu-22.04]
python: ["3.8", "3.9", "3.10", "3.11"]
python: ["3.10", "3.11", "3.12"]

steps:
- uses: actions/checkout@v4
Expand Down
1 change: 1 addition & 0 deletions changes/430.added
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Support Python 3.12.
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# this base image works in both CPU and GPU enabled environments
FROM python:3.11-slim
FROM python:3.12-slim

# install dependencies
RUN pip3 install pandas 'numpy<2.0' 'scikit-learn==1.5.0' substratools
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# this base image works in both CPU and GPU enabled environments
FROM python:3.11-slim
FROM python:3.12-slim

# install dependencies
RUN pip3 install pandas 'numpy<2.0' 'scikit-learn==1.5.0' substratools
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# this base image works in both CPU and GPU enabled environments
FROM python:3.11-slim
FROM python:3.12-slim

# install dependencies
RUN pip3 install pandas 'numpy<2.0' 'scikit-learn==1.5.0' substratools
Expand Down
2 changes: 1 addition & 1 deletion docs/source/substrafl_doc/substrafl_overview.rst
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ Installation

.. _installation:

Substrafl and Substra are compatible with Python versions 3.9, 3.10 and 3.11 on Windows, MacOS and Linux.
Substrafl and Substra are compatible with Python versions 3.9, 3.10, 3.11 and 3.12 on Windows, MacOS and Linux.

.. note::

Expand Down

0 comments on commit 019ec91

Please sign in to comment.