diff --git a/setup.py b/setup.py index cfc477db..2ce65a1b 100644 --- a/setup.py +++ b/setup.py @@ -43,8 +43,11 @@ # https://github.com/go-macaroon-bakery/py-macaroon-bakery/issues/94 'macaroonbakery != 1.3.3', - 'juju<3.0.0', ] +if os.environ.get("TEST_JUJU3"): + install_require.append('juju') +else: + install_require.append('juju<3.0.0') tests_require = [ 'tox >= 2.3.1',