Skip to content

Commit 740b31b

Browse files
Update messages.pot as of version e7acc02
1 parent 38d8113 commit 740b31b

File tree

1 file changed

+145
-13
lines changed

1 file changed

+145
-13
lines changed

locales/messages.pot

Lines changed: 145 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ msgid ""
88
msgstr ""
99
"Project-Id-Version: Python Packaging User Guide \n"
1010
"Report-Msgid-Bugs-To: \n"
11-
"POT-Creation-Date: 2024-12-08 04:42+0000\n"
11+
"POT-Creation-Date: 2024-12-23 04:09+0000\n"
1212
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
1313
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
1414
"Language-Team: LANGUAGE <[email protected]>\n"
@@ -2205,6 +2205,7 @@ msgid "Description"
22052205
msgstr ""
22062206

22072207
#: ../source/guides/analyzing-pypi-package-downloads.rst:77
2208+
#: ../source/specifications/dependency-groups.rst:23
22082209
#: ../source/specifications/dependency-specifiers.rst:29
22092210
#: ../source/specifications/direct-url-data-structure.rst:347
22102211
#: ../source/specifications/version-specifiers.rst:1069
@@ -8406,6 +8407,7 @@ msgstr ""
84068407

84078408
#: ../source/specifications/binary-distribution-format.rst:421
84088409
#: ../source/specifications/core-metadata.rst:917
8410+
#: ../source/specifications/dependency-groups.rst:248
84098411
#: ../source/specifications/dependency-specifiers.rst:477
84108412
#: ../source/specifications/direct-url-data-structure.rst:397
84118413
#: ../source/specifications/direct-url.rst:67
@@ -9152,22 +9154,23 @@ msgstr ""
91529154
msgid "RFC 822 Long Header Fields: :rfc:`822#section-3.1.1`"
91539155
msgstr ""
91549156

9155-
#: ../source/specifications/dependency-specifiers.rst:7
9156-
msgid "Dependency specifiers"
9157+
#: ../source/specifications/dependency-groups.rst:5
9158+
msgid "Dependency Groups"
91579159
msgstr ""
91589160

9159-
#: ../source/specifications/dependency-specifiers.rst:9
9160-
msgid "This document describes the dependency specifiers format as originally specified in :pep:`508`."
9161+
#: ../source/specifications/dependency-groups.rst:7
9162+
msgid "This specification defines Dependency Groups, a mechanism for storing package requirements in ``pyproject.toml`` files such that they are not included in project metadata when it is built."
91619163
msgstr ""
91629164

9163-
#: ../source/specifications/dependency-specifiers.rst:12
9164-
msgid "The job of a dependency is to enable tools like pip [#pip]_ to find the right package to install. Sometimes this is very loose - just specifying a name, and sometimes very specific - referring to a specific file to install. Sometimes dependencies are only relevant in one platform, or only some versions are acceptable, so the language permits describing all these cases."
9165+
#: ../source/specifications/dependency-groups.rst:11
9166+
msgid "Dependency Groups are suitable for internal development use-cases like linting and testing, as well as for projects which are not built for distribution, like collections of related scripts."
91659167
msgstr ""
91669168

9167-
#: ../source/specifications/dependency-specifiers.rst:18
9168-
msgid "The language defined is a compact line based format which is already in widespread use in pip requirements files, though we do not specify the command line option handling that those files permit. There is one caveat - the URL reference form, specified in :ref:`Versioning specifier specification <version-specifiers>` is not actually implemented in pip, but we use that format rather than pip's current native format."
9169+
#: ../source/specifications/dependency-groups.rst:15
9170+
msgid "Fundamentally, Dependency Groups should be thought of as being a standardized subset of the capabilities of ``requirements.txt`` files (which are ``pip``-specific)."
91699171
msgstr ""
91709172

9173+
#: ../source/specifications/dependency-groups.rst:20
91719174
#: ../source/specifications/dependency-specifiers.rst:26
91729175
#: ../source/specifications/direct-url-data-structure.rst:19
91739176
#: ../source/specifications/direct-url.rst:15
@@ -9176,6 +9179,139 @@ msgstr ""
91769179
msgid "Specification"
91779180
msgstr ""
91789181

9182+
#: ../source/specifications/dependency-groups.rst:25
9183+
msgid "This is a simple table which shows a ``test`` group::"
9184+
msgstr ""
9185+
9186+
#: ../source/specifications/dependency-groups.rst:30
9187+
msgid "and a similar table which defines ``test`` and ``coverage`` groups::"
9188+
msgstr ""
9189+
9190+
#: ../source/specifications/dependency-groups.rst:37
9191+
msgid "The ``[dependency-groups]`` Table"
9192+
msgstr ""
9193+
9194+
#: ../source/specifications/dependency-groups.rst:39
9195+
msgid "Dependency Groups are defined as a table in ``pyproject.toml`` named ``dependency-groups``. The ``dependency-groups`` table contains an arbitrary number of user-defined keys, each of which has, as its value, a list of requirements."
9196+
msgstr ""
9197+
9198+
#: ../source/specifications/dependency-groups.rst:44
9199+
msgid "``[dependency-groups]`` keys, sometimes also called \"group names\", must be :ref:`valid non-normalized names <name-format>`. Tools which handle Dependency Groups MUST :ref:`normalize <name-normalization>` these names before comparisons."
9200+
msgstr ""
9201+
9202+
#: ../source/specifications/dependency-groups.rst:49
9203+
msgid "Tools SHOULD prefer to present the original, non-normalized name to users, and if duplicate names are detected after normalization, tools SHOULD emit an error."
9204+
msgstr ""
9205+
9206+
#: ../source/specifications/dependency-groups.rst:53
9207+
msgid "Requirement lists, the values in ``[dependency-groups]``, may contain strings, tables (``dict`` in Python), or a mix of strings and tables. Strings must be valid :ref:`dependency specifiers <dependency-specifiers>`, and tables must be valid Dependency Group Includes."
9208+
msgstr ""
9209+
9210+
#: ../source/specifications/dependency-groups.rst:59
9211+
msgid "Dependency Group Include"
9212+
msgstr ""
9213+
9214+
#: ../source/specifications/dependency-groups.rst:61
9215+
msgid "A Dependency Group Include includes another Dependency Group in the current group."
9216+
msgstr ""
9217+
9218+
#: ../source/specifications/dependency-groups.rst:64
9219+
msgid "An include is a table with exactly one key, ``\"include-group\"``, whose value is a string, the name of another Dependency Group."
9220+
msgstr ""
9221+
9222+
#: ../source/specifications/dependency-groups.rst:67
9223+
msgid "Includes are defined to be exactly equivalent to the contents of the named Dependency Group, inserted into the current group at the location of the include. For example, if ``foo = [\"a\", \"b\"]`` is one group, and ``bar = [\"c\", {include-group = \"foo\"}, \"d\"]`` is another, then ``bar`` should evaluate to ``[\"c\", \"a\", \"b\", \"d\"]`` when Dependency Group Includes are expanded."
9224+
msgstr ""
9225+
9226+
#: ../source/specifications/dependency-groups.rst:73
9227+
msgid "Dependency Group Includes may specify the same package multiple times. Tools SHOULD NOT deduplicate or otherwise alter the list contents produced by the include. For example, given the following table:"
9228+
msgstr ""
9229+
9230+
#: ../source/specifications/dependency-groups.rst:90
9231+
msgid "The resolved value of ``all`` SHOULD be ``[\"foo\", \"foo\", \"foo>1.0\", \"foo<1.0\"]``. Tools should handle such a list exactly as they would handle any other case in which they are asked to process the same requirement multiple times with different version constraints."
9232+
msgstr ""
9233+
9234+
#: ../source/specifications/dependency-groups.rst:95
9235+
msgid "Dependency Group Includes may include groups containing Dependency Group Includes, in which case those includes should be expanded as well. Dependency Group Includes MUST NOT include cycles, and tools SHOULD report an error if they detect a cycle."
9236+
msgstr ""
9237+
9238+
#: ../source/specifications/dependency-groups.rst:100
9239+
msgid "Package Building"
9240+
msgstr ""
9241+
9242+
#: ../source/specifications/dependency-groups.rst:102
9243+
msgid "Build backends MUST NOT include Dependency Group data in built distributions as package metadata. This means that sdist ``PKG-INFO`` and wheel ``METADATA`` files should not include referenceable fields containing Dependency Groups."
9244+
msgstr ""
9245+
9246+
#: ../source/specifications/dependency-groups.rst:106
9247+
msgid "It is, however, valid to use Dependency Groups in the evaluation of dynamic metadata, and ``pyproject.toml`` files included in sdists will still contain ``[dependency-groups]``. However, the table's contents are not part of a built package's interfaces."
9248+
msgstr ""
9249+
9250+
#: ../source/specifications/dependency-groups.rst:112
9251+
msgid "Installing Dependency Groups & Extras"
9252+
msgstr ""
9253+
9254+
#: ../source/specifications/dependency-groups.rst:114
9255+
msgid "There is no syntax or specification-defined interface for installing or referring to Dependency Groups. Tools are expected to provide dedicated interfaces for this purpose."
9256+
msgstr ""
9257+
9258+
#: ../source/specifications/dependency-groups.rst:118
9259+
msgid "Tools MAY choose to provide the same or similar interfaces for interacting with Dependency Groups as they do for managing extras. Tools authors are advised that the specification does not forbid having an extra whose name matches a Dependency Group. Separately, users are advised to avoid creating Dependency Groups whose names match extras, and tools MAY treat such matching as an error."
9260+
msgstr ""
9261+
9262+
#: ../source/specifications/dependency-groups.rst:126
9263+
msgid "Validation and Compatibility"
9264+
msgstr ""
9265+
9266+
#: ../source/specifications/dependency-groups.rst:128
9267+
msgid "Tools supporting Dependency Groups may want to validate data before using it. When implementing such validation, authors should be aware of the possibility of future extensions to the specification, so that they do not unnecessarily emit errors or warnings."
9268+
msgstr ""
9269+
9270+
#: ../source/specifications/dependency-groups.rst:133
9271+
msgid "Tools SHOULD error when evaluating or processing unrecognized data in Dependency Groups."
9272+
msgstr ""
9273+
9274+
#: ../source/specifications/dependency-groups.rst:136
9275+
msgid "Tools SHOULD NOT eagerly validate the contents of *all* Dependency Groups unless they have a need to do so."
9276+
msgstr ""
9277+
9278+
#: ../source/specifications/dependency-groups.rst:139
9279+
msgid "This means that in the presence of the following data, most tools should allow the ``foo`` group to be used and only error if the ``bar`` group is used:"
9280+
msgstr ""
9281+
9282+
#: ../source/specifications/dependency-groups.rst:150
9283+
msgid "There are several known cases of tools which have good cause to be stricter. Linters and validators are an example, as their purpose is to validate the contents of all Dependency Groups."
9284+
msgstr ""
9285+
9286+
#: ../source/specifications/dependency-groups.rst:155
9287+
#: ../source/specifications/inline-script-metadata.rst:123
9288+
msgid "Reference Implementation"
9289+
msgstr ""
9290+
9291+
#: ../source/specifications/dependency-groups.rst:157
9292+
msgid "The following Reference Implementation prints the contents of a Dependency Group to stdout, newline delimited. The output is therefore valid ``requirements.txt`` data."
9293+
msgstr ""
9294+
9295+
#: ../source/specifications/dependency-groups.rst:250
9296+
msgid "October 2024: This specification was approved through :pep:`735`."
9297+
msgstr ""
9298+
9299+
#: ../source/specifications/dependency-specifiers.rst:7
9300+
msgid "Dependency specifiers"
9301+
msgstr ""
9302+
9303+
#: ../source/specifications/dependency-specifiers.rst:9
9304+
msgid "This document describes the dependency specifiers format as originally specified in :pep:`508`."
9305+
msgstr ""
9306+
9307+
#: ../source/specifications/dependency-specifiers.rst:12
9308+
msgid "The job of a dependency is to enable tools like pip [#pip]_ to find the right package to install. Sometimes this is very loose - just specifying a name, and sometimes very specific - referring to a specific file to install. Sometimes dependencies are only relevant in one platform, or only some versions are acceptable, so the language permits describing all these cases."
9309+
msgstr ""
9310+
9311+
#: ../source/specifications/dependency-specifiers.rst:18
9312+
msgid "The language defined is a compact line based format which is already in widespread use in pip requirements files, though we do not specify the command line option handling that those files permit. There is one caveat - the URL reference form, specified in :ref:`Versioning specifier specification <version-specifiers>` is not actually implemented in pip, but we use that format rather than pip's current native format."
9313+
msgstr ""
9314+
91799315
#: ../source/specifications/dependency-specifiers.rst:31
91809316
msgid "All features of the language shown with a name based lookup::"
91819317
msgstr ""
@@ -10594,10 +10730,6 @@ msgstr ""
1059410730
msgid "The following is an example of a script with embedded metadata:"
1059510731
msgstr ""
1059610732

10597-
#: ../source/specifications/inline-script-metadata.rst:123
10598-
msgid "Reference Implementation"
10599-
msgstr ""
10600-
1060110733
#: ../source/specifications/inline-script-metadata.rst:125
1060210734
msgid "The following is an example of how to read the metadata on Python 3.11 or higher."
1060310735
msgstr ""

0 commit comments

Comments
 (0)