diff --git a/.github/workflows/tox.yaml b/.github/workflows/tox.yaml index 92da89ed6..1c6f058b9 100644 --- a/.github/workflows/tox.yaml +++ b/.github/workflows/tox.yaml @@ -80,7 +80,7 @@ jobs: juju crashdump -m $model -o logs/ - name: upload logs on failure if: failure() - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v4 with: name: test-run-logs-and-crashdump path: logs/ diff --git a/requirements.txt b/requirements.txt index d4288cbe6..71fdf65d5 100644 --- a/requirements.txt +++ b/requirements.txt @@ -37,3 +37,7 @@ sphinx sphinxcontrib-asyncio # https://github.com/go-macaroon-bakery/py-macaroon-bakery/issues/94 macaroonbakery!=1.3.3 + +# NOTE(freyes): Set upper bound for websockets until libjuju is compatible with +# newer versions. See https://github.com/juju/python-libjuju/pull/1208 +websockets<13.0.0 diff --git a/setup.py b/setup.py index 168fb9e54..1fbd4c18b 100644 --- a/setup.py +++ b/setup.py @@ -44,6 +44,9 @@ # https://github.com/go-macaroon-bakery/py-macaroon-bakery/issues/94 'macaroonbakery != 1.3.3', + # NOTE(freyes): Set upper bound for websockets until libjuju is compatible + # with newer versions. See https://github.com/juju/python-libjuju/pull/1208 + 'websockets<13.0.0', ] tests_require = [ diff --git a/test-requirements.txt b/test-requirements.txt index 371b1326b..bc5ac9d9f 100644 --- a/test-requirements.txt +++ b/test-requirements.txt @@ -16,6 +16,10 @@ keystoneauth1 oslo.config python-novaclient tenacity>8.2.0 +# NOTE(freyes): Set upper bound for websockets until libjuju is compatible with +# newer versions. See https://github.com/juju/python-libjuju/pull/1208 +websockets<13.0.0 + # pinned until 3.0 regressions are handled: https://github.com/openstack-charmers/zaza/issues/545 juju<3.0 # https://github.com/go-macaroon-bakery/py-macaroon-bakery/issues/94