diff options
| author | Brigitta Sipőcz <bsipocz@gmail.com> | 2022-05-20 18:34:06 -0700 |
|---|---|---|
| committer | Brigitta Sipőcz <bsipocz@gmail.com> | 2022-05-23 09:29:59 -0700 |
| commit | d4d5771e17c14ce8cdeaf2922d537006dd3fcebf (patch) | |
| tree | 0e46316f3143350dd14602ebea42f06a4c5864c1 /doc/source | |
| parent | 53379cd353fb7ab5840c3ee370c735fe61d6419c (diff) | |
| download | numpy-d4d5771e17c14ce8cdeaf2922d537006dd3fcebf.tar.gz | |
MAINT: Python <3.8 related cleanups
Diffstat (limited to 'doc/source')
| -rw-r--r-- | doc/source/dev/development_environment.rst | 4 | ||||
| -rw-r--r-- | doc/source/f2py/code/CMakeLists.txt | 4 | ||||
| -rw-r--r-- | doc/source/f2py/code/CMakeLists_skbuild.txt | 2 | ||||
| -rw-r--r-- | doc/source/user/absolute_beginners.rst | 2 |
4 files changed, 6 insertions, 6 deletions
diff --git a/doc/source/dev/development_environment.rst b/doc/source/dev/development_environment.rst index 1d6e71b6d..4772366d2 100644 --- a/doc/source/dev/development_environment.rst +++ b/doc/source/dev/development_environment.rst @@ -194,9 +194,9 @@ That also takes extra arguments, like ``--pdb`` which drops you into the Python debugger when a test fails or an exception is raised. Running tests with `tox`_ is also supported. For example, to build NumPy and -run the test suite with Python 3.7, use:: +run the test suite with Python 3.9, use:: - $ tox -e py37 + $ tox -e py39 For more extensive information, see :ref:`testing-guidelines` diff --git a/doc/source/f2py/code/CMakeLists.txt b/doc/source/f2py/code/CMakeLists.txt index d16ddf77e..6f5170ad5 100644 --- a/doc/source/f2py/code/CMakeLists.txt +++ b/doc/source/f2py/code/CMakeLists.txt @@ -14,8 +14,8 @@ if(PROJECT_SOURCE_DIR STREQUAL PROJECT_BINARY_DIR) ) endif() -# Grab Python, 3.7 or newer -find_package(Python 3.7 REQUIRED +# Grab Python, 3.8 or newer +find_package(Python 3.8 REQUIRED COMPONENTS Interpreter Development.Module NumPy) # Grab the variables from a local Python installation diff --git a/doc/source/f2py/code/CMakeLists_skbuild.txt b/doc/source/f2py/code/CMakeLists_skbuild.txt index 3d092760b..f2d6b69c1 100644 --- a/doc/source/f2py/code/CMakeLists_skbuild.txt +++ b/doc/source/f2py/code/CMakeLists_skbuild.txt @@ -17,7 +17,7 @@ endif() # Ensure scikit-build modules if (NOT SKBUILD) - find_package(PythonInterp 3.7 REQUIRED) + find_package(PythonInterp 3.8 REQUIRED) # Kanged --> https://github.com/Kitware/torch_liberator/blob/master/CMakeLists.txt # If skbuild is not the driver; include its utilities in CMAKE_MODULE_PATH execute_process( diff --git a/doc/source/user/absolute_beginners.rst b/doc/source/user/absolute_beginners.rst index cf11c6745..a4a82afb6 100644 --- a/doc/source/user/absolute_beginners.rst +++ b/doc/source/user/absolute_beginners.rst @@ -1344,7 +1344,7 @@ followed by the docstring of ``ndarray`` of which ``a`` is an instance): Type: ndarray String form: [1 2 3 4 5 6] Length: 6 - File: ~/anaconda3/lib/python3.7/site-packages/numpy/__init__.py + File: ~/anaconda3/lib/python3.9/site-packages/numpy/__init__.py Docstring: <no docstring> Class docstring: ndarray(shape, dtype=float, buffer=None, offset=0, |
