diff options
author | Charles Harris <charlesr.harris@gmail.com> | 2021-04-16 13:59:17 -0600 |
---|---|---|
committer | Charles Harris <charlesr.harris@gmail.com> | 2021-04-16 14:37:25 -0600 |
commit | 75664b3368e73825409d523743fcaa7690ae0297 (patch) | |
tree | 40140f867fc11a3af675e8299c17cc002ac00f6c | |
parent | bc59c81e55c0ae184be9ab3859dc6df41dab937c (diff) | |
download | numpy-75664b3368e73825409d523743fcaa7690ae0297.tar.gz |
MAINT: Update towncrier version in install and notes
We were installing towncrier from the github master branch because there
had been no releases with the needed fixes. That has changed with the
recent release of versions 19.9.0 and 21.3.0.
-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 |