Skip to content

Commit b28e8a9

Browse files
committed
Use Python 3.8
pybind11 support for python 3.7 dropped in 2023: pybind/pybind11#5191
1 parent ee2dff7 commit b28e8a9

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ Some scripts that provide basic utilities can be found in [scripts/](scripts/)
1717

1818
### Prerequisites
1919

20-
- **Python**: Python 3.7 or newer.
20+
- **Python**: Python 3.8 or newer.
2121
- **CMake**: Version 3.8 or newer. CMake is used to configure the build process.
2222
- **g++** or **MSVC**: A C++ compiler that supports C++17 standard. For g++, version 7.3 or newer is recommended. For MSVC, Visual Studio 2019 or newer is required.
2323

pyproject.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ build-backend = "setuptools.build_meta"
55

66
[tool.mypy]
77
files = "setup.py"
8-
python_version = "3.7"
8+
python_version = "3.8"
99
strict = true
1010
show_error_codes = true
1111
enable_error_code = ["ignore-without-code", "redundant-expr", "truthy-bool"]
@@ -19,7 +19,7 @@ ignore_missing_imports = true
1919
before-build = "rm -rf {project}/build"
2020

2121
[tool.ruff]
22-
target-version = "py37"
22+
target-version = "py38"
2323

2424
[tool.ruff.lint]
2525
extend-select = [

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -139,5 +139,5 @@ def build_extension(self, ext: CMakeExtension) -> None:
139139
ext_modules=[CMakeExtension('monklib', sourcedir='.')],
140140
cmdclass=dict(build_ext=CMakeBuild),
141141
zip_safe=False,
142-
python_requires=">=3.7",
142+
python_requires=">=3.8",
143143
)

0 commit comments

Comments
 (0)