Skip to content

Commit 210639e

Browse files
bz2korfuri
authored andcommitted
Pin prometheus-client to <0.4.0 and mysqlclient to <1.4 (#100)
* Pin prometheus-client to <0.4.0 Fixes #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. * Pin mysqlclient to <1.4 Upstream changes are incompatible with older Django versions, see: PyMySQL/mysqlclient#306
1 parent c3a19ce commit 210639e

File tree

2 files changed

+6
-5
lines changed

2 files changed

+6
-5
lines changed

requirements.txt

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
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
7-
mysqlclient
7+
mysqlclient<1.4
88
psycopg2
99
python-memcached

setup.py

+4-3
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)