Skip to content

Commit 7c3d53f

Browse files
authored
Merge branch 'main' into ww/no-linkcheck-on-merge-groupo
2 parents 496d56b + ded8541 commit 7c3d53f

3 files changed

Lines changed: 16 additions & 10 deletions

File tree

‎source/shared/build-backend-tabs.rst‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,5 +38,5 @@
3838
.. code-block:: toml
3939
4040
[build-system]
41-
requires = ["uv_build >= 0.12.5, <0.13.0"]
41+
requires = ["uv_build >= 0.12.17, <0.13.0"]
4242
build-backend = "uv_build"

‎source/specifications/dependency-specifiers.rst‎

Lines changed: 12 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -457,15 +457,16 @@ DO NOT need to define these fields.
457457

458458
The ``extra`` field is also special, as it expects set-like behaviour, but
459459
predates the addition of ``Set of strings`` as a defined marker field type.
460-
Accordingly, ``extra == "name"`` in a dependency declaration is similar to
461-
``"name" in extras``, while ``extra != "name"`` is similar to
462-
``"name" not in extras``. For dependency marker evaluations, the set of extra
463-
names used for these comparisons is the full set of requested extras for *that
464-
particular package*, whether requested directly in a top level dependency
465-
declaration, or indirectly in a transitive dependency declaration. Other
466-
comparison operations on ``extra`` are not defined and publishing tools SHOULD
467-
emit an error, index servers MAY disallow uploads containing such environment
468-
markers, while locking and installation tools SHOULD evaluate them as False.
460+
It only supports one operation, ``extra == "name"``, which is similar to
461+
``"name" in extras``. ``extra != "name"`` SHOULD NOT be used anymore and MAY
462+
be rejected or evaluated to false. For dependency marker evaluations, the set
463+
of extra names used for these comparisons is the full set of requested extras
464+
for *that particular package*, whether requested directly in a top level
465+
dependency declaration, or indirectly in a transitive dependency declaration.
466+
Other comparison operations on ``extra`` are not defined and publishing tools
467+
SHOULD emit an error, index servers MAY disallow uploads containing such
468+
environment markers, while locking and installation tools SHOULD evaluate them
469+
as False.
469470

470471
Unlike the newer ``extras`` field, environment markers using this field SHOULD
471472
be accepted by both publishing tools and index servers. Marker evaluation
@@ -707,6 +708,8 @@ History
707708
work. [#marker_comparison_logic]_
708709
- January 2026: fix outdated references to other documents that were
709710
inadvertently retained from :pep:`508`
711+
- July 2026: Explain that ``extra != "name"`` is not (properly) supported
712+
(https://discuss.python.org/t/ban-negative-extras-for-extras-marker/108022/24)
710713

711714

712715
References

‎source/specifications/well-known-project-urls.rst‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -129,6 +129,9 @@ specializing the presentation of ``Project-URL`` metadata:
129129
* - ``funding`` (Funding)
130130
- Funding Information
131131
- ``sponsor``, ``donate``, ``donation``
132+
* - ``security`` (Security Policy)
133+
- The project's security policy or vulnerability reporting page
134+
- ``securitypolicy``
132135

133136
Package metadata consumers may choose to render aliased labels the same as
134137
their "parent" well known label, or further specialize them.

0 commit comments

Comments
 (0)