From 9663868d14a974420001d96e5052dd6ce919b09a Mon Sep 17 00:00:00 2001 From: Chris Johnston Date: Thu, 23 May 2024 16:07:01 +0000 Subject: [PATCH] Pin requests < 2.32.0 in sunbeam-clusted. This is only needed until LP: #2066540 is full addressed. Also, add "assertIn" into the ignore-words-list not to block the gate testing. Related-Bug: 2066540 Change-Id: I6c6686ea4ce5a745e9f86bb9e055d42919f10a50 --- charms/sunbeam-clusterd/requirements.txt | 3 ++- pyproject.toml | 3 +++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/charms/sunbeam-clusterd/requirements.txt b/charms/sunbeam-clusterd/requirements.txt index 7939a110..da196bb8 100644 --- a/charms/sunbeam-clusterd/requirements.txt +++ b/charms/sunbeam-clusterd/requirements.txt @@ -11,7 +11,8 @@ pydantic<2.0 lightkube lightkube-models ops -requests # Apache 2 +# Pin requests < 2.32.0 pending resolution of LP: #2066540 +requests<2.32.0 # Apache 2 requests-unixsocket # Apache 2 urllib3<1.27,>=1.21.1 # MIT tenacity diff --git a/pyproject.toml b/pyproject.toml index 2896bc05..7a96c762 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -37,3 +37,6 @@ docstring-convention = "google" copyright-check = "True" copyright-author = "Canonical Ltd." copyright-regexp = "Copyright\\s\\d{4}([-,]\\d{4})*\\s+%(author)s" + +[tool.codespell] +ignore-words-list = "assertIn"