Skip to content

Auto-update ..versionadded etc as part of the release #14999

Open

Description

@eric-wieser

Something we could perhaps integrate into our release script

Town crier solved the problem of PRs needing to move their release notes each time they missed a release.

Unfortunately, this doesn't solve the problem of PRs needing to change the version numbers in ..versionadded, ..versionchanged, etc docstrings.

In order to prevent stale PRs, we could consider building a release script that finds a NEXT_RELEASE_VERSION placeholder in these places, and replaces it with the release number.

We might also want to extend this to the deprecation comments in the C code, which are of the form /* NumPy 1.18.0 2019-11-28 */

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions