From 9d1ccc59b30f39ec6ef183672af48b2ba6f6a68b Mon Sep 17 00:00:00 2001 From: Andrew Halberstadt Date: Mon, 4 Dec 2023 16:36:00 -0500 Subject: [PATCH] refactor!: remove 'release_notifications' backward compat shim BREAKING CHANGE: removed `taskgraph.transforms.release_notifications` shim --- src/taskgraph/transforms/__init__.py | 3 --- test/test_transforms_notify.py | 7 ++----- 2 files changed, 2 insertions(+), 8 deletions(-) diff --git a/src/taskgraph/transforms/__init__.py b/src/taskgraph/transforms/__init__.py index 4fa7b5fc0..e69de29bb 100644 --- a/src/taskgraph/transforms/__init__.py +++ b/src/taskgraph/transforms/__init__.py @@ -1,3 +0,0 @@ -from taskgraph.transforms import ( # noqa: Added for backwards compat - notify as release_notifications, -) diff --git a/test/test_transforms_notify.py b/test/test_transforms_notify.py index c6e1194c4..962e118fd 100644 --- a/test/test_transforms_notify.py +++ b/test/test_transforms_notify.py @@ -6,7 +6,7 @@ import pytest -from taskgraph.transforms import release_notifications +from taskgraph.transforms import notify TASK_DEFAULTS = { "description": "fake description", @@ -200,7 +200,4 @@ def test_transforms( expected_task = deepcopy(TASK_DEFAULTS) expected_task.update(expected_task_output) - assert ( - run_transform(release_notifications.transforms, task, config)[0] - == expected_task - ) + assert run_transform(notify.transforms, task, config)[0] == expected_task