@@ -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.5 -3.8 via "35m 36m 37m 38"
9- ARG PY_VERSIONS="35m 36m 37m 38"
8+ # Python 3.6 -3.9 via "36m 37m 38 39 "
9+ ARG PY_VERSIONS="36m 37m 38 39 "
1010
1111# static libs need relocatable symbols for linking to shared python lib
1212ENV CFLAGS="-fPIC ${CFLAGS}"
@@ -175,18 +175,19 @@ RUN python3 -c "import openpmd_api as io; print(io.__version__); print(io
175175RUN python3 -m openpmd_api.ls --help
176176RUN openpmd-ls --help
177177
178- # test in fresh env: Debian:Stretch + Python 3.5
179- FROM debian:stretch
178+ # test in fresh env: Debian:Bullseye + Python 3.9
179+ FROM debian:bullseye
180180ENV DEBIAN_FRONTEND noninteractive
181- COPY --from=build-env /wheelhouse/openPMD_api-*-cp35-cp35m -manylinux2010_x86_64.whl .
181+ COPY --from=build-env /wheelhouse/openPMD_api-*-cp39-cp39 -manylinux2010_x86_64.whl .
182182RUN apt-get update \
183- && apt-get install -y --no-install-recommends python3 python3-pip \
183+ && apt-get install -y --no-install-recommends python3.9 python3-distutils ca-certificates curl \
184184 && rm -rf /var/lib/apt/lists/*
185- RUN python3 --version \
186- && python3 -m pip install -U pip \
187- && python3 -m pip install openPMD_api-*-cp35-cp35m-manylinux2010_x86_64.whl
188- RUN python3 -c "import openpmd_api as io; print(io.__version__); print(io.variants)"
189- RUN python3 -m openpmd_api.ls --help
185+ RUN python3.9 --version \
186+ && curl https://bootstrap.pypa.io/get-pip.py -o get-pip.py \
187+ && python3.9 get-pip.py \
188+ && python3.9 -m pip install openPMD_api-*-cp39-cp39-manylinux2010_x86_64.whl
189+ RUN python3.9 -c "import openpmd_api as io; print(io.__version__); print(io.variants)"
190+ RUN python3.9 -m openpmd_api.ls --help
190191RUN openpmd-ls --help
191192
192193
0 commit comments