diff --git a/setup.py b/setup.py index 6ea5ac0612..a3cab3ff9f 100644 --- a/setup.py +++ b/setup.py @@ -100,7 +100,7 @@ def get_static_files(path): }, install_requires=install_requires, extras_require={ - 'prometheus': ['prometheus-client==0.5.0'], + 'prometheus': ['prometheus-client>=0.5,<0.15'], 'toml': ['toml<2.0.0'], }, classifiers=[ diff --git a/tox.ini b/tox.ini index bef244640b..bf67bb3513 100644 --- a/tox.ini +++ b/tox.ini @@ -57,7 +57,7 @@ deps = responses<1.0.0 azure-storage<=0.36 datadog==0.22.0 - prometheus-client==0.5.0 + prometheus-client>=0.5.0<0.15 dropbox: dropbox>=9.3.0<10.0 passenv = USER JAVA_HOME POSTGRES_USER DATAPROC_TEST_PROJECT_ID GCS_TEST_PROJECT_ID GCS_TEST_BUCKET GOOGLE_APPLICATION_CREDENTIALS TRAVIS_BUILD_ID TRAVIS TRAVIS_BRANCH TRAVIS_JOB_NUMBER TRAVIS_PULL_REQUEST TRAVIS_JOB_ID TRAVIS_REPO_SLUG TRAVIS_COMMIT CI DROPBOX_APP_TOKEN DOCKERHUB_TOKEN GITHUB_ACTIONS OVERRIDE_SKIP_CI_TESTS