From fcbf3c923136ef25d01ec45cd550d93f319b04db Mon Sep 17 00:00:00 2001 From: Pierre Sassoulas Date: Sat, 10 Apr 2021 16:43:58 +0200 Subject: Change numversion to __version__ in __pkginfo__ --- doc/conf.py | 4 ++-- doc/release.md | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'doc') diff --git a/doc/conf.py b/doc/conf.py index bd94315b..12070636 100644 --- a/doc/conf.py +++ b/doc/conf.py @@ -58,10 +58,10 @@ copyright = f'2003-{current_year}, Logilab, PyCQA and contributors' # built documents. # # The short X.Y version. -from astroid.__pkginfo__ import version +from astroid.__pkginfo__ import __version__ # The full version, including alpha/beta/rc tags. -release = version +release = __version__ # The language for content autogenerated by Sphinx. Refer to documentation # for a list of supported languages. diff --git a/doc/release.md b/doc/release.md index 2f029eab..b19afe7e 100644 --- a/doc/release.md +++ b/doc/release.md @@ -6,7 +6,7 @@ So, you want to release the `X.Y.Z` version of astroid ? 1. Preparation 1. Check if the dependencies of the package are correct - 2. Update `numversion` in `__pkginfo__`, `dev_version` should also be None when you + 2. Update `__version__` in `__pkginfo__`, `dev_version` should also be None when you tag. 3. Put the version numbers, and the release date into the changelog 4. Generate the new copyright notices for this release: @@ -69,5 +69,5 @@ at the examples from `doc/whatsnew`. ### Versions -Update `numversion` to `X.Y+1.0` in `__pkginfo__` for `master` and to `X.Y.Z+1` for the +Update `__version__` to `X.Y+1.0` in `__pkginfo__` for `master` and to `X.Y.Z+1` for the `X.Y` branch. `dev_version` should also be back to an integer after the tag. -- cgit v1.2.1