Skip to content

Commit 47a050a

Browse files
committed
Do not enforce 3.9 yet
1 parent 0e959df commit 47a050a

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

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.9.0 COMPONENTS Interpreter Development.Module)
86+
find_package(Python 3.8.0 COMPONENTS Interpreter Development.Module)
8787
elseif(openPMD_USE_PYTHON)
88-
find_package(Python 3.9.0 COMPONENTS Interpreter Development.Module REQUIRED)
88+
find_package(Python 3.8.0 COMPONENTS Interpreter Development.Module REQUIRED)
8989
else()
9090
set(openPMD_HAVE_PYTHON FALSE)
9191
endif()

setup.py

Lines changed: 1 addition & 1 deletion
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.9',
206+
python_requires='>=3.8', # left for Ubuntu 20.04, truly ">=3.9"
207207
# tests_require=['pytest'],
208208
install_requires=install_requires,
209209
# see: src/bindings/python/cli

0 commit comments

Comments
 (0)