diff --git a/python/tk_desktop/notifications/python37_deprecation_notification.py b/python/tk_desktop/notifications/python37_deprecation_notification.py index fc0f3e2b..b0be7e8d 100644 --- a/python/tk_desktop/notifications/python37_deprecation_notification.py +++ b/python/tk_desktop/notifications/python37_deprecation_notification.py @@ -23,7 +23,7 @@ class Python37DeprecationNotification(Notification): Notification for Python 3.7 deprecation. """ - _DEPRECATION_ID = "deprecation-notification-python37" + _DEPRECATION_ID = "python37-breaking-changes" @classmethod def create(cls, banner_settings: typing.Dict, engine): @@ -41,14 +41,8 @@ def create(cls, banner_settings: typing.Dict, engine): logger.debug("Python 3.7 deprecation banner available") - include_sgd = not cls.is_app_version_newer(engine) - if include_sgd: - logger.debug("Python 3.7 banner will include SGD 1.7 information") - else: - logger.debug("Python 3.7 banner will hide SGD 1.7 information") - return Python37DeprecationNotification( - include_sgd=include_sgd, + include_sgd=not cls.is_app_version_newer(engine), ) def __init__(self, include_sgd=True): @@ -60,19 +54,18 @@ def message(self): Message to display. """ - url = "https://community.shotgridsoftware.com/t/important-notice-for-end-of-february-2025-end-of-support-for-shotgrid-desktop-1-7-and-for-python-3-7-in-fptr-toolkit" + url = "https://community.shotgridsoftware.com/t/20515" add_fptr1, add_fptr2 = ("", "") if self.include_sgd: - add_fptr1 = "ShotGrid Desktop 1.7 and" - add_fptr2 = "and FPTR desktop 1.8+" + add_fptr1 = " and ShotGrid Desktop 1.7" + add_fptr2 = " and FPT Desktop v2.1.0" return f""" - On Feb 28th, 2025 Autodesk stops supporting {add_fptr1} - Python 3.7 in FPTR Toolkit. + April 2026 - Breaking Changes for Python 3.7{add_fptr1}. - Update to Python 3.9+ {add_fptr2} before this date to avoid - disruption. + You must update to Python 3.11{add_fptr2}—or other + supported versions—before April 2026 to avoid disruption. Read more here. """