From d0dc506b5212f2914293bd0dc8d1a4ab2e490ec6 Mon Sep 17 00:00:00 2001 From: Ashley James Date: Mon, 25 Mar 2024 10:11:47 +0530 Subject: [PATCH] chore: Remove pin on ops version With https://github.com/canonical/hardware-observer-operator/pull/191, we are now not raising ErrorStatus directly and the unit tests have also been changed to reflect this. This means that we can use the latest version of ops again. --- requirements.txt | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/requirements.txt b/requirements.txt index 19789d62..0be4549b 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,9 +1,6 @@ cosl distro -# ops v2.10.0 breaks unit tests with the following error -# ops.model.ModelError: ERROR invalid status "error", expected one of [maintenance blocked waiting active] -# caused due to this change: https://github.com/canonical/operator/pull/1107 -ops >= 2.2.0, <2.10.0 +ops >= 2.2.0 jinja2 redfish # requests is included in this git+https://github.com/canonical/prometheus-hardware-exporter.git