Skip to content

Commit

Permalink
Use local fork for macaroonbakery that supports protobuf >= 4.21.1
Browse files Browse the repository at this point in the history
Fixes juju#914 by using a fork of macaroonbakery that's introduced in
go-macaroon-bakery/py-macaroon-bakery#90
  • Loading branch information
cderici committed Oct 5, 2023
1 parent be013d7 commit 4146651
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,8 @@
exclude=["*.tests", "*.tests.*", "tests.*", "tests"]),
package_data={'juju': ['py.typed']},
install_requires=[
'macaroonbakery>=1.1,<2.0',
# see https://github.com/juju/python-libjuju/issues/914 for macaroon dependency
'macaroonbakery@git+https://github.com/cderici/py-macaroon-bakery@relax-protobuf-version#egg=macaroonbakery',
'pyRFC3339>=1.0,<2.0',
'pyyaml>=5.1.2',
'websockets>=8.1,<9.0 ; python_version=="3.8"',
Expand Down
2 changes: 1 addition & 1 deletion tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ passenv =
TEST_AGENTS
LXD_DIR
deps =
macaroonbakery
git+https://github.com/cderici/py-macaroon-bakery@relax-protobuf-version#egg=macaroonbakery
toposort
typing-inspect
paramiko
Expand Down

0 comments on commit 4146651

Please sign in to comment.