Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adopt towncrier for the changelog #718

Merged
merged 15 commits into from Dec 22, 2020
Merged
26 changes: 26 additions & 0 deletions changelog.rst
@@ -0,0 +1,26 @@
3.2.1.dev23+gafbf79f (2020-11-24)
---------------------------------

Features
^^^^^^^^

- Print files to be uploaded using ``upload --verbose`` (`#670 <https://github.com/pypa/twine/issues/670>`_)
- Print configuration file location when using ``upload --verbose`` (`#675 <https://github.com/pypa/twine/issues/675>`_)
- Print source and values of credentials when using ``upload --verbose`` (`#685 <https://github.com/pypa/twine/issues/685>`_)
- Add support for Python 3.9 (`#708 <https://github.com/pypa/twine/issues/708>`_)
- Turn warnings into errors when using ``check --strict`` (`#715 <https://github.com/pypa/twine/issues/715>`_)


Bugfixes
^^^^^^^^

- Make password optional when using ``upload --client-cert`` (`#678 <https://github.com/pypa/twine/issues/678>`_)
- Support more Nexus versions with ``upload --skip-existing`` (`#693 <https://github.com/pypa/twine/issues/693>`_)
- Support Gitlab Enterprise with ``upload --skip-existing`` (`#698 <https://github.com/pypa/twine/issues/698>`_)
- Show a better error message for malformed files (`#714 <https://github.com/pypa/twine/issues/714>`_)


Improved Documentation
^^^^^^^^^^^^^^^^^^^^^^

- Adopt PSF code of conduct (`#680 <https://github.com/pypa/twine/issues/680>`_)
1 change: 1 addition & 0 deletions changelog/.gitignore
@@ -0,0 +1 @@
!.gitignore
1 change: 1 addition & 0 deletions changelog/670.feature.rst
@@ -0,0 +1 @@
Print files to be uploaded using ``upload --verbose``
1 change: 1 addition & 0 deletions changelog/675.feature.rst
@@ -0,0 +1 @@
Print configuration file location when using ``upload --verbose``
1 change: 1 addition & 0 deletions changelog/678.bugfix.rst
@@ -0,0 +1 @@
Make password optional when using ``upload --client-cert``
1 change: 1 addition & 0 deletions changelog/680.doc.rst
@@ -0,0 +1 @@
Adopt PSF code of conduct
1 change: 1 addition & 0 deletions changelog/685.feature.rst
@@ -0,0 +1 @@
Print source and values of credentials when using ``upload --verbose``
1 change: 1 addition & 0 deletions changelog/693.bugfix.rst
@@ -0,0 +1 @@
Support more Nexus versions with ``upload --skip-existing``
1 change: 1 addition & 0 deletions changelog/698.bugfix.rst
@@ -0,0 +1 @@
Support Gitlab Enterprise with ``upload --skip-existing``
1 change: 1 addition & 0 deletions changelog/708.feature.rst
@@ -0,0 +1 @@
Add support for Python 3.9
1 change: 1 addition & 0 deletions changelog/714.bugfix.rst
@@ -0,0 +1 @@
Show a better error message for malformed files
1 change: 1 addition & 0 deletions changelog/715.feature.rst
@@ -0,0 +1 @@
Turn warnings into errors when using ``check --strict``
8 changes: 8 additions & 0 deletions pyproject.toml
@@ -1,3 +1,11 @@
[build-system]
requires = ["setuptools>=40.8", "wheel", "setuptools_scm>=1.15"]
build-backend = "setuptools.build_meta:__legacy__"

[tool.towncrier]
package = "twine"
filename = "changelog.rst"
directory = "changelog"
title_format = "{version} ({project_date})"
issue_format = "`#{issue} <https://github.com/pypa/twine/issues/{issue}>`_"
underlines = ["-", "^"]
8 changes: 8 additions & 0 deletions tox.ini
Expand Up @@ -77,6 +77,14 @@ commands =
mypy --html-report mypy --txt-report mypy {posargs:twine}
python -c 'with open("mypy/index.txt") as f: print(f.read())'

[testenv:changelog]
basepython = python3
skip_install = true
deps =
towncrier
commands =
towncrier {posargs}

[testenv:release]
# disabled for twine to cause it to upload itself
# skip_install = True
Expand Down