Skip to content

Commit 09fc3d9

Browse files
ax3lfranzpoeschel
authored andcommitted
Python 3.9-3.13
Python 3.13 is released. Python 3.8 is EOL as of October 2024.
1 parent 6f767c3 commit 09fc3d9

File tree

6 files changed

+6
-22
lines changed

6 files changed

+6
-22
lines changed

Dockerfile

-15
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

+1-1
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

+2-2
Original file line numberDiff line numberDiff line change
@@ -78,9 +78,9 @@ set(openPMD_pybind11_branch "v2.13.6"
7878
"Repository branch for openPMD_pybind11_repo if(openPMD_USE_INTERNAL_PYBIND11)")
7979

8080
if(openPMD_USE_PYTHON STREQUAL AUTO)
81-
find_package(Python 3.7.0 COMPONENTS Interpreter Development.Module)
81+
find_package(Python 3.9.0 COMPONENTS Interpreter Development.Module)
8282
elseif(openPMD_USE_PYTHON)
83-
find_package(Python 3.7.0 COMPONENTS Interpreter Development.Module REQUIRED)
83+
find_package(Python 3.9.0 COMPONENTS Interpreter Development.Module REQUIRED)
8484
else()
8585
set(openPMD_HAVE_PYTHON FALSE)
8686
endif()

conda.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ dependencies:
3636
- pre-commit
3737
- pyarrow # for dask
3838
# - pybind11 # shipped internally
39-
- python>=3.8
39+
- python>=3.9
4040

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

docs/source/install/install.rst

+1-1
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

+1-2
Original file line numberDiff line numberDiff line change
@@ -196,7 +196,7 @@ def build_extension(self, ext):
196196
cmdclass=dict(build_ext=CMakeBuild),
197197
# scripts=['openpmd-ls'],
198198
zip_safe=False,
199-
python_requires='>=3.8',
199+
python_requires='>=3.9',
200200
# tests_require=['pytest'],
201201
install_requires=install_requires,
202202
# see: src/bindings/python/cli
@@ -225,7 +225,6 @@ def build_extension(self, ext):
225225
'Topic :: Database :: Front-Ends',
226226
'Programming Language :: C++',
227227
'Programming Language :: Python :: 3',
228-
'Programming Language :: Python :: 3.8',
229228
'Programming Language :: Python :: 3.9',
230229
'Programming Language :: Python :: 3.10',
231230
'Programming Language :: Python :: 3.11',

0 commit comments

Comments
 (0)