Skip to content

Commit

Permalink
Merge pull request #7940 from asi1024/py312
Browse files Browse the repository at this point in the history
Add Linux CI for Python 3.12
  • Loading branch information
kmaehashi committed Oct 19, 2023
2 parents 9ac9c06 + 8bcee06 commit a3194dc
Show file tree
Hide file tree
Showing 5 changed files with 44 additions and 10 deletions.
36 changes: 34 additions & 2 deletions .pfnci/coverage.rst
Original file line number Diff line number Diff line change
Expand Up @@ -1257,7 +1257,7 @@ CuPy CI Test Coverage
-
* -
- 3.11
- 15
- 13
-
-
-
Expand All @@ -1276,17 +1276,49 @@ CuPy CI Test Coverage
-
- ✅
- ✅
-
-
-
-
- ✅
- ✅
-
- ✅
-
- ✅
- ✅
* -
- 3.12
- 2
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- ✅
-
- ✅
- ✅
-
-
-
-
-
-
-
-
-
* -
- pre
- 🚨
Expand Down
4 changes: 2 additions & 2 deletions .pfnci/linux/tests/cuda122.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,8 @@ RUN /update-alternatives-cutensor.sh
RUN git clone https://github.com/pyenv/pyenv.git /opt/pyenv
ENV PYENV_ROOT "/opt/pyenv"
ENV PATH "${PYENV_ROOT}/shims:${PYENV_ROOT}/bin:${PATH}"
RUN pyenv install 3.11.0 && \
pyenv global 3.11.0 && \
RUN pyenv install 3.12.0 && \
pyenv global 3.12.0 && \
pip install -U setuptools pip wheel

RUN pip install -U 'numpy==1.26.*' 'scipy==1.11.*' 'optuna==3.*' 'cython==0.29.*'
Expand Down
4 changes: 2 additions & 2 deletions .pfnci/linux/tests/cuda122.multi.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,8 @@ RUN /update-alternatives-cutensor.sh
RUN git clone https://github.com/pyenv/pyenv.git /opt/pyenv
ENV PYENV_ROOT "/opt/pyenv"
ENV PATH "${PYENV_ROOT}/shims:${PYENV_ROOT}/bin:${PATH}"
RUN pyenv install 3.11.0 && \
pyenv global 3.11.0 && \
RUN pyenv install 3.12.0 && \
pyenv global 3.12.0 && \
pip install -U setuptools pip wheel

RUN pip install -U 'numpy==1.26.*' 'scipy==1.11.*' 'optuna==3.*' 'mpi4py==3.*' 'cython==0.29.*'
Expand Down
2 changes: 1 addition & 1 deletion .pfnci/matrix.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -286,7 +286,7 @@
cutensor: "1.7"
cusparselt: "0.2.0"
cudnn: "8.8"
python: "3.11"
python: "3.12"
numpy: "1.26"
scipy: "1.11"
optuna: "3"
Expand Down
8 changes: 5 additions & 3 deletions .pfnci/schema.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -224,8 +224,10 @@ python:
spec: "3.10.0"
"3.11":
spec: "3.11.0"
"3.12":
spec: "3.12.0"
"pre":
spec: "3.12.0a1" # note that dependency python libraies may not work
spec: "3.13.0a1" # note that dependency python libraies may not work

###############################################################################
# Python Libraries
Expand Down Expand Up @@ -267,7 +269,7 @@ numpy:
- "3.9"
- "3.10"
- "3.11"
# - "3.12"
- "3.12"
"pre":
spec: ">=0a0" # latest, including pre-releases
scipy:
Expand Down Expand Up @@ -340,7 +342,7 @@ scipy:
- "3.9"
- "3.10"
- "3.11"
# - "3.12"
- "3.12"
numpy:
# - "1.21"
- "1.22"
Expand Down

0 comments on commit a3194dc

Please sign in to comment.