Skip to content

Commit

Permalink
Bump version
Browse files Browse the repository at this point in the history
  • Loading branch information
xtrinch committed May 31, 2023
1 parent a4ff705 commit 4bb445b
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 15 deletions.
10 changes: 4 additions & 6 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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 <https://firebase.google.com/support/release-notes/admin/python#version_600_-_06_october_2022>`_,
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 <https://firebase.google.com/support/release-notes/admin/python#version_600_-_06_october_2022>`_

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
----------------
Expand Down
2 changes: 1 addition & 1 deletion __init__.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__author__ = "mojca"
__author__ = "xtrinch"
10 changes: 4 additions & 6 deletions docs/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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 <https://firebase.google.com/support/release-notes/admin/python#version_600_-_06_october_2022>`_,
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 <https://firebase.google.com/support/release-notes/admin/python#version_600_-_06_october_2022>`_

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
----------------
Expand Down
2 changes: 1 addition & 1 deletion fcm_django/__init__.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
__author__ = "xTrinch"
__email__ = "[email protected]"
__version__ = "1.0.15"
__version__ = "2.0.0"


class NotificationError(Exception):
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -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__,
Expand Down

0 comments on commit 4bb445b

Please sign in to comment.