Skip to content

Commit 110a26f

Browse files
committed
Merge branch 'main' into per-req-config-settings
2 parents 0fbca36 + 7cb863e commit 110a26f

File tree

99 files changed

+1753
-1241
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

99 files changed

+1753
-1241
lines changed

docs/html/reference/build-system/pyproject-toml.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -116,6 +116,12 @@ multiple times, in order to specify multiple settings).
116116

117117
The supplied configuration settings are passed to every backend hook call.
118118

119+
Configuration settings provided via `--config-settings` command line options (or the
120+
equivalent environment variables or configuration file entries) are passed to the build
121+
of requirements explicitly provided as pip command line arguments. They are not passed
122+
to the build of dependencies, or to the build of requirements provided in requirement
123+
files.
124+
119125
## Build output
120126

121127
It is the responsibility of the build backend to ensure that the output is

docs/html/reference/build-system/setup-py.md

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,6 @@ The overall process for building a package is:
2424

2525
- Generate the package's metadata.
2626
- Generate a wheel for the package.
27-
- If this fails and we're trying to install the package, attempt a direct
28-
installation.
2927

3028
The wheel can then be used to perform an installation, if necessary.
3129

@@ -58,13 +56,6 @@ If this wheel generation fails, pip runs `setup.py clean` to clean up any build
5856
artifacts that may have been generated. After that, pip will attempt a direct
5957
installation.
6058

61-
### Direct Installation
62-
63-
When all else fails, pip will invoke `setup.py install` to install a package
64-
using setuptools' mechanisms to perform the installation. This is currently the
65-
last-resort fallback for projects that cannot be built into wheels, and may not
66-
be supported in the future.
67-
6859
### Editable Installation
6960

7061
For installing packages in "editable" mode

news/11453.removal.rst

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
``--no-binary`` does not disable the cache of locally built wheels anymore. It only
2+
means "don't download wheels".

news/11941.feature.rst

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
Stop propagating CLI ``--config-settings`` to the build dependencies. They already did
2+
not propagate to requirements provided in requirement files. To pass the same config
3+
settings to several requirements, users should provide the requirements as CLI
4+
arguments.

news/8368.removal.rst

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
Remove ``setup.py install`` fallback when building a wheel failed for projects without
2+
``pyproject.toml``.

news/msgpack.vendor.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Upgrade msgpack to 1.0.5

news/platformdirs.vendor.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Upgrade platformdirs to 3.2.0

news/pygments.vendor.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Upgrade pygments to 2.14.0

news/rich.vendor.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Upgrade rich to 13.3.3

news/setuptools.vendor.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
Update pkg_resources (via setuptools) to 65.6.3
1+
Upgrade setuptools to 67.6.1

0 commit comments

Comments
 (0)