summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
Diffstat (limited to 'doc')
-rw-r--r--doc/conf.py4
-rw-r--r--doc/release.md4
2 files changed, 4 insertions, 4 deletions
diff --git a/doc/conf.py b/doc/conf.py
index a727c75e3..d76cc67e3 100644
--- a/doc/conf.py
+++ b/doc/conf.py
@@ -19,7 +19,7 @@ from datetime import datetime
# built documents.
#
# The short X.Y version.
-from pylint.__pkginfo__ import version
+from pylint import __version__
# If extensions (or modules to document with autodoc) are in another directory,
# add these directories to sys.path here. If the directory is relative to the
@@ -58,7 +58,7 @@ current_year = datetime.utcnow().year
copyright = f"2003-{current_year}, Logilab, PyCQA and contributors"
# 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 d55f9c0b8..ed4346713 100644
--- a/doc/release.md
+++ b/doc/release.md
@@ -8,7 +8,7 @@ So, you want to release the ``X.Y.Z`` version of pylint ?
0. Run the acceptance tests to see if everything is alright with this release.
We don't run them on CI: ``pytest -m acceptance``
1. Check if the dependencies of the package are correct
- 2. Update ``numversion`` in ``__pkginfo__``, ``dev_version`` should be ``None`` when you tag,
+ 2. Update ``__version__`` in ``pylint/__pkginfo__.py``, ``dev_version`` should be ``None`` when you tag,
except if it's an alpha release.
3. Put the version numbers, and the release date into the changelog
4. Put the release date into the ``What's new`` section.
@@ -88,6 +88,6 @@ Take a look at the examples from ``doc/whatsnew``.
### Versions
-Update ``numversion`` to ``X.Y+1.0`` in ``__pkginfo__`` for ``master`` and to
+Update ``__version__`` to ``X.Y+1.0`` in ``pylint/__pkginfo__.py`` 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.