Skip to content

Commit f8dc8a3

Browse files
Update messages.pot as of version 8eb9cb2
1 parent c01cd3c commit f8dc8a3

1 file changed

Lines changed: 38 additions & 22 deletions

File tree

‎locales/messages.pot‎

Lines changed: 38 additions & 22 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: 2026-06-22 14:38+0000\n"
11+
"POT-Creation-Date: 2026-07-22 20:53+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 <LL@li.org>\n"
@@ -8505,7 +8505,7 @@ msgid "A similar model involves installing an alternative Python distribution, b
85058505
msgstr ""
85068506

85078507
#: ../source/overview.rst:282
8508-
msgid "`ActiveState ActivePython <https://www.activestate.com/products/python/>`_"
8508+
msgid "`ActiveState ActivePython <https://www.activestate.com/platform/supported-languages/python>`_"
85098509
msgstr ""
85108510

85118511
#: ../source/overview.rst:283
@@ -9155,7 +9155,7 @@ msgstr ""
91559155
#: ../source/specifications/entry-points.rst:163
91569156
#: ../source/specifications/externally-managed-environments.rst:472
91579157
#: ../source/specifications/glob-patterns.rst:118
9158-
#: ../source/specifications/inline-script-metadata.rst:213
9158+
#: ../source/specifications/inline-script-metadata.rst:224
91599159
#: ../source/specifications/name-normalization.rst:50
91609160
#: ../source/specifications/platform-compatibility-tags.rst:440
91619161
#: ../source/specifications/pylock-toml.rst:841
@@ -9224,7 +9224,7 @@ msgstr ""
92249224

92259225
#: ../source/specifications/build-details/index.rst:28
92269226
#: ../source/specifications/build-details/v1.0.rst:16
9227-
#: ../source/specifications/inline-script-metadata.rst:100
9227+
#: ../source/specifications/inline-script-metadata.rst:111
92289228
#: ../source/specifications/pylock-toml.rst:737
92299229
msgid "Example"
92309230
msgstr ""
@@ -10728,7 +10728,7 @@ msgid "There are several known cases of tools which have good cause to be strict
1072810728
msgstr ""
1072910729

1073010730
#: ../source/specifications/dependency-groups.rst:157
10731-
#: ../source/specifications/inline-script-metadata.rst:123
10731+
#: ../source/specifications/inline-script-metadata.rst:134
1073210732
msgid "Reference Implementation"
1073310733
msgstr ""
1073410734

@@ -12536,72 +12536,88 @@ msgstr ""
1253612536
msgid "Tools MUST NOT read from metadata blocks with types that have not been standardized by this specification."
1253712537
msgstr ""
1253812538

12539-
#: ../source/specifications/inline-script-metadata.rst:74
12539+
#: ../source/specifications/inline-script-metadata.rst:73
12540+
msgid "Note that the specification only requires that *top-level* comment blocks are recognised as containing metadata. However, parsing Python code is non-trivial, and therefore:"
12541+
msgstr ""
12542+
12543+
#: ../source/specifications/inline-script-metadata.rst:77
12544+
msgid "Tools MAY choose to do a simple textual scan, rather than a full Python parse."
12545+
msgstr ""
12546+
12547+
#: ../source/specifications/inline-script-metadata.rst:78
12548+
msgid "As a result of the previous point, the behaviour of scripts that contain data that looks like metadata within another Python construct such as a multi-line string is tool-dependent and should not be relied on."
12549+
msgstr ""
12550+
12551+
#: ../source/specifications/inline-script-metadata.rst:81
12552+
msgid "The canonical regular expression provided above is an example of an implementation that does a simple textual scan."
12553+
msgstr ""
12554+
12555+
#: ../source/specifications/inline-script-metadata.rst:85
1254012556
msgid "script type"
1254112557
msgstr ""
1254212558

12543-
#: ../source/specifications/inline-script-metadata.rst:76
12559+
#: ../source/specifications/inline-script-metadata.rst:87
1254412560
msgid "The first type of metadata block is named ``script``, which contains script metadata (dependency data and tool configuration)."
1254512561
msgstr ""
1254612562

12547-
#: ../source/specifications/inline-script-metadata.rst:79
12563+
#: ../source/specifications/inline-script-metadata.rst:90
1254812564
msgid "This document MAY include the top-level fields ``dependencies`` and ``requires-python``, and MAY optionally include a ``[tool]`` table."
1254912565
msgstr ""
1255012566

12551-
#: ../source/specifications/inline-script-metadata.rst:82
12567+
#: ../source/specifications/inline-script-metadata.rst:93
1255212568
msgid "The ``[tool]`` table MAY be used by any tool, script runner or otherwise, to configure behavior. It has the same semantics as the :ref:`[tool] table in pyproject.toml <pyproject-tool-table>`."
1255312569
msgstr ""
1255412570

12555-
#: ../source/specifications/inline-script-metadata.rst:86
12571+
#: ../source/specifications/inline-script-metadata.rst:97
1255612572
msgid "The top-level fields are:"
1255712573
msgstr ""
1255812574

12559-
#: ../source/specifications/inline-script-metadata.rst:88
12575+
#: ../source/specifications/inline-script-metadata.rst:99
1256012576
msgid "``dependencies``: A list of strings that specifies the runtime dependencies of the script. Each entry MUST be a valid :ref:`dependency specifier <dependency-specifiers>`."
1256112577
msgstr ""
1256212578

12563-
#: ../source/specifications/inline-script-metadata.rst:91
12579+
#: ../source/specifications/inline-script-metadata.rst:102
1256412580
msgid "``requires-python``: A string that specifies the Python version(s) with which the script is compatible. The value of this field MUST be a valid :ref:`version specifier <version-specifiers>`."
1256512581
msgstr ""
1256612582

12567-
#: ../source/specifications/inline-script-metadata.rst:95
12583+
#: ../source/specifications/inline-script-metadata.rst:106
1256812584
msgid "Script runners MUST error if the specified ``dependencies`` cannot be provided. Script runners SHOULD error if no version of Python that satisfies the specified ``requires-python`` can be provided."
1256912585
msgstr ""
1257012586

12571-
#: ../source/specifications/inline-script-metadata.rst:102
12587+
#: ../source/specifications/inline-script-metadata.rst:113
1257212588
msgid "The following is an example of a script with embedded metadata:"
1257312589
msgstr ""
1257412590

12575-
#: ../source/specifications/inline-script-metadata.rst:125
12591+
#: ../source/specifications/inline-script-metadata.rst:136
1257612592
msgid "The following is an example of how to read the metadata on Python 3.11 or higher."
1257712593
msgstr ""
1257812594

12579-
#: ../source/specifications/inline-script-metadata.rst:151
12595+
#: ../source/specifications/inline-script-metadata.rst:162
1258012596
msgid "Often tools will edit dependencies like package managers or dependency update automation in CI. The following is a crude example of modifying the content using the ``tomlkit`` library__."
1258112597
msgstr ""
1258212598

12583-
#: ../source/specifications/inline-script-metadata.rst:182
12599+
#: ../source/specifications/inline-script-metadata.rst:193
1258412600
msgid "Note that this example used a library that preserves TOML formatting. This is not a requirement for editing by any means but rather is a \"nice to have\" feature."
1258512601
msgstr ""
1258612602

12587-
#: ../source/specifications/inline-script-metadata.rst:186
12603+
#: ../source/specifications/inline-script-metadata.rst:197
1258812604
msgid "The following is an example of how to read a stream of arbitrary metadata blocks."
1258912605
msgstr ""
1259012606

12591-
#: ../source/specifications/inline-script-metadata.rst:205
12607+
#: ../source/specifications/inline-script-metadata.rst:216
1259212608
#: ../source/specifications/simple-repository-api.rst:925
1259312609
msgid "Recommendations"
1259412610
msgstr ""
1259512611

12596-
#: ../source/specifications/inline-script-metadata.rst:207
12612+
#: ../source/specifications/inline-script-metadata.rst:218
1259712613
msgid "Tools that support managing different versions of Python should attempt to use the highest available version of Python that is compatible with the script's ``requires-python`` metadata, if defined."
1259812614
msgstr ""
1259912615

12600-
#: ../source/specifications/inline-script-metadata.rst:215
12616+
#: ../source/specifications/inline-script-metadata.rst:226
1260112617
msgid "October 2023: This specification was conditionally approved through :pep:`723`."
1260212618
msgstr ""
1260312619

12604-
#: ../source/specifications/inline-script-metadata.rst:216
12620+
#: ../source/specifications/inline-script-metadata.rst:227
1260512621
msgid "January 2024: Through amendments to :pep:`723`, the ``pyproject`` metadata block type was renamed to ``script``, and the ``[run]`` table was dropped, making the ``dependencies`` and ``requires-python`` keys top-level. Additionally, the specification is no longer provisional."
1260612622
msgstr ""
1260712623

0 commit comments

Comments
 (0)