From c02d7209be5aeefe27c7ac2e740dafc4d969ec47 Mon Sep 17 00:00:00 2001 From: Chayim Date: Mon, 15 Nov 2021 13:42:48 +0200 Subject: [PATCH] 4.0.0 (#1708) * 4.0.0 --- MANIFEST.in | 3 +-- RELEASE | 9 --------- docs/conf.py | 5 +++-- redis/__init__.py | 4 +++- 4 files changed, 7 insertions(+), 14 deletions(-) delete mode 100644 RELEASE diff --git a/MANIFEST.in b/MANIFEST.in index 7aaee12a1d..97fa305889 100644 --- a/MANIFEST.in +++ b/MANIFEST.in @@ -1,7 +1,6 @@ -include CHANGES include INSTALL include LICENSE -include README.rst +include README.md exclude __pycache__ recursive-include tests * recursive-exclude tests *.pyc diff --git a/RELEASE b/RELEASE deleted file mode 100644 index f45b0bf9f6..0000000000 --- a/RELEASE +++ /dev/null @@ -1,9 +0,0 @@ -Release Process -=============== - -1. Make sure all tests pass. -2. Make sure CHANGES is up to date. -3. Update redis.__init__.__version__ and commit -4. git tag -5. git push --tag -6. rm dist/* && python setup.py sdist bdist_wheel && twine upload dist/* diff --git a/docs/conf.py b/docs/conf.py index ff37119467..f497e3da15 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -46,14 +46,15 @@ # General information about the project. project = "redis-py" -copyright = "2021, Redis Inc." +copyright = "2021, Redis Inc" # The version info for the project you're documenting, acts as replacement for # |version| and |release|, also used in various other places throughout the # built documents. # # The short X.Y version. -version = "4.0.9" +version = "4.0" + # The full version, including alpha/beta/rc tags. release = "4.0.0" diff --git a/redis/__init__.py b/redis/__init__.py index c0dd690bc9..5d635431ea 100644 --- a/redis/__init__.py +++ b/redis/__init__.py @@ -37,7 +37,9 @@ def int_or_str(value): return value -__version__ = '4.0.0rc2' +__version__ = "4.0.0" + + VERSION = tuple(map(int_or_str, __version__.split('.'))) __all__ = [