Skip to content

Commit 7374b2c

Browse files
committed
Pin prometheus-client to <0.4.0
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.
1 parent c3a19ce commit 7374b2c

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
Django>=1.8
22
django-redis>=4.8
33
pep8>=1.6.2
4-
prometheus-client>=0.0.21
4+
prometheus-client>=0.0.21,<0.4.0
55
pip-prometheus>=1.1.0
66
mock>=1.0.1
77
mysqlclient

setup.py

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
import os
21
from setuptools import setup, find_packages
32

43
LONG_DESCRIPTION = """Django-Prometheus
@@ -12,7 +11,7 @@
1211

1312
setup(
1413
name="django-prometheus",
15-
version="1.0.15",
14+
version="1.0.16",
1615
author="Uriel Corfa",
1716
author_email="[email protected]",
1817
description=(
@@ -24,7 +23,7 @@
2423
test_suite="django_prometheus.tests",
2524
long_description=LONG_DESCRIPTION,
2625
install_requires=[
27-
"prometheus_client>=0.0.21",
26+
"prometheus_client>=0.0.21,<0.4.0",
2827
],
2928
classifiers=[
3029
"Development Status :: 5 - Production/Stable",
@@ -37,6 +36,8 @@
3736
"Programming Language :: Python :: 3.3",
3837
"Programming Language :: Python :: 3.4",
3938
"Programming Language :: Python :: 3.5",
39+
"Programming Language :: Python :: 3.6",
40+
"Programming Language :: Python :: 3.7",
4041
"Framework :: Django",
4142
"Topic :: System :: Monitoring",
4243
"License :: OSI Approved :: Apache Software License",

0 commit comments

Comments
 (0)