From 5eb5790e4b7f98076a9c27d78270e1edf0c8d769 Mon Sep 17 00:00:00 2001 From: Paul Paterson Date: Tue, 10 Sep 2024 13:54:11 -0400 Subject: [PATCH] Bump version to publish v4 EOL announcement --- faunadb/__init__.py | 13 ++++++++++++- setup.py | 2 +- 2 files changed, 13 insertions(+), 2 deletions(-) diff --git a/faunadb/__init__.py b/faunadb/__init__.py index d50aeab..2176e64 100644 --- a/faunadb/__init__.py +++ b/faunadb/__init__.py @@ -1,5 +1,16 @@ +import warnings + +warnings.warn( + "Fauna is decommissioning FQL v4. This driver is not compatible with FQL v10, " + "the latest version. Fauna accounts created after August 21, 2024 must use " + "FQL v10. Ensure you migrate existing projects to the official v10 driver by " + "the v4 EOL date: https://github.com/fauna/fauna-python.", + DeprecationWarning, + stacklevel=2 +) + __title__ = "FaunaDB" -__version__ = "4.5.1" +__version__ = "4.5.2" __api_version__ = "4" __author__ = "Fauna, Inc" __license__ = "MPL 2.0" diff --git a/setup.py b/setup.py index 502d804..dafbfd1 100644 --- a/setup.py +++ b/setup.py @@ -39,7 +39,7 @@ author_email="priority@fauna.com", license=pkg_license, classifiers=[ - "Development Status :: 4 - Beta", + "Development Status :: 7 - Inactive", "Intended Audience :: Developers", "License :: OSI Approved :: Mozilla Public License 2.0 (MPL 2.0)", "Programming Language :: Python :: 3.6",