diff --git a/.readthedocs.yml b/.readthedocs.yml new file mode 100644 index 00000000..98944db1 --- /dev/null +++ b/.readthedocs.yml @@ -0,0 +1,13 @@ +version: 2 +build: + os: ubuntu-22.04 + tools: + python: "3.9" + +python: + install: + - method: pip + path: . + +sphinx: + configuration: docs/conf.py diff --git a/CONTRIBUTING.rst b/CONTRIBUTING.rst index 3751c279..4d04876a 100644 --- a/CONTRIBUTING.rst +++ b/CONTRIBUTING.rst @@ -90,6 +90,7 @@ These steps need to happen by a release maintainer. To make a release, the following needs to happen: - Make sure that ``setup.cfg`` is set up properly w/r/t Python and Django requirements +- Make sure the documentation (``docs/index.rst``) also describes the right Python/Django versions - Bump the version number in ``taggit/__init__.py`` - Update the changelog (making sure to add the (Unreleased) section to the top) - Get those changes onto the ``master`` branch diff --git a/docs/conf.py b/docs/conf.py index 3d2aaeec..dad18370 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -1,3 +1,5 @@ +import taggit + extensions = ["sphinx.ext.intersphinx"] master_doc = "index" @@ -6,9 +8,9 @@ copyright = "Alex Gaynor and individual contributors." # The short X.Y version. -version = "1.3" +version = taggit.__version__ # The full version, including alpha/beta/rc tags. -release = "1.3.0" +release = taggit.__version__ intersphinx_mapping = { "django": ( diff --git a/docs/index.rst b/docs/index.rst index b69227a5..611c28d3 100644 --- a/docs/index.rst +++ b/docs/index.rst @@ -4,7 +4,7 @@ Welcome to django-taggit's documentation! ``django-taggit`` is a reusable Django application designed to make adding tagging to your project easy and fun. -``django-taggit`` works with Django 2.2+ and Python 3.6+. +``django-taggit`` works with Django 4.1+ and Python 3.8+. .. toctree:: :maxdepth: 2 diff --git a/taggit/__init__.py b/taggit/__init__.py index 964ed5b8..2682e192 100644 --- a/taggit/__init__.py +++ b/taggit/__init__.py @@ -1,2 +1,2 @@ -VERSION = (5, 0, 0) +VERSION = (5, 0, 1) __version__ = ".".join(str(i) for i in VERSION)