Skip to content

Commit

Permalink
Update version for 2.0 release
Browse files Browse the repository at this point in the history
  • Loading branch information
carltongibson committed Jul 13, 2018
1 parent f2a4292 commit 2706d42
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 9 deletions.
6 changes: 3 additions & 3 deletions .bumpversion.cfg
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
[bumpversion]
current_version = 2.0.0.dev1
current_version = 2.0.0
commit = False
tag = False
parse = (?P<major>\d+)\.(?P<minor>\d+)\.(?P<patch>\d+)(\.(?P<release>[a-z]+)(?P<num>\d+))?
serialize =
serialize =
{major}.{minor}.{patch}.{release}{num}
{major}.{minor}.{patch}

Expand All @@ -15,7 +15,7 @@ serialize =

[bumpversion:part:release]
optional_value = final
values =
values =
dev
final

Expand Down
5 changes: 3 additions & 2 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion django_filters/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
from . import rest_framework
del pkgutil

__version__ = '2.0.0.dev1'
__version__ = '2.0.0'


def parse_version(version):
Expand Down
4 changes: 2 additions & 2 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -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"):
Expand Down

0 comments on commit 2706d42

Please sign in to comment.