Skip to content

Commit 2aee101

Browse files
Merge branch 'pypa:main' into simplify_single_source
2 parents 0aefb9e + 7e06fb2 commit 2aee101

File tree

5 files changed

+7
-4
lines changed

5 files changed

+7
-4
lines changed

source/guides/creating-command-line-tools.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ in :file:`cli.py`:
7878
7979
import typer
8080
81-
from .hello import greet
81+
from .greet import greet
8282
8383
8484
app = typer.Typer()

source/guides/writing-pyproject-toml.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,7 @@ only field that cannot be marked as dynamic.
130130
[project]
131131
name = "spam-eggs"
132132
133-
The project name must consists of ASCII letters, digits, underscores "``_``",
133+
The project name must consist of ASCII letters, digits, underscores "``_``",
134134
hyphens "``-``" and periods "``.``". It must not start or end with an
135135
underscore, hyphen or period.
136136

source/specifications/core-metadata.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -725,7 +725,7 @@ This field may be followed by an environment marker after a semicolon.
725725
Examples::
726726

727727
Provides-Dist: OtherProject
728-
Provides-Dist: AnotherProject (3.4)
728+
Provides-Dist: AnotherProject==3.4
729729
Provides-Dist: virtual_package; python_version >= "3.4"
730730

731731
.. _core-metadata-obsoletes-dist:

source/specifications/direct-url-data-structure.rst

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,9 @@ Depending on what ``url`` refers to, the second field MUST be one of ``vcs_info`
3131
local directory). These info fields have a (possibly empty) subdictionary as
3232
value, with the possible keys defined below.
3333

34+
Security Considerations
35+
-----------------------
36+
3437
When persisted, ``url`` MUST be stripped of any sensitive authentication information,
3538
for security reasons.
3639

source/specifications/platform-compatibility-tags.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -256,7 +256,7 @@ The full list of simple tags is::
256256

257257
for x in pytag.split('.'):
258258
for y in abitag.split('.'):
259-
for z in archtag.split('.'):
259+
for z in platformtag.split('.'):
260260
yield '-'.join((x, y, z))
261261

262262
A bdist format that implements this scheme should include the expanded

0 commit comments

Comments
 (0)