Skip to content

Commit 748706a

Browse files
committed
Misc cleanup pass
1 parent 08985d2 commit 748706a

7 files changed

+7
-10
lines changed

README.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ dependency.
3434
Think of this library as a tiny self-contained version of Boost.Python
3535
with everything stripped away that isn't relevant for binding
3636
generation. Without comments, the core header files only require ~4K
37-
lines of code and depend on Python (3.6+, or PyPy) and the C++
37+
lines of code and depend on Python (3.7+, or PyPy) and the C++
3838
standard library. This compact implementation was possible thanks to
3939
some C++11 language features (specifically: tuples, lambda functions and
4040
variadic templates). Since its creation, this library has grown beyond
@@ -79,7 +79,7 @@ Goodies
7979
In addition to the core functionality, pybind11 provides some extra
8080
goodies:
8181

82-
- Python 3.6+, and PyPy3 7.3 are supported with an implementation-agnostic
82+
- Python 3.7+, and PyPy3 7.3 are supported with an implementation-agnostic
8383
interface (pybind11 2.9 was the last version to support Python 2 and 3.5).
8484

8585
- It is possible to bind C++11 lambda functions with captured

docs/compiling.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -426,7 +426,7 @@ with ``PYTHON_EXECUTABLE``. For example:
426426

427427
.. code-block:: bash
428428
429-
cmake -DPYBIND11_PYTHON_VERSION=3.6 ..
429+
cmake -DPYBIND11_PYTHON_VERSION=3.7 ..
430430
431431
# Another method:
432432
cmake -DPYTHON_EXECUTABLE=/path/to/python ..
@@ -493,7 +493,7 @@ existing targets instead:
493493
cmake_minimum_required(VERSION 3.15...3.22)
494494
project(example LANGUAGES CXX)
495495
496-
find_package(Python 3.6 COMPONENTS Interpreter Development REQUIRED)
496+
find_package(Python 3.7 COMPONENTS Interpreter Development REQUIRED)
497497
find_package(pybind11 CONFIG REQUIRED)
498498
# or add_subdirectory(pybind11)
499499

tests/requirements.txt

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,8 @@
11
--only-binary=:all:
2-
build~=0.9; python_version=="3.6"
32
build~=1.0; python_version>="3.7"
43
numpy~=1.20.0; python_version=="3.7" and platform_python_implementation=="PyPy"
54
numpy~=1.23.0; python_version=="3.8" and platform_python_implementation=="PyPy"
65
numpy~=1.25.0; python_version=="3.9" and platform_python_implementation=='PyPy'
7-
numpy~=1.19.3; platform_python_implementation!="PyPy" and python_version=="3.6"
86
numpy~=1.21.5; platform_python_implementation!="PyPy" and python_version>="3.7" and python_version<"3.10"
97
numpy~=1.22.2; platform_python_implementation!="PyPy" and python_version=="3.10"
108
numpy~=1.26.0; platform_python_implementation!="PyPy" and python_version>="3.11" and python_version<"3.13"

tests/test_numpy_array.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -198,7 +198,6 @@ def assert_references(a, b, base=None):
198198
assert a.flags.f_contiguous == b.flags.f_contiguous
199199
assert a.flags.writeable == b.flags.writeable
200200
assert a.flags.aligned == b.flags.aligned
201-
# 1.13 supported Python 3.6
202201
if tuple(int(x) for x in np.__version__.split(".")[:2]) >= (1, 14):
203202
assert a.flags.writebackifcopy == b.flags.writebackifcopy
204203
else:

tools/FindPythonLibsNew.cmake

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ endif()
9292

9393
# Use the Python interpreter to find the libs.
9494
if(NOT PythonLibsNew_FIND_VERSION)
95-
set(PythonLibsNew_FIND_VERSION "3.6")
95+
set(PythonLibsNew_FIND_VERSION "3.7")
9696
endif()
9797

9898
if(NOT CMAKE_VERSION VERSION_LESS "3.27")

tools/pybind11NewTools.cmake

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ if(NOT Python_FOUND AND NOT Python3_FOUND)
5656
endif()
5757

5858
find_package(
59-
Python 3.6 REQUIRED COMPONENTS ${_pybind11_interp_component} ${_pybind11_dev_component}
59+
Python 3.7 REQUIRED COMPONENTS ${_pybind11_interp_component} ${_pybind11_dev_component}
6060
${_pybind11_quiet} ${_pybind11_global_keyword})
6161

6262
# If we are in submodule mode, export the Python targets to global targets.

tools/pybind11Tools.cmake

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ endif()
4343

4444
# A user can set versions manually too
4545
set(Python_ADDITIONAL_VERSIONS
46-
"3.12;3.11;3.10;3.9;3.8;3.7;3.6"
46+
"3.12;3.11;3.10;3.9;3.8;3.7"
4747
CACHE INTERNAL "")
4848

4949
list(APPEND CMAKE_MODULE_PATH "${CMAKE_CURRENT_LIST_DIR}")

0 commit comments

Comments
 (0)