From 4bb445bcfabaa9dce6a35467db02a9681ee0d39e Mon Sep 17 00:00:00 2001 From: xtrinch Date: Wed, 31 May 2023 11:13:45 +0200 Subject: [PATCH] Bump version --- README.rst | 10 ++++------ __init__.py | 2 +- docs/index.rst | 10 ++++------ fcm_django/__init__.py | 2 +- setup.py | 2 +- 5 files changed, 11 insertions(+), 15 deletions(-) diff --git a/README.rst b/README.rst index a0c39473..ecce30ea 100644 --- a/README.rst +++ b/README.rst @@ -374,16 +374,14 @@ If done manually, you are responsible for deleting the old device entry. Python 3 support ---------------- -``fcm-django`` is fully compatible with Python 3.6+ - -* but `firebase-admin with version 6 drop support of Python 3.6 `_, - so make sure that the installed requirements is compatible with your version of python and downgrade them if it's required +- ``fcm-django`` is fully compatible with Python 3.7+ +- for Python 3.6, use ``fcm-django < 2.0.0`` , because `firebase-admin with version 6 drop support of Python 3.6 `_ Django version compatibility ---------------------------- Compatible with Django versions 3.0+. -For Django version 2.2, use version ``fcm-django < 2``. -For lower django versions, use version ``fcm-django < 1``. +For Django version 2.2, use version ``fcm-django < 1.0.13``. +For lower django versions, use version ``fcm-django < 1.0.0``. Acknowledgements ---------------- diff --git a/__init__.py b/__init__.py index 712e5b50..2858e345 100644 --- a/__init__.py +++ b/__init__.py @@ -1 +1 @@ -__author__ = "mojca" +__author__ = "xtrinch" diff --git a/docs/index.rst b/docs/index.rst index a0c39473..ecce30ea 100644 --- a/docs/index.rst +++ b/docs/index.rst @@ -374,16 +374,14 @@ If done manually, you are responsible for deleting the old device entry. Python 3 support ---------------- -``fcm-django`` is fully compatible with Python 3.6+ - -* but `firebase-admin with version 6 drop support of Python 3.6 `_, - so make sure that the installed requirements is compatible with your version of python and downgrade them if it's required +- ``fcm-django`` is fully compatible with Python 3.7+ +- for Python 3.6, use ``fcm-django < 2.0.0`` , because `firebase-admin with version 6 drop support of Python 3.6 `_ Django version compatibility ---------------------------- Compatible with Django versions 3.0+. -For Django version 2.2, use version ``fcm-django < 2``. -For lower django versions, use version ``fcm-django < 1``. +For Django version 2.2, use version ``fcm-django < 1.0.13``. +For lower django versions, use version ``fcm-django < 1.0.0``. Acknowledgements ---------------- diff --git a/fcm_django/__init__.py b/fcm_django/__init__.py index 1cce7040..edad0a5b 100644 --- a/fcm_django/__init__.py +++ b/fcm_django/__init__.py @@ -1,6 +1,6 @@ __author__ = "xTrinch" __email__ = "mojca.rojko@gmail.com" -__version__ = "1.0.15" +__version__ = "2.0.0" class NotificationError(Exception): diff --git a/setup.py b/setup.py index 291c6c97..6b97a9a1 100644 --- a/setup.py +++ b/setup.py @@ -31,7 +31,7 @@ "fcm_django/api", "fcm_django/migrations", ], - python_requires=">=3", + python_requires=">=3.7", install_requires=["firebase-admin>=5,<7", "Django"], author=fcm_django.__author__, author_email=fcm_django.__email__,