From 38790e495d0a0433b30b1f1b19f34c78a10a684c Mon Sep 17 00:00:00 2001 From: Jacob Flores Date: Thu, 5 Mar 2026 11:01:32 -0600 Subject: [PATCH] deprecate: mark package as inactive for Delighted sunset (v4.2.0) Delighted is being sunset on June 30, 2026. This is the final release of the delighted Python package. Changes: - Bump version to 4.2.0 - Add FutureWarning on import to notify all users - Add deprecation banner to README (visible on PyPI page) - Change Development Status classifier to Inactive - Update author_email to hello@delighted.com (active support address) - Add deprecation entry to CHANGELOG See: https://help.delighted.com/article/840-delighted-sunset-faq --- CHANGELOG.md | 8 ++++++++ README.md | 4 ++++ delighted/__init__.py | 12 +++++++++++- setup.py | 4 ++-- 4 files changed, 25 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index d88e135..731d170 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,11 @@ +## 4.2.0 (2026-03-05) + +Deprecation: + +- Delighted is being sunset on June 30, 2026. This is the final release. + The package is now marked as inactive and will no longer be maintained. + See https://help.delighted.com/article/840-delighted-sunset-faq + ## 4.1.0 (2021-05-12) Features: diff --git a/README.md b/README.md index 12c31d7..8460122 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,7 @@ +> **DEPRECATION NOTICE:** Delighted is being sunset on June 30, 2026. This package is deprecated and will no longer be maintained or receive updates. For more information, visit the [Delighted Sunset FAQ](https://help.delighted.com/article/840-delighted-sunset-faq). + +--- + [![Build Status](https://travis-ci.org/delighted/delighted-python.svg?branch=master)](https://travis-ci.org/delighted/delighted-python) # Delighted API Python Client diff --git a/delighted/__init__.py b/delighted/__init__.py index f16662d..aa6a086 100644 --- a/delighted/__init__.py +++ b/delighted/__init__.py @@ -1,8 +1,18 @@ __title__ = 'delighted' -__version__ = '4.1.0' +__version__ = '4.2.0' __author__ = 'Ben Turner' __license__ = 'MIT' +import warnings +warnings.warn( + "Delighted is being sunset on June 30, 2026. This package is deprecated " + "and will no longer be maintained or receive updates. For more " + "information, visit the Delighted Sunset FAQ: " + "https://help.delighted.com/article/840-delighted-sunset-faq", + FutureWarning, + stacklevel=2, +) + from delighted.http_adapter import HTTPAdapter # noqa api_key = None diff --git a/setup.py b/setup.py index 3a38bd2..f614b44 100644 --- a/setup.py +++ b/setup.py @@ -19,7 +19,7 @@ long_description_content_type='text/markdown', long_description=open('README.md').read(), author='Ben Turner, Robby Colvin', - author_email='ben@delighted.com', + author_email='hello@delighted.com', url='https://delighted.com/', packages=['delighted'], package_dir={'delighted': 'delighted'}, @@ -28,7 +28,7 @@ test_requires=['mock', 'pytz', 'tzlocal'], license='MIT', classifiers=[ - 'Development Status :: 5 - Production/Stable', + 'Development Status :: 7 - Inactive', 'Intended Audience :: Developers', 'License :: OSI Approved :: MIT License', 'Natural Language :: English',