Skip to content

Commit

Permalink
Update changelog for 4.0.1 (pypa#904)
Browse files Browse the repository at this point in the history
* Fix twine import error from towncrier

* Update changelog for 4.0.1
  • Loading branch information
bhrutledge committed Sep 27, 2022
1 parent 62f3c67 commit 3d50f66
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 5 deletions.
1 change: 0 additions & 1 deletion changelog/890.bugfix.rst

This file was deleted.

1 change: 0 additions & 1 deletion changelog/896.bugfix.rst

This file was deleted.

10 changes: 10 additions & 0 deletions docs/changelog.rst
Expand Up @@ -12,6 +12,16 @@ schemes recommended by the Python Packaging Authority.
.. towncrier release notes start
Twine 4.0.1 (2022-06-01)
------------------------

Bugfixes
^^^^^^^^

- Improve logging when keyring fails. (`#890 <https://github.com/pypa/twine/issues/890>`_)
- Reconfgure root logger to show all log messages. (`#896 <https://github.com/pypa/twine/issues/896>`_)


Twine 4.0.0 (2022-03-31)
------------------------

Expand Down
1 change: 0 additions & 1 deletion tox.ini
Expand Up @@ -83,7 +83,6 @@ commands =
python -c 'with open("mypy/index.txt") as f: print(f.read())'

[testenv:changelog]
skip_install = True
basepython = python3
deps =
towncrier
Expand Down
4 changes: 2 additions & 2 deletions twine/auth.py
Expand Up @@ -28,7 +28,7 @@ def __init__(self, config: utils.RepositoryConfig, input: CredentialInput) -> No
def choose(cls, interactive: bool) -> Type["Resolver"]:
return cls if interactive else Private

@property # type: ignore # https://github.com/python/mypy/issues/1362
@property
@functools.lru_cache()
def username(self) -> Optional[str]:
return utils.get_userpass_value(
Expand All @@ -38,7 +38,7 @@ def username(self) -> Optional[str]:
prompt_strategy=self.username_from_keyring_or_prompt,
)

@property # type: ignore # https://github.com/python/mypy/issues/1362
@property
@functools.lru_cache()
def password(self) -> Optional[str]:
return utils.get_userpass_value(
Expand Down

0 comments on commit 3d50f66

Please sign in to comment.