Skip to content

Commit

Permalink
Do not enforce 3.9 yet
Browse files Browse the repository at this point in the history
  • Loading branch information
ax3l authored Jan 14, 2025
1 parent 8891ede commit 31258f7
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions cmake/dependencies/pybind11.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -78,9 +78,9 @@ set(openPMD_pybind11_branch "v2.13.6"
"Repository branch for openPMD_pybind11_repo if(openPMD_USE_INTERNAL_PYBIND11)")

if(openPMD_USE_PYTHON STREQUAL AUTO)
find_package(Python 3.9.0 COMPONENTS Interpreter Development.Module)
find_package(Python 3.8.0 COMPONENTS Interpreter Development.Module)
elseif(openPMD_USE_PYTHON)
find_package(Python 3.9.0 COMPONENTS Interpreter Development.Module REQUIRED)
find_package(Python 3.8.0 COMPONENTS Interpreter Development.Module REQUIRED)
else()
set(openPMD_HAVE_PYTHON FALSE)
endif()
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -196,7 +196,7 @@ def build_extension(self, ext):
cmdclass=dict(build_ext=CMakeBuild),
# scripts=['openpmd-ls'],
zip_safe=False,
python_requires='>=3.9',
python_requires='>=3.8', # left for Ubuntu 20.04, truly ">=3.9"
# tests_require=['pytest'],
install_requires=install_requires,
# see: src/bindings/python/cli
Expand Down

0 comments on commit 31258f7

Please sign in to comment.