python3Packages.django-prometheus: fix 2.2.0 update
This commit is contained in:
parent
419a091fda
commit
67cd38b519
|
@ -16,8 +16,8 @@ buildPythonPackage rec {
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "korfuri";
|
owner = "korfuri";
|
||||||
repo = pname;
|
repo = pname;
|
||||||
rev = version;
|
rev = "v${version}";
|
||||||
sha256 = "1y1cmycc545xrys41jk8kia36hwnkwhkw26mlpfdjgb63vq30x1d";
|
hash = "sha256-NE0zHnGGSrtkBLrSyBcQuyGrSfSQbdpevokg3YZhwDw=";
|
||||||
};
|
};
|
||||||
|
|
||||||
patches = [
|
patches = [
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
diff --git a/django_prometheus/tests/end2end/testapp/settings.py b/django_prometheus/tests/end2end/testapp/settings.py
|
diff --git a/django_prometheus/tests/end2end/testapp/settings.py b/django_prometheus/tests/end2end/testapp/settings.py
|
||||||
index 0630721..bd2190a 100644
|
index cdd167f..5c6073b 100644
|
||||||
--- a/django_prometheus/tests/end2end/testapp/settings.py
|
--- a/django_prometheus/tests/end2end/testapp/settings.py
|
||||||
+++ b/django_prometheus/tests/end2end/testapp/settings.py
|
+++ b/django_prometheus/tests/end2end/testapp/settings.py
|
||||||
@@ -53,33 +53,6 @@ DATABASES = {
|
@@ -53,33 +53,6 @@ DATABASES = {
|
||||||
|
@ -28,9 +28,9 @@ index 0630721..bd2190a 100644
|
||||||
- "mysql": {
|
- "mysql": {
|
||||||
- "ENGINE": "django_prometheus.db.backends.mysql",
|
- "ENGINE": "django_prometheus.db.backends.mysql",
|
||||||
- "NAME": "django_prometheus_1",
|
- "NAME": "django_prometheus_1",
|
||||||
- "USER": "travis",
|
- "USER": "root",
|
||||||
- "PASSWORD": "",
|
- "PASSWORD": "",
|
||||||
- "HOST": "localhost",
|
- "HOST": "127.0.0.1",
|
||||||
- "PORT": "3306",
|
- "PORT": "3306",
|
||||||
- },
|
- },
|
||||||
# The following databases are used by test_db.py only
|
# The following databases are used by test_db.py only
|
||||||
|
|
Loading…
Reference in a new issue