From da0fb4cb544886ccb57503b34d210b9f6c92ea27 Mon Sep 17 00:00:00 2001 From: Felipe Reyes Date: Thu, 21 Mar 2024 00:23:34 -0300 Subject: [PATCH] Pin python-libjuju<3.0.0 The OpenStack Charms gate has proven to be unstable when running juju-3.x, this patch pins libjuju again to 2.9.x until the issues get addressed. --- .github/workflows/tox.yaml | 8 ++++---- setup.py | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/tox.yaml b/.github/workflows/tox.yaml index 023c2f3b..130ac9aa 100644 --- a/.github/workflows/tox.yaml +++ b/.github/workflows/tox.yaml @@ -35,7 +35,7 @@ jobs: matrix: juju_channel: - 2.9/stable - - 3.1/stable + # - 3.1/stable # - 3.2/stable # - 3.3/stable bundle: @@ -46,9 +46,9 @@ jobs: - juju_channel: 2.9/stable snap_install_flags: "--classic" pip_constraints: constraints-juju29.txt - - juju_channel: 3.1/stable - snap_install_flags: "" - pip_constraints: constraints-juju31.txt + # - juju_channel: 3.1/stable + # snap_install_flags: "" + # pip_constraints: constraints-juju31.txt # NOTE(freyes): disabled until "RuntimeError: set_wakeup_fd only works # in main thread of the main interpreter" gets fixed. # https://pastebin.ubuntu.com/p/GfYKgpx3SP/ diff --git a/setup.py b/setup.py index 7bdd8e15..cfc477db 100644 --- a/setup.py +++ b/setup.py @@ -43,7 +43,7 @@ # https://github.com/go-macaroon-bakery/py-macaroon-bakery/issues/94 'macaroonbakery != 1.3.3', - 'juju', + 'juju<3.0.0', ] tests_require = [