Skip to content

Commit fa8e3d7

Browse files
authored
Merge pull request #1137 from woodruffw-forks/ww/better-messaging
docs, twine: improve messaging around #1040
2 parents 65eab11 + a6921c9 commit fa8e3d7

File tree

2 files changed

+7
-3
lines changed

2 files changed

+7
-3
lines changed

docs/changelog.rst

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,11 +53,15 @@ Bugfixes
5353

5454
- Use ``email.message`` instead of ``cgi`` as ``cgi`` has been deprecated (`#969 <https://github.com/pypa/twine/issues/969>`_)
5555

56+
Features
57+
^^^^^^^^
58+
59+
- Remove support for usernames other than ``__token__`` when uploading to PyPI and TestPyPI (`#1040 <https://github.com/pypa/twine/issues/1040>`_)
5660

5761
Misc
5862
^^^^
5963

60-
- `#931 <https://github.com/pypa/twine/issues/931>`_, `#991 <https://github.com/pypa/twine/issues/991>`_, `#1028 <https://github.com/pypa/twine/issues/1028>`_, `#1040 <https://github.com/pypa/twine/issues/1040>`_
64+
- `#931 <https://github.com/pypa/twine/issues/931>`_, `#991 <https://github.com/pypa/twine/issues/991>`_, `#1028 <https://github.com/pypa/twine/issues/1028>`_
6165

6266

6367
Twine 4.0.2 (2022-11-30)

twine/settings.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -209,8 +209,8 @@ def register_argparse_arguments(parser: argparse.ArgumentParser) -> None:
209209
env="TWINE_USERNAME",
210210
required=False,
211211
help="The username to authenticate to the repository "
212-
"(package index) as. (Can also be set via "
213-
"%(env)s environment variable.)",
212+
"(package index) as. Has no effect on PyPI or TestPyPI. "
213+
"(Can also be set via %(env)s environment variable.)",
214214
)
215215
parser.add_argument(
216216
"-p",

0 commit comments

Comments
 (0)