Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package python-django-collectd-rest for
openSUSE:Factory checked in at 2021-12-26 15:30:40
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-django-collectd-rest (Old)
and /work/SRC/openSUSE:Factory/.python-django-collectd-rest.new.2520 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-django-collectd-rest"
Sun Dec 26 15:30:40 2021 rev:3 rq:942627 version:0.2.3
Changes:
--------
---
/work/SRC/openSUSE:Factory/python-django-collectd-rest/python-django-collectd-rest.changes
2021-09-20 23:36:22.283412125 +0200
+++
/work/SRC/openSUSE:Factory/.python-django-collectd-rest.new.2520/python-django-collectd-rest.changes
2021-12-26 15:30:41.563368486 +0100
@@ -1,0 +2,6 @@
+Sun Dec 26 12:47:51 UTC 2021 - Matwey Kornilov <[email protected]>
+
+- Version 0.2.3
+ - Fix Django4 build
+
+-------------------------------------------------------------------
Old:
----
django-collectd-rest-0.2.2.tar.gz
New:
----
django-collectd-rest-0.2.3.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-django-collectd-rest.spec ++++++
--- /var/tmp/diff_new_pack.xqpPaL/_old 2021-12-26 15:30:42.191368780 +0100
+++ /var/tmp/diff_new_pack.xqpPaL/_new 2021-12-26 15:30:42.195368782 +0100
@@ -19,7 +19,7 @@
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
%define skip_python2 1
Name: python-django-collectd-rest
-Version: 0.2.2
+Version: 0.2.3
Release: 0
Summary: A simple Django application to demonstrate RRD plots
License: BSD-2-Clause
++++++ django-collectd-rest-0.2.2.tar.gz -> django-collectd-rest-0.2.3.tar.gz
++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/django-collectd-rest-0.2.2/PKG-INFO
new/django-collectd-rest-0.2.3/PKG-INFO
--- old/django-collectd-rest-0.2.2/PKG-INFO 2020-03-08 09:23:21.000000000
+0100
+++ new/django-collectd-rest-0.2.3/PKG-INFO 2021-12-26 13:00:26.000000000
+0100
@@ -1,6 +1,6 @@
Metadata-Version: 2.1
Name: django-collectd-rest
-Version: 0.2.2
+Version: 0.2.3
Summary: A simple Django application to demonstrate RRD plots generated by
collectd or any other rrd data
Home-page: https://github.com/matwey/django-collectd-rest
Author: Matwey V. Kornilov
@@ -8,7 +8,7 @@
License: BSD-2-Clause
Description: # django-collectd-rest
- [](https://travis-ci.org/matwey/django-collectd-rest)
+ [](https://app.travis-ci.com/matwey/django-collectd-rest)
[](https://badge.fury.io/py/django-collectd-rest)
django-collectd-rest is a simple [Django] application to demonstrate
RRD plots generated by [collectd] or any other [rrd] data. The application is
built on top of [django-rest-framework] and provides REST API to access the
plots.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/django-collectd-rest-0.2.2/README.md
new/django-collectd-rest-0.2.3/README.md
--- old/django-collectd-rest-0.2.2/README.md 2019-11-23 18:54:03.000000000
+0100
+++ new/django-collectd-rest-0.2.3/README.md 2021-12-26 12:47:52.000000000
+0100
@@ -1,6 +1,6 @@
# django-collectd-rest
-[](https://travis-ci.org/matwey/django-collectd-rest)
+[](https://app.travis-ci.com/matwey/django-collectd-rest)
[](https://badge.fury.io/py/django-collectd-rest)
django-collectd-rest is a simple [Django] application to demonstrate RRD plots
generated by [collectd] or any other [rrd] data. The application is built on
top of [django-rest-framework] and provides REST API to access the plots.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/django-collectd-rest-0.2.2/collectd_rest/urls.py
new/django-collectd-rest-0.2.3/collectd_rest/urls.py
--- old/django-collectd-rest-0.2.2/collectd_rest/urls.py 2019-11-23
18:54:03.000000000 +0100
+++ new/django-collectd-rest-0.2.3/collectd_rest/urls.py 2021-12-26
12:47:52.000000000 +0100
@@ -1,12 +1,17 @@
from collectd_rest import views
-from django.conf.urls import url, include
from rest_framework.routers import DefaultRouter
+import django
router = DefaultRouter()
router.register(r'granularities', views.GraphGranularityViewSet)
router.register(r'groups', views.GraphGroupViewSet)
router.register(r'graphs', views.GraphViewSet)
+if django.VERSION[0] > 1:
+ from django.urls import include, re_path
+else:
+ from django.conf.urls import include, url as re_path
+
urlpatterns = [
- url(r'^', include(router.urls)),
+ re_path(r'^', include(router.urls)),
]
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/django-collectd-rest-0.2.2/django_collectd_rest.egg-info/PKG-INFO
new/django-collectd-rest-0.2.3/django_collectd_rest.egg-info/PKG-INFO
--- old/django-collectd-rest-0.2.2/django_collectd_rest.egg-info/PKG-INFO
2020-03-08 09:23:21.000000000 +0100
+++ new/django-collectd-rest-0.2.3/django_collectd_rest.egg-info/PKG-INFO
2021-12-26 13:00:26.000000000 +0100
@@ -1,6 +1,6 @@
Metadata-Version: 2.1
Name: django-collectd-rest
-Version: 0.2.2
+Version: 0.2.3
Summary: A simple Django application to demonstrate RRD plots generated by
collectd or any other rrd data
Home-page: https://github.com/matwey/django-collectd-rest
Author: Matwey V. Kornilov
@@ -8,7 +8,7 @@
License: BSD-2-Clause
Description: # django-collectd-rest
- [](https://travis-ci.org/matwey/django-collectd-rest)
+ [](https://app.travis-ci.com/matwey/django-collectd-rest)
[](https://badge.fury.io/py/django-collectd-rest)
django-collectd-rest is a simple [Django] application to demonstrate
RRD plots generated by [collectd] or any other [rrd] data. The application is
built on top of [django-rest-framework] and provides REST API to access the
plots.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/django-collectd-rest-0.2.2/setup.py
new/django-collectd-rest-0.2.3/setup.py
--- old/django-collectd-rest-0.2.2/setup.py 2020-03-08 09:04:22.000000000
+0100
+++ new/django-collectd-rest-0.2.3/setup.py 2021-12-26 12:51:23.000000000
+0100
@@ -14,7 +14,7 @@
setup(
name='django-collectd-rest',
- version='0.2.2',
+ version='0.2.3',
packages=['collectd_rest', 'collectd_rest.migrations'],
ext_modules=[rrd],
include_package_data=True,
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/django-collectd-rest-0.2.2/tests/urls.py
new/django-collectd-rest-0.2.3/tests/urls.py
--- old/django-collectd-rest-0.2.2/tests/urls.py 2019-11-23
18:54:03.000000000 +0100
+++ new/django-collectd-rest-0.2.3/tests/urls.py 2021-12-26
12:47:52.000000000 +0100
@@ -1,5 +1,10 @@
-from django.conf.urls import include, url
+import django
+
+if django.VERSION[0] > 1:
+ from django.urls import include, re_path
+else:
+ from django.conf.urls import include, url as re_path
urlpatterns = [
- url(r'', include('collectd_rest.urls')),
+ re_path(r'', include('collectd_rest.urls')),
]