From 7a3d5c383ffc732e01b36b0c0e0fa7ff30086758 Mon Sep 17 00:00:00 2001 From: "kyle.hartigan" Date: Tue, 31 Oct 2023 07:49:57 +1000 Subject: [PATCH 1/5] add fix and updated changes.md with details --- CHANGES.md | 7 +++++++ pack.yaml | 2 +- requirements.txt | 1 + 3 files changed, 9 insertions(+), 1 deletion(-) diff --git a/CHANGES.md b/CHANGES.md index 60c3925..4228620 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -1,5 +1,12 @@ # Changelog +## v1.2.0 + +* Due to upstream issues with werkzeug url dependency (a recent release has caused issues). This issue resulted in the + LogicMonitor Sensor to consistently crash. werkzeug==2.2.2 has been added to the requirements.txt file. This is the + last known working version of the dependency which has fixed the issue with the LogicMonitor Sensor + + ## v1.1.0 * The logicmonitor/actions/run.py file was modified to return the API Response in the form of diff --git a/pack.yaml b/pack.yaml index a86450e..1d79f3e 100644 --- a/pack.yaml +++ b/pack.yaml @@ -6,7 +6,7 @@ keywords: - LogicMonitor - monitoring - alerting -version: 1.1.0 +version: 1.2.0 python_versions: - "3" author: LogicMonitor diff --git a/requirements.txt b/requirements.txt index e15af02..b781c87 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,3 +1,4 @@ flask==2.0.3 requests logicmonitor_sdk==2.0.163 +werkzeug==2.2.2 \ No newline at end of file From e2031e7d788bee0544515255156dc31416b06f4d Mon Sep 17 00:00:00 2001 From: "kyle.hartigan" Date: Tue, 31 Oct 2023 21:34:36 +1000 Subject: [PATCH 2/5] attempting to use werkzeug version 2.0.3 as requested --- requirements.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/requirements.txt b/requirements.txt index b781c87..e5b1a3a 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,4 +1,4 @@ flask==2.0.3 requests logicmonitor_sdk==2.0.163 -werkzeug==2.2.2 \ No newline at end of file +werkzeug==2.0.3 \ No newline at end of file From 3c67555de168bba8c59d93b7a2db4cd8dbb337a1 Mon Sep 17 00:00:00 2001 From: "kyle.hartigan" Date: Tue, 31 Oct 2023 21:53:02 +1000 Subject: [PATCH 3/5] updated changes.md with correct version number --- CHANGES.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CHANGES.md b/CHANGES.md index 4228620..f3719a2 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -3,7 +3,7 @@ ## v1.2.0 * Due to upstream issues with werkzeug url dependency (a recent release has caused issues). This issue resulted in the - LogicMonitor Sensor to consistently crash. werkzeug==2.2.2 has been added to the requirements.txt file. This is the + LogicMonitor Sensor to consistently crash. werkzeug==2.0.3 has been added to the requirements.txt file. This is the last known working version of the dependency which has fixed the issue with the LogicMonitor Sensor From 6261a39f725f680af000c40850ad807a8ccb99a8 Mon Sep 17 00:00:00 2001 From: Kyle Hartigan Date: Wed, 15 Nov 2023 06:03:51 +1000 Subject: [PATCH 4/5] Update pack.yaml Version Number Co-authored-by: Eugen C. <1533818+armab@users.noreply.github.com> --- pack.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pack.yaml b/pack.yaml index 1d79f3e..d8abbaa 100644 --- a/pack.yaml +++ b/pack.yaml @@ -6,7 +6,7 @@ keywords: - LogicMonitor - monitoring - alerting -version: 1.2.0 +version: 1.1.1 python_versions: - "3" author: LogicMonitor From b5b27ca98f84f223c26f38b4f057bb42d28cea84 Mon Sep 17 00:00:00 2001 From: Kyle Hartigan Date: Wed, 15 Nov 2023 06:04:22 +1000 Subject: [PATCH 5/5] Update CHANGES.md Co-authored-by: Eugen C. <1533818+armab@users.noreply.github.com> --- CHANGES.md | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/CHANGES.md b/CHANGES.md index f3719a2..3dde1b5 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -2,9 +2,7 @@ ## v1.2.0 -* Due to upstream issues with werkzeug url dependency (a recent release has caused issues). This issue resulted in the - LogicMonitor Sensor to consistently crash. werkzeug==2.0.3 has been added to the requirements.txt file. This is the - last known working version of the dependency which has fixed the issue with the LogicMonitor Sensor +* Fix LogicMonitor Sensor crash caused by updated upstream dependencies by pining werkzeug==2.0.3 ## v1.1.0