Skip to content

Commit 2b97140

Browse files
authored
Merge pull request #1669 from weblate/weblate-pypa-packaging-python-org
2 parents 5ec9020 + 05d1429 commit 2b97140

File tree

30 files changed

+16702
-7870
lines changed

30 files changed

+16702
-7870
lines changed

locales/ar/LC_MESSAGES/messages.po

Lines changed: 242 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ msgid ""
77
msgstr ""
88
"Project-Id-Version: Python Packaging User Guide\n"
99
"Report-Msgid-Bugs-To: \n"
10-
"POT-Creation-Date: 2024-11-25 21:53+0000\n"
10+
"POT-Creation-Date: 2025-01-07 04:23+0000\n"
1111
"PO-Revision-Date: 2024-01-18 07:31+0000\n"
1212
"Last-Translator: Youcef Guenaoua <[email protected]>\n"
1313
"Language-Team: Arabic <https://hosted.weblate.org/projects/pypa/packaging-"
@@ -1668,7 +1668,9 @@ msgid "Where to read more about this?"
16681668
msgstr ""
16691669

16701670
#: ../source/discussions/setup-py-deprecated.rst:213
1671-
msgid "https://blog.ganssle.io/articles/2021/10/setup-py-deprecated.html"
1671+
msgid ""
1672+
"`Why you shouldn't invoke setup.py directly <https://blog.ganssle.io/"
1673+
"articles/2021/10/setup-py-deprecated.html>`__ by Paul Ganssle"
16721674
msgstr ""
16731675

16741676
#: ../source/discussions/setup-py-deprecated.rst:215
@@ -3180,6 +3182,7 @@ msgid "Description"
31803182
msgstr ""
31813183

31823184
#: ../source/guides/analyzing-pypi-package-downloads.rst:77
3185+
#: ../source/specifications/dependency-groups.rst:23
31833186
#: ../source/specifications/dependency-specifiers.rst:29
31843187
#: ../source/specifications/direct-url-data-structure.rst:347
31853188
#: ../source/specifications/version-specifiers.rst:1069
@@ -5202,9 +5205,9 @@ msgstr ""
52025205

52035206
#: ../source/guides/installing-scientific-packages.rst:91
52045207
msgid ""
5205-
"The SciPy site lists `several distributions <https://scipy.org/install/"
5206-
"#distributions>`_ that provide the full SciPy stack to end users in an easy "
5207-
"to use and update format."
5208+
"The SciPy site lists `several distributions <https://scipy.org/install/>`_ "
5209+
"that provide the full SciPy stack to end users in an easy to use and update "
5210+
"format."
52085211
msgstr ""
52095212

52105213
#: ../source/guides/installing-scientific-packages.rst:96
@@ -11901,7 +11904,8 @@ msgstr ""
1190111904
msgid ""
1190211905
"Python scripts must appear in ``scripts`` and begin with exactly ``b'#!"
1190311906
"python'`` in order to enjoy script wrapper generation and ``#!python`` "
11904-
"rewriting at install time. They may have any or no extension."
11907+
"rewriting at install time. They may have any or no extension. The "
11908+
"``scripts`` directory may only contain regular files."
1190511909
msgstr ""
1190611910

1190711911
#: ../source/specifications/binary-distribution-format.rst:193
@@ -12250,6 +12254,7 @@ msgstr ""
1225012254

1225112255
#: ../source/specifications/binary-distribution-format.rst:421
1225212256
#: ../source/specifications/core-metadata.rst:917
12257+
#: ../source/specifications/dependency-groups.rst:248
1225312258
#: ../source/specifications/dependency-specifiers.rst:477
1225412259
#: ../source/specifications/direct-url-data-structure.rst:397
1225512260
#: ../source/specifications/direct-url.rst:67
@@ -12277,11 +12282,19 @@ msgid ""
1227712282
"bring them into line with what popular tools actually do."
1227812283
msgstr ""
1227912284

12280-
#: ../source/specifications/binary-distribution-format.rst:429
12285+
#: ../source/specifications/binary-distribution-format.rst:426
12286+
msgid ""
12287+
"December 2024: Clarified that the ``scripts`` folder should only contain "
12288+
"regular files (the expected behaviour of consuming tools when encountering "
12289+
"symlinks or subdirectories in this folder is not formally defined, and hence "
12290+
"may vary between tools)."
12291+
msgstr ""
12292+
12293+
#: ../source/specifications/binary-distribution-format.rst:433
1228112294
msgid "Appendix"
1228212295
msgstr ""
1228312296

12284-
#: ../source/specifications/binary-distribution-format.rst:431
12297+
#: ../source/specifications/binary-distribution-format.rst:435
1228512298
msgid "Example urlsafe-base64-nopad implementation::"
1228612299
msgstr ""
1228712300

@@ -13298,6 +13311,227 @@ msgstr ""
1329813311
msgid "RFC 822 Long Header Fields: :rfc:`822#section-3.1.1`"
1329913312
msgstr ""
1330013313

13314+
#: ../source/specifications/dependency-groups.rst:5
13315+
msgid "Dependency Groups"
13316+
msgstr ""
13317+
13318+
#: ../source/specifications/dependency-groups.rst:7
13319+
msgid ""
13320+
"This specification defines Dependency Groups, a mechanism for storing "
13321+
"package requirements in ``pyproject.toml`` files such that they are not "
13322+
"included in project metadata when it is built."
13323+
msgstr ""
13324+
13325+
#: ../source/specifications/dependency-groups.rst:11
13326+
msgid ""
13327+
"Dependency Groups are suitable for internal development use-cases like "
13328+
"linting and testing, as well as for projects which are not built for "
13329+
"distribution, like collections of related scripts."
13330+
msgstr ""
13331+
13332+
#: ../source/specifications/dependency-groups.rst:15
13333+
msgid ""
13334+
"Fundamentally, Dependency Groups should be thought of as being a "
13335+
"standardized subset of the capabilities of ``requirements.txt`` files (which "
13336+
"are ``pip``-specific)."
13337+
msgstr ""
13338+
13339+
#: ../source/specifications/dependency-groups.rst:20
13340+
#: ../source/specifications/dependency-specifiers.rst:26
13341+
#: ../source/specifications/direct-url-data-structure.rst:19
13342+
#: ../source/specifications/direct-url.rst:15
13343+
#: ../source/specifications/index-hosted-attestations.rst:17
13344+
#: ../source/specifications/inline-script-metadata.rst:13
13345+
msgid "Specification"
13346+
msgstr ""
13347+
13348+
#: ../source/specifications/dependency-groups.rst:25
13349+
msgid "This is a simple table which shows a ``test`` group::"
13350+
msgstr ""
13351+
13352+
#: ../source/specifications/dependency-groups.rst:30
13353+
msgid "and a similar table which defines ``test`` and ``coverage`` groups::"
13354+
msgstr ""
13355+
13356+
#: ../source/specifications/dependency-groups.rst:37
13357+
msgid "The ``[dependency-groups]`` Table"
13358+
msgstr ""
13359+
13360+
#: ../source/specifications/dependency-groups.rst:39
13361+
msgid ""
13362+
"Dependency Groups are defined as a table in ``pyproject.toml`` named "
13363+
"``dependency-groups``. The ``dependency-groups`` table contains an arbitrary "
13364+
"number of user-defined keys, each of which has, as its value, a list of "
13365+
"requirements."
13366+
msgstr ""
13367+
13368+
#: ../source/specifications/dependency-groups.rst:44
13369+
msgid ""
13370+
"``[dependency-groups]`` keys, sometimes also called \"group names\", must "
13371+
"be :ref:`valid non-normalized names <name-format>`. Tools which handle "
13372+
"Dependency Groups MUST :ref:`normalize <name-normalization>` these names "
13373+
"before comparisons."
13374+
msgstr ""
13375+
13376+
#: ../source/specifications/dependency-groups.rst:49
13377+
msgid ""
13378+
"Tools SHOULD prefer to present the original, non-normalized name to users, "
13379+
"and if duplicate names are detected after normalization, tools SHOULD emit "
13380+
"an error."
13381+
msgstr ""
13382+
13383+
#: ../source/specifications/dependency-groups.rst:53
13384+
msgid ""
13385+
"Requirement lists, the values in ``[dependency-groups]``, may contain "
13386+
"strings, tables (``dict`` in Python), or a mix of strings and tables. "
13387+
"Strings must be valid :ref:`dependency specifiers <dependency-specifiers>`, "
13388+
"and tables must be valid Dependency Group Includes."
13389+
msgstr ""
13390+
13391+
#: ../source/specifications/dependency-groups.rst:59
13392+
msgid "Dependency Group Include"
13393+
msgstr ""
13394+
13395+
#: ../source/specifications/dependency-groups.rst:61
13396+
msgid ""
13397+
"A Dependency Group Include includes another Dependency Group in the current "
13398+
"group."
13399+
msgstr ""
13400+
13401+
#: ../source/specifications/dependency-groups.rst:64
13402+
msgid ""
13403+
"An include is a table with exactly one key, ``\"include-group\"``, whose "
13404+
"value is a string, the name of another Dependency Group."
13405+
msgstr ""
13406+
13407+
#: ../source/specifications/dependency-groups.rst:67
13408+
msgid ""
13409+
"Includes are defined to be exactly equivalent to the contents of the named "
13410+
"Dependency Group, inserted into the current group at the location of the "
13411+
"include. For example, if ``foo = [\"a\", \"b\"]`` is one group, and ``bar = "
13412+
"[\"c\", {include-group = \"foo\"}, \"d\"]`` is another, then ``bar`` should "
13413+
"evaluate to ``[\"c\", \"a\", \"b\", \"d\"]`` when Dependency Group Includes "
13414+
"are expanded."
13415+
msgstr ""
13416+
13417+
#: ../source/specifications/dependency-groups.rst:73
13418+
msgid ""
13419+
"Dependency Group Includes may specify the same package multiple times. Tools "
13420+
"SHOULD NOT deduplicate or otherwise alter the list contents produced by the "
13421+
"include. For example, given the following table:"
13422+
msgstr ""
13423+
13424+
#: ../source/specifications/dependency-groups.rst:90
13425+
msgid ""
13426+
"The resolved value of ``all`` SHOULD be ``[\"foo\", \"foo\", \"foo>1.0\", "
13427+
"\"foo<1.0\"]``. Tools should handle such a list exactly as they would handle "
13428+
"any other case in which they are asked to process the same requirement "
13429+
"multiple times with different version constraints."
13430+
msgstr ""
13431+
13432+
#: ../source/specifications/dependency-groups.rst:95
13433+
msgid ""
13434+
"Dependency Group Includes may include groups containing Dependency Group "
13435+
"Includes, in which case those includes should be expanded as well. "
13436+
"Dependency Group Includes MUST NOT include cycles, and tools SHOULD report "
13437+
"an error if they detect a cycle."
13438+
msgstr ""
13439+
13440+
#: ../source/specifications/dependency-groups.rst:100
13441+
msgid "Package Building"
13442+
msgstr ""
13443+
13444+
#: ../source/specifications/dependency-groups.rst:102
13445+
msgid ""
13446+
"Build backends MUST NOT include Dependency Group data in built distributions "
13447+
"as package metadata. This means that sdist ``PKG-INFO`` and wheel "
13448+
"``METADATA`` files should not include referenceable fields containing "
13449+
"Dependency Groups."
13450+
msgstr ""
13451+
13452+
#: ../source/specifications/dependency-groups.rst:106
13453+
msgid ""
13454+
"It is, however, valid to use Dependency Groups in the evaluation of dynamic "
13455+
"metadata, and ``pyproject.toml`` files included in sdists will still contain "
13456+
"``[dependency-groups]``. However, the table's contents are not part of a "
13457+
"built package's interfaces."
13458+
msgstr ""
13459+
13460+
#: ../source/specifications/dependency-groups.rst:112
13461+
msgid "Installing Dependency Groups & Extras"
13462+
msgstr ""
13463+
13464+
#: ../source/specifications/dependency-groups.rst:114
13465+
msgid ""
13466+
"There is no syntax or specification-defined interface for installing or "
13467+
"referring to Dependency Groups. Tools are expected to provide dedicated "
13468+
"interfaces for this purpose."
13469+
msgstr ""
13470+
13471+
#: ../source/specifications/dependency-groups.rst:118
13472+
msgid ""
13473+
"Tools MAY choose to provide the same or similar interfaces for interacting "
13474+
"with Dependency Groups as they do for managing extras. Tools authors are "
13475+
"advised that the specification does not forbid having an extra whose name "
13476+
"matches a Dependency Group. Separately, users are advised to avoid creating "
13477+
"Dependency Groups whose names match extras, and tools MAY treat such "
13478+
"matching as an error."
13479+
msgstr ""
13480+
13481+
#: ../source/specifications/dependency-groups.rst:126
13482+
msgid "Validation and Compatibility"
13483+
msgstr ""
13484+
13485+
#: ../source/specifications/dependency-groups.rst:128
13486+
msgid ""
13487+
"Tools supporting Dependency Groups may want to validate data before using "
13488+
"it. When implementing such validation, authors should be aware of the "
13489+
"possibility of future extensions to the specification, so that they do not "
13490+
"unnecessarily emit errors or warnings."
13491+
msgstr ""
13492+
13493+
#: ../source/specifications/dependency-groups.rst:133
13494+
msgid ""
13495+
"Tools SHOULD error when evaluating or processing unrecognized data in "
13496+
"Dependency Groups."
13497+
msgstr ""
13498+
13499+
#: ../source/specifications/dependency-groups.rst:136
13500+
msgid ""
13501+
"Tools SHOULD NOT eagerly validate the contents of *all* Dependency Groups "
13502+
"unless they have a need to do so."
13503+
msgstr ""
13504+
13505+
#: ../source/specifications/dependency-groups.rst:139
13506+
msgid ""
13507+
"This means that in the presence of the following data, most tools should "
13508+
"allow the ``foo`` group to be used and only error if the ``bar`` group is "
13509+
"used:"
13510+
msgstr ""
13511+
13512+
#: ../source/specifications/dependency-groups.rst:150
13513+
msgid ""
13514+
"There are several known cases of tools which have good cause to be stricter. "
13515+
"Linters and validators are an example, as their purpose is to validate the "
13516+
"contents of all Dependency Groups."
13517+
msgstr ""
13518+
13519+
#: ../source/specifications/dependency-groups.rst:155
13520+
#: ../source/specifications/inline-script-metadata.rst:123
13521+
msgid "Reference Implementation"
13522+
msgstr ""
13523+
13524+
#: ../source/specifications/dependency-groups.rst:157
13525+
msgid ""
13526+
"The following Reference Implementation prints the contents of a Dependency "
13527+
"Group to stdout, newline delimited. The output is therefore valid "
13528+
"``requirements.txt`` data."
13529+
msgstr ""
13530+
13531+
#: ../source/specifications/dependency-groups.rst:250
13532+
msgid "October 2024: This specification was approved through :pep:`735`."
13533+
msgstr ""
13534+
1330113535
#: ../source/specifications/dependency-specifiers.rst:7
1330213536
msgid "Dependency specifiers"
1330313537
msgstr ""
@@ -13327,14 +13561,6 @@ msgid ""
1332713561
"we use that format rather than pip's current native format."
1332813562
msgstr ""
1332913563

13330-
#: ../source/specifications/dependency-specifiers.rst:26
13331-
#: ../source/specifications/direct-url-data-structure.rst:19
13332-
#: ../source/specifications/direct-url.rst:15
13333-
#: ../source/specifications/index-hosted-attestations.rst:17
13334-
#: ../source/specifications/inline-script-metadata.rst:13
13335-
msgid "Specification"
13336-
msgstr ""
13337-
1333813564
#: ../source/specifications/dependency-specifiers.rst:31
1333913565
msgid "All features of the language shown with a name based lookup::"
1334013566
msgstr ""
@@ -15526,10 +15752,6 @@ msgstr ""
1552615752
msgid "The following is an example of a script with embedded metadata:"
1552715753
msgstr ""
1552815754

15529-
#: ../source/specifications/inline-script-metadata.rst:123
15530-
msgid "Reference Implementation"
15531-
msgstr ""
15532-
1553315755
#: ../source/specifications/inline-script-metadata.rst:125
1553415756
msgid ""
1553515757
"The following is an example of how to read the metadata on Python 3.11 or "

0 commit comments

Comments
 (0)