File tree Expand file tree Collapse file tree 2 files changed +16
-3
lines changed Expand file tree Collapse file tree 2 files changed +16
-3
lines changed Original file line number Diff line number Diff line change @@ -104,9 +104,14 @@ specify the version with ``==`` to the lowest supported version. For your other
104
104
build dependencies you can probably be looser, however it's still important to
105
105
set lower and upper bounds for each dependency. It's fine to specify either a
106
106
range or a specific version for a dependency like ``wheel `` or ``setuptools ``.
107
- It's recommended to set the upper bound of the range to the latest already
108
- released version of ``wheel `` and ``setuptools `` - this prevents future
109
- releases from breaking your packages on PyPI.
107
+
108
+ .. warning ::
109
+
110
+ Note that ``setuptools `` does major releases often and those may contain
111
+ changes that break ``numpy.distutils ``, which will *not * be updated anymore
112
+ for new ``setuptools `` versions. It is therefore recommended to set an
113
+ upper version bound in your build configuration for the last known version
114
+ of ``setuptools `` that works with your build.
110
115
111
116
112
117
Runtime dependency & version ranges
Original file line number Diff line number Diff line change @@ -9,6 +9,14 @@ Packaging (:mod:`numpy.distutils`)
9
9
``numpy.distutils `` is deprecated, and will be removed for
10
10
Python >= 3.12. For more details, see :ref: `distutils-status-migration `
11
11
12
+ .. warning ::
13
+
14
+ Note that ``setuptools `` does major releases often and those may contain
15
+ changes that break ``numpy.distutils ``, which will *not * be updated anymore
16
+ for new ``setuptools `` versions. It is therefore recommended to set an
17
+ upper version bound in your build configuration for the last known version
18
+ of ``setuptools `` that works with your build.
19
+
12
20
NumPy provides enhanced distutils functionality to make it easier to
13
21
build and install sub-packages, auto-generate code, and extension
14
22
modules that use Fortran-compiled libraries. To use features of NumPy
You can’t perform that action at this time.
0 commit comments