Skip to content

Commit

Permalink
Pin prometheus-client to <0.4.0
Browse files Browse the repository at this point in the history
Fixes korfuri#83

Simple dependency change that will fix tests and can be released as
a working package. Follow up can adapt to the interface and metric
name changes in 0.4.0 and depend on that version.
  • Loading branch information
bz2 committed Jan 21, 2019
1 parent c3a19ce commit 7374b2c
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Django>=1.8
django-redis>=4.8
pep8>=1.6.2
prometheus-client>=0.0.21
prometheus-client>=0.0.21,<0.4.0
pip-prometheus>=1.1.0
mock>=1.0.1
mysqlclient
Expand Down
7 changes: 4 additions & 3 deletions setup.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
import os
from setuptools import setup, find_packages

LONG_DESCRIPTION = """Django-Prometheus
Expand All @@ -12,7 +11,7 @@

setup(
name="django-prometheus",
version="1.0.15",
version="1.0.16",
author="Uriel Corfa",
author_email="uriel@corfa.fr",
description=(
Expand All @@ -24,7 +23,7 @@
test_suite="django_prometheus.tests",
long_description=LONG_DESCRIPTION,
install_requires=[
"prometheus_client>=0.0.21",
"prometheus_client>=0.0.21,<0.4.0",
],
classifiers=[
"Development Status :: 5 - Production/Stable",
Expand All @@ -37,6 +36,8 @@
"Programming Language :: Python :: 3.3",
"Programming Language :: Python :: 3.4",
"Programming Language :: Python :: 3.5",
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.7",
"Framework :: Django",
"Topic :: System :: Monitoring",
"License :: OSI Approved :: Apache Software License",
Expand Down

0 comments on commit 7374b2c

Please sign in to comment.