Skip to content

Commit e7598db

Browse files
Merge branch 'main' into translation/source
2 parents 7ce3f93 + 2d832c4 commit e7598db

2 files changed

Lines changed: 12 additions & 13 deletions

File tree

‎source/glossary.rst‎

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -119,15 +119,6 @@ Glossary
119119
extensions.
120120

121121

122-
Known Good Set (KGS)
123-
124-
A set of distributions at specified versions which are compatible with
125-
each other. Typically a test suite will be run which passes all tests
126-
before a specific set of packages is declared a known good set. This
127-
term is commonly used by frameworks and toolkits which are comprised of
128-
multiple individual distributions.
129-
130-
131122
Import Package
132123

133124
A Python module which can contain other modules or recursively, other
@@ -147,6 +138,15 @@ Glossary
147138
as described in the specicifcation :ref:`recording-installed-packages`.
148139

149140

141+
Known Good Set (KGS)
142+
143+
A set of distributions at specified versions which are compatible with
144+
each other. Typically a test suite will be run which passes all tests
145+
before a specific set of packages is declared a known good set. This
146+
term is commonly used by frameworks and toolkits which are comprised of
147+
multiple individual distributions.
148+
149+
150150
Module
151151

152152
The basic unit of code reusability in Python, existing in one of two

‎source/tutorials/packaging-projects.rst‎

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -421,16 +421,15 @@ Once installed, run Twine to upload all of the archives under :file:`dist`:
421421
422422
py -m twine upload --repository testpypi dist/*
423423
424-
You will be prompted for a username and password. For the username,
425-
use ``__token__``. For the password, use the token value, including
426-
the ``pypi-`` prefix.
424+
You will be prompted for an API token. Use the token value, including the ``pypi-``
425+
prefix. Note that the input will be hidden, so be sure to paste correctly.
427426

428427
After the command completes, you should see output similar to this:
429428

430429
.. code-block::
431430
432431
Uploading distributions to https://test.pypi.org/legacy/
433-
Enter your username: __token__
432+
Enter your API token:
434433
Uploading example_package_YOUR_USERNAME_HERE-0.0.1-py3-none-any.whl
435434
100% ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 8.2/8.2 kB • 00:01 • ?
436435
Uploading example_package_YOUR_USERNAME_HERE-0.0.1.tar.gz

0 commit comments

Comments
 (0)