Skip to content

Commit 8385470

Browse files
committed
[Build] Update Python and CMake requirements in Dockerfile and pyproject.toml
- Added CMake version requirement (>=3.26) to pyproject.toml for build compatibility. - Created a Python 3.8 environment in the Dockerfile and added a symlink for easier access to the Python 3.8 executable.
1 parent ba0bd22 commit 8385470

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

maint/scripts/pypi.Dockerfile

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,10 +28,12 @@ RUN conda tos accept --override-channels --channel https://repo.anaconda.com/pkg
2828

2929
# Create environments
3030
RUN set -eux; \
31+
conda create -n py38 python=3.8 -y; \
3132
conda create -n py39 python=3.9 -y; \
3233
conda create -n py310 python=3.10 -y; \
3334
conda create -n py311 python=3.11 -y; \
3435
conda create -n py312 python=3.12 -y; \
36+
ln -s /miniconda3/envs/py38/bin/python3.8 /usr/bin/python3.8; \
3537
ln -s /miniconda3/envs/py39/bin/python3.9 /usr/bin/python3.9; \
3638
ln -s /miniconda3/envs/py310/bin/python3.10 /usr/bin/python3.10; \
3739
ln -s /miniconda3/envs/py311/bin/python3.11 /usr/bin/python3.11; \

pyproject.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
[build-system]
22
requires = [
33
"build",
4+
"cmake>=3.26",
45
"packaging",
56
"setuptools>=61",
67
"wheel",

0 commit comments

Comments
 (0)