|
8 | 8 | msgstr "" |
9 | 9 | "Project-Id-Version: Python Packaging User Guide \n" |
10 | 10 | "Report-Msgid-Bugs-To: \n" |
11 | | -"POT-Creation-Date: 2026-09-09 16:20+0000\n" |
| 11 | +"POT-Creation-Date: 2026-09-22 14:24+0000\n" |
12 | 12 | "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" |
13 | 13 | "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" |
14 | 14 | "Language-Team: LANGUAGE <LL@li.org>\n" |
@@ -2956,7 +2956,7 @@ msgid "The `ClickPy`_ project provides a public application to visualize downloa |
2956 | 2956 | msgstr "" |
2957 | 2957 |
|
2958 | 2958 | #: ../source/guides/analyzing-pypi-package-downloads.rst:345 |
2959 | | -#: ../source/specifications/dependency-specifiers.rst:713 |
| 2959 | +#: ../source/specifications/dependency-specifiers.rst:716 |
2960 | 2960 | msgid "References" |
2961 | 2961 | msgstr "" |
2962 | 2962 |
|
@@ -9170,7 +9170,7 @@ msgstr "" |
9170 | 9170 | #: ../source/specifications/binary-distribution-format.rst:382 |
9171 | 9171 | #: ../source/specifications/core-metadata.rst:1043 |
9172 | 9172 | #: ../source/specifications/dependency-groups.rst:250 |
9173 | | -#: ../source/specifications/dependency-specifiers.rst:680 |
| 9173 | +#: ../source/specifications/dependency-specifiers.rst:681 |
9174 | 9174 | #: ../source/specifications/direct-url-data-structure.rst:292 |
9175 | 9175 | #: ../source/specifications/direct-url.rst:67 |
9176 | 9176 | #: ../source/specifications/entry-points.rst:163 |
@@ -11297,79 +11297,83 @@ msgid "For backwards compatibility with older locking and installation tools, th |
11297 | 11297 | msgstr "" |
11298 | 11298 |
|
11299 | 11299 | #: ../source/specifications/dependency-specifiers.rst:458 |
11300 | | -msgid "The ``extra`` field is also special, as it expects set-like behaviour, but predates the addition of ``Set of strings`` as a defined marker field type. Accordingly, ``extra == \"name\"`` in a dependency declaration is similar to ``\"name\" in extras``, while ``extra != \"name\"`` is similar to ``\"name\" not in extras``. For dependency marker evaluations, the set of extra names used for these comparisons is the full set of requested extras for *that particular package*, whether requested directly in a top level dependency declaration, or indirectly in a transitive dependency declaration. Other comparison operations on ``extra`` are not defined and publishing tools SHOULD emit an error, index servers MAY disallow uploads containing such environment markers, while locking and installation tools SHOULD evaluate them as False." |
| 11300 | +msgid "The ``extra`` field is also special, as it expects set-like behaviour, but predates the addition of ``Set of strings`` as a defined marker field type. It only supports one operation, ``extra == \"name\"``, which is similar to ``\"name\" in extras``. ``extra != \"name\"`` SHOULD NOT be used anymore and MAY be rejected or evaluated to false. For dependency marker evaluations, the set of extra names used for these comparisons is the full set of requested extras for *that particular package*, whether requested directly in a top level dependency declaration, or indirectly in a transitive dependency declaration. Other comparison operations on ``extra`` are not defined and publishing tools SHOULD emit an error, index servers MAY disallow uploads containing such environment markers, while locking and installation tools SHOULD evaluate them as False." |
11301 | 11301 | msgstr "" |
11302 | 11302 |
|
11303 | | -#: ../source/specifications/dependency-specifiers.rst:470 |
| 11303 | +#: ../source/specifications/dependency-specifiers.rst:471 |
11304 | 11304 | msgid "Unlike the newer ``extras`` field, environment markers using this field SHOULD be accepted by both publishing tools and index servers. Marker evaluation environments intended for project dependency declarations will typically need to handle evaluation of ``extra`` field comparisons, while other evaluations of environment markers will not generally need to do so. The legacy ``extra`` comparison syntax is NOT permitted in lock file ``packages.marker`` fields, and installation tools SHOULD reject lock files containing such comparisons as invalid." |
11305 | 11305 | msgstr "" |
11306 | 11306 |
|
11307 | | -#: ../source/specifications/dependency-specifiers.rst:479 |
| 11307 | +#: ../source/specifications/dependency-specifiers.rst:480 |
11308 | 11308 | msgid "The ``implementation_version`` marker variable is derived from :py:data:`sys.implementation.version <sys.implementation>`:" |
11309 | 11309 | msgstr "" |
11310 | 11310 |
|
11311 | | -#: ../source/specifications/dependency-specifiers.rst:499 |
| 11311 | +#: ../source/specifications/dependency-specifiers.rst:500 |
11312 | 11312 | msgid "Complete Grammar" |
11313 | 11313 | msgstr "" |
11314 | 11314 |
|
11315 | | -#: ../source/specifications/dependency-specifiers.rst:501 |
| 11315 | +#: ../source/specifications/dependency-specifiers.rst:502 |
11316 | 11316 | msgid "The complete parsley grammar::" |
11317 | 11317 | msgstr "" |
11318 | 11318 |
|
11319 | | -#: ../source/specifications/dependency-specifiers.rst:608 |
| 11319 | +#: ../source/specifications/dependency-specifiers.rst:609 |
11320 | 11320 | msgid "A test program - if the grammar is in a string ``grammar``:" |
11321 | 11321 | msgstr "" |
11322 | 11322 |
|
11323 | | -#: ../source/specifications/dependency-specifiers.rst:682 |
| 11323 | +#: ../source/specifications/dependency-specifiers.rst:683 |
11324 | 11324 | msgid "November 2015: This specification was approved through :pep:`508`." |
11325 | 11325 | msgstr "" |
11326 | 11326 |
|
11327 | | -#: ../source/specifications/dependency-specifiers.rst:683 |
| 11327 | +#: ../source/specifications/dependency-specifiers.rst:684 |
11328 | 11328 | msgid "July 2019: The definition of ``python_version`` was `changed <python-version-change_>`_ from ``platform.python_version()[:3]`` to ``'.'.join(platform.python_version_tuple()[:2])``, to accommodate potential future versions of Python with 2-digit major and minor versions (e.g. 3.10). [#future_versions]_" |
11329 | 11329 | msgstr "" |
11330 | 11330 |
|
11331 | | -#: ../source/specifications/dependency-specifiers.rst:688 |
| 11331 | +#: ../source/specifications/dependency-specifiers.rst:689 |
11332 | 11332 | msgid "March 2022: Standardised the normalization of extra names at publication time (for core metadata 2.3 and later) through :pep:`685`" |
11333 | 11333 | msgstr "" |
11334 | 11334 |
|
11335 | | -#: ../source/specifications/dependency-specifiers.rst:690 |
| 11335 | +#: ../source/specifications/dependency-specifiers.rst:691 |
11336 | 11336 | msgid "June 2024: The definition of ``version_many`` was changed to allow trailing commas, matching with the behavior of the Python implementation that has been in use since late 2022." |
11337 | 11337 | msgstr "" |
11338 | 11338 |
|
11339 | | -#: ../source/specifications/dependency-specifiers.rst:693 |
| 11339 | +#: ../source/specifications/dependency-specifiers.rst:694 |
11340 | 11340 | msgid "April 2025: Added ``extras`` and ``dependency_groups`` marker field for :ref:`lock-file-spec` as approved through :pep:`751`." |
11341 | 11341 | msgstr "" |
11342 | 11342 |
|
11343 | | -#: ../source/specifications/dependency-specifiers.rst:695 |
| 11343 | +#: ../source/specifications/dependency-specifiers.rst:696 |
11344 | 11344 | #: ../source/specifications/name-normalization.rst:56 |
11345 | 11345 | msgid "August 2025: The suggested name validation regex was fixed to match the field specification (it previously finished with ``$`` instead of ``\\Z``, incorrectly permitting trailing newlines)" |
11346 | 11346 | msgstr "" |
11347 | 11347 |
|
11348 | | -#: ../source/specifications/dependency-specifiers.rst:698 |
| 11348 | +#: ../source/specifications/dependency-specifiers.rst:699 |
11349 | 11349 | msgid "December 2025: Ensure ``===`` is before ``==`` in grammar, to allow arbitrary equality comparisons to be parsed." |
11350 | 11350 | msgstr "" |
11351 | 11351 |
|
11352 | | -#: ../source/specifications/dependency-specifiers.rst:700 |
| 11352 | +#: ../source/specifications/dependency-specifiers.rst:701 |
11353 | 11353 | msgid "January 2026: Amend the definition of environment marker comparison operations to restrict version comparison semantics to fields where they make sense, make extra name restrictions more explicit, adjust the way ordered comparisons are defined for strings, and make the fallback from version comparisons to string comparisons when version parsing fails optional. Also provide different tool behaviour recommendations for publishing tools vs installation tools. This brought the nominal specification into line with the way tools actually work. [#marker_comparison_logic]_" |
11354 | 11354 | msgstr "" |
11355 | 11355 |
|
11356 | | -#: ../source/specifications/dependency-specifiers.rst:708 |
| 11356 | +#: ../source/specifications/dependency-specifiers.rst:709 |
11357 | 11357 | msgid "January 2026: fix outdated references to other documents that were inadvertently retained from :pep:`508`" |
11358 | 11358 | msgstr "" |
11359 | 11359 |
|
11360 | | -#: ../source/specifications/dependency-specifiers.rst:715 |
11361 | | -msgid "pip, the recommended installer for Python packages (http://pip.readthedocs.org/en/stable/)" |
| 11360 | +#: ../source/specifications/dependency-specifiers.rst:711 |
| 11361 | +msgid "July 2026: Explain that ``extra != \"name\"`` is not (properly) supported (https://discuss.python.org/t/ban-negative-extras-for-extras-marker/108022/24)" |
11362 | 11362 | msgstr "" |
11363 | 11363 |
|
11364 | 11364 | #: ../source/specifications/dependency-specifiers.rst:718 |
11365 | | -msgid "The parsley PEG library. (https://pypi.python.org/pypi/parsley/)" |
| 11365 | +msgid "pip, the recommended installer for Python packages (http://pip.readthedocs.org/en/stable/)" |
11366 | 11366 | msgstr "" |
11367 | 11367 |
|
11368 | 11368 | #: ../source/specifications/dependency-specifiers.rst:721 |
| 11369 | +msgid "The parsley PEG library. (https://pypi.python.org/pypi/parsley/)" |
| 11370 | +msgstr "" |
| 11371 | + |
| 11372 | +#: ../source/specifications/dependency-specifiers.rst:724 |
11369 | 11373 | msgid "Future Python versions might be problematic with the definition of Environment Marker Variable ``python_version`` (https://github.com/python/peps/issues/560)" |
11370 | 11374 | msgstr "" |
11371 | 11375 |
|
11372 | | -#: ../source/specifications/dependency-specifiers.rst:725 |
| 11376 | +#: ../source/specifications/dependency-specifiers.rst:728 |
11373 | 11377 | msgid "Resolving inconsistencies between actual tool behavior and the nominal definitions of environment marker field comparisons (https://discuss.python.org/t/spec-change-bugfix-dependency-specifiers-simplification-pep-508/105203)" |
11374 | 11378 | msgstr "" |
11375 | 11379 |
|
|
0 commit comments