diff options
author | Sebastian Berg <sebastian@sipsolutions.net> | 2021-04-16 16:27:42 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-04-16 16:27:42 -0500 |
commit | bacd82ee0dc6b1fbdaafd15d2e18dc61cd061b77 (patch) | |
tree | 40140f867fc11a3af675e8299c17cc002ac00f6c | |
parent | bc59c81e55c0ae184be9ab3859dc6df41dab937c (diff) | |
parent | 75664b3368e73825409d523743fcaa7690ae0297 (diff) | |
download | numpy-bacd82ee0dc6b1fbdaafd15d2e18dc61cd061b77.tar.gz |
Merge pull request #18792 from charris/update-towncrier-version
MAINT: Use recent towncrier releases on PyPI.
-rw-r--r-- | .circleci/config.yml | 2 | ||||
-rw-r--r-- | doc/HOWTO_RELEASE.rst.txt | 6 | ||||
-rw-r--r-- | release_requirements.txt | 2 |
3 files changed, 4 insertions, 6 deletions
diff --git a/.circleci/config.yml b/.circleci/config.yml index ac85d4937..8cf18d809 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -40,7 +40,7 @@ jobs: name: create release notes command: | . venv/bin/activate - pip install git+https://github.com/hawkowl/towncrier.git@master + pip install towncrier VERSION=$(python -c "import setup; print(setup.VERSION)") towncrier build --version $VERSION --yes ./tools/ci/test_all_newsfragments_used.py diff --git a/doc/HOWTO_RELEASE.rst.txt b/doc/HOWTO_RELEASE.rst.txt index c64a36691..9af58dd24 100644 --- a/doc/HOWTO_RELEASE.rst.txt +++ b/doc/HOWTO_RELEASE.rst.txt @@ -258,10 +258,8 @@ Check the release notes Use `towncrier`_ to build the release note and commit the changes. This will remove all the fragments from ``doc/release/upcoming_changes`` and add ``doc/release/<version>-note.rst``. -Note that currently towncrier must be installed from its master branch as the -last release (19.2.0) is outdated. - towncrier --version "<version>" + towncrier build --version "<version>" git commit -m"Create release note" Check that the release notes are up-to-date. @@ -275,7 +273,7 @@ following: - for SciPy, supported NumPy version(s) - outlook for the near future -.. _towncrier: https://github.com/hawkowl/towncrier +.. _towncrier: https://pypi.org/project/towncrier/ Update the release status and create a release "tag" diff --git a/release_requirements.txt b/release_requirements.txt index 805ce9a8a..c24e39c78 100644 --- a/release_requirements.txt +++ b/release_requirements.txt @@ -14,4 +14,4 @@ twine # building and notes Paver -git+https://github.com/hawkowl/towncrier.git@master +towncrier |