Skip to content

Commit 247b499

Browse files
committed
Python 3.9-3.13
Python 3.13 is released. Python 3.8 is EOL as of October 2024.
1 parent f8527ef commit 247b499

File tree

6 files changed

+6
-22
lines changed

6 files changed

+6
-22
lines changed

Dockerfile

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -112,21 +112,6 @@ RUN for whl in /opt/src/dist/*.whl; do \
112112
&& du -hs /opt/src/dist/* \
113113
&& du -hs /wheelhouse/*
114114

115-
# test in fresh env: Debian:Sid + Python 3.8
116-
FROM debian:sid
117-
ENV DEBIAN_FRONTEND noninteractive
118-
COPY --from=build-env /wheelhouse/openPMD_api-*-cp38-cp38-manylinux2010_x86_64.whl .
119-
RUN apt-get update \
120-
&& apt-get install -y --no-install-recommends python3.8 python3-distutils ca-certificates curl \
121-
&& rm -rf /var/lib/apt/lists/*
122-
RUN python3.8 --version \
123-
&& curl https://bootstrap.pypa.io/get-pip.py -o get-pip.py \
124-
&& python3.8 get-pip.py \
125-
&& python3.8 -m pip install openPMD_api-*-cp38-cp38-manylinux2010_x86_64.whl
126-
RUN python3.8 -c "import openpmd_api as io; print(io.__version__); print(io.variants)"
127-
RUN python3.8 -m openpmd_api.ls --help
128-
RUN openpmd-ls --help
129-
130115
# test in fresh env: Debian:Bullseye + Python 3.9
131116
FROM debian:bullseye
132117
ENV DEBIAN_FRONTEND noninteractive

Singularity

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ Supported frontends are C++11 and Python3.
4242
-DopenPMD_USE_PYTHON=ON \
4343
-DopenPMD_BUILD_TESTING=OFF \
4444
-DCMAKE_INSTALL_PREFIX=/usr/local \
45-
-DCMAKE_INSTALL_PYTHONDIR=lib/python3.6/dist-packages
45+
-DCMAKE_INSTALL_PYTHONDIR=lib/python3.12/dist-packages
4646
make
4747
# make test
4848
make install

cmake/dependencies/pybind11.cmake

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -83,9 +83,9 @@ set(openPMD_pybind11_branch "v2.13.6"
8383
"Repository branch for openPMD_pybind11_repo if(openPMD_USE_INTERNAL_PYBIND11)")
8484

8585
if(openPMD_USE_PYTHON STREQUAL AUTO)
86-
find_package(Python 3.7.0 COMPONENTS Interpreter Development.Module)
86+
find_package(Python 3.9.0 COMPONENTS Interpreter Development.Module)
8787
elseif(openPMD_USE_PYTHON)
88-
find_package(Python 3.7.0 COMPONENTS Interpreter Development.Module REQUIRED)
88+
find_package(Python 3.9.0 COMPONENTS Interpreter Development.Module REQUIRED)
8989
else()
9090
set(openPMD_HAVE_PYTHON FALSE)
9191
endif()

conda.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ dependencies:
3737
- pre-commit
3838
- pyarrow # for dask
3939
# - pybind11 # shipped internally
40-
- python>=3.8
40+
- python>=3.9
4141

4242
# just a note for later hackery, we could install pip packages inside the env, too:
4343
# - pip:

docs/source/install/install.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -192,7 +192,7 @@ CMake will summarize the install paths for you before the build step.
192192
# Note that one some systems, /lib might need to be replaced with /lib64.
193193
194194
# change path to your python MAJOR.MINOR version
195-
export PYTHONPATH=$HOME/somepath/lib/python3.8/site-packages:$PYTHONPATH
195+
export PYTHONPATH=$HOME/somepath/lib/python3.12/site-packages:$PYTHONPATH
196196
197197
Adding those lines to your ``$HOME/.bashrc`` and re-opening your terminal will set them permanently.
198198

setup.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -203,7 +203,7 @@ def build_extension(self, ext):
203203
cmdclass=dict(build_ext=CMakeBuild),
204204
# scripts=['openpmd-ls'],
205205
zip_safe=False,
206-
python_requires='>=3.8',
206+
python_requires='>=3.9',
207207
# tests_require=['pytest'],
208208
install_requires=install_requires,
209209
# see: src/bindings/python/cli
@@ -232,7 +232,6 @@ def build_extension(self, ext):
232232
'Topic :: Database :: Front-Ends',
233233
'Programming Language :: C++',
234234
'Programming Language :: Python :: 3',
235-
'Programming Language :: Python :: 3.8',
236235
'Programming Language :: Python :: 3.9',
237236
'Programming Language :: Python :: 3.10',
238237
'Programming Language :: Python :: 3.11',

0 commit comments

Comments
 (0)