diff --git a/.bumpversion.cfg b/.bumpversion.cfg index 5ae7cd334..3437c70c7 100644 --- a/.bumpversion.cfg +++ b/.bumpversion.cfg @@ -1,9 +1,9 @@ [bumpversion] -current_version = 2.0.0.dev1 +current_version = 2.0.0 commit = False tag = False parse = (?P\d+)\.(?P\d+)\.(?P\d+)(\.(?P[a-z]+)(?P\d+))? -serialize = +serialize = {major}.{minor}.{patch}.{release}{num} {major}.{minor}.{patch} @@ -15,7 +15,7 @@ serialize = [bumpversion:part:release] optional_value = final -values = +values = dev final diff --git a/README.rst b/README.rst index a77a68529..7adc58c17 100644 --- a/README.rst +++ b/README.rst @@ -21,9 +21,10 @@ Requirements * **Python**: 3.4, 3.5, 3.6, 3.7 * **Django**: 1.11, 2.0 -* **DRF**: 3.7 +* **DRF**: 3.8+ -If you need to support Python 2.7 or Django <1.11 use the version 1.1 release. +From Version 2.0 Django Filter is Python 3 only. +If you need to support Python 2.7 use the version 1.1 release. Installation diff --git a/django_filters/__init__.py b/django_filters/__init__.py index 6ce74c0e5..704596fc4 100644 --- a/django_filters/__init__.py +++ b/django_filters/__init__.py @@ -10,7 +10,7 @@ from . import rest_framework del pkgutil -__version__ = '2.0.0.dev1' +__version__ = '2.0.0' def parse_version(version): diff --git a/docs/conf.py b/docs/conf.py index 83038eca3..b99765031 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -48,9 +48,9 @@ # built documents. # # The short X.Y version. -version = '2.0.0.dev1' +version = '2.0.0' # The full version, including alpha/beta/rc tags. -release = '2.0.0.dev1' +release = '2.0.0' # The language for content autogenerated by Sphinx. Refer to documentation # for a list of supported languages. diff --git a/setup.py b/setup.py index 25b5d7b0e..e694cae45 100644 --- a/setup.py +++ b/setup.py @@ -6,7 +6,7 @@ readme = f.read() f.close() -version = '2.0.0.dev1' +version = '2.0.0' if sys.argv[-1] == 'publish': if os.system("pip freeze | grep wheel"):