@@ -5,8 +5,8 @@ FROM quay.io/pypa/manylinux2010_x86_64 as build-env
55# FROM quay.io/pypa/manylinux1_x86_64 as build-env
66ENV DEBIAN_FRONTEND noninteractive
77
8- # Python 3.6 -3.10 via "36m 37m 38 39 310 "
9- ARG PY_VERSIONS="36m 37m 38 39 310"
8+ # Python 3.7 -3.11 via "37m 38 39 311 "
9+ ARG PY_VERSIONS="37m 38 39 310 311 "
1010
1111# static libs need relocatable symbols for linking to shared python lib
1212ENV CFLAGS="-fPIC ${CFLAGS}"
@@ -159,20 +159,6 @@ RUN python3.8 -c "import openpmd_api as io; print(io.__version__); print(
159159RUN python3.8 -m openpmd_api.ls --help
160160RUN openpmd-ls --help
161161
162- # test in fresh env: Ubuntu:18.04 + Python 3.6
163- FROM ubuntu:18.04
164- ENV DEBIAN_FRONTEND noninteractive
165- COPY --from=build-env /wheelhouse/openPMD_api-*-cp36-cp36m-manylinux2010_x86_64.whl .
166- RUN apt-get update \
167- && apt-get install -y --no-install-recommends python3 python3-pip \
168- && rm -rf /var/lib/apt/lists/*
169- RUN python3 --version \
170- && python3 -m pip install -U pip \
171- && python3 -m pip install openPMD_api-*-cp36-cp36m-manylinux2010_x86_64.whl
172- RUN python3 -c "import openpmd_api as io; print(io.__version__); print(io.variants)"
173- RUN python3 -m openpmd_api.ls --help
174- RUN openpmd-ls --help
175-
176162# test in fresh env: Debian:Bullseye + Python 3.9
177163FROM debian:bullseye
178164ENV DEBIAN_FRONTEND noninteractive
@@ -203,6 +189,20 @@ RUN python3.10 -c "import openpmd_api as io; print(io.__version__); print
203189RUN python3.10 -m openpmd_api.ls --help
204190RUN openpmd-ls --help
205191
192+ # test in fresh env: Debian:Bullseye + Python 3.11
193+ FROM debian:bullseye
194+ ENV DEBIAN_FRONTEND noninteractive
195+ COPY --from=build-env /wheelhouse/openPMD_api-*-cp311-cp311-manylinux2010_x86_64.whl .
196+ RUN apt-get update \
197+ && apt-get install -y --no-install-recommends python3.10 python3-distutils ca-certificates curl \
198+ && rm -rf /var/lib/apt/lists/*
199+ RUN python3.11 --version \
200+ && curl https://bootstrap.pypa.io/get-pip.py -o get-pip.py \
201+ && python3.11 get-pip.py \
202+ && python3.11 -m pip install openPMD_api-*-cp311-cp311-manylinux2010_x86_64.whl
203+ RUN python3.11 -c "import openpmd_api as io; print(io.__version__); print(io.variants)"
204+ RUN python3.11 -m openpmd_api.ls --help
205+ RUN openpmd-ls --help
206206
207207# copy binary artifacts (wheels)
208208FROM quay.io/pypa/manylinux2010_x86_64
0 commit comments