Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package python-django-q for openSUSE:Factory
checked in at 2021-11-20 02:39:03
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-django-q (Old)
and /work/SRC/openSUSE:Factory/.python-django-q.new.1895 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-django-q"
Sat Nov 20 02:39:03 2021 rev:6 rq:932353 version:1.3.9
Changes:
--------
--- /work/SRC/openSUSE:Factory/python-django-q/python-django-q.changes
2020-07-08 19:14:35.607446712 +0200
+++
/work/SRC/openSUSE:Factory/.python-django-q.new.1895/python-django-q.changes
2021-11-20 02:40:10.196576278 +0100
@@ -1,0 +2,36 @@
+Wed Nov 17 13:55:21 UTC 2021 - Andreas Schneider <[email protected]>
+
+- Update to version 1.3.9
+ * Sets Autofield
+ * Fix RemovedInDjango41Warning
+ * Create codeql-analysis.yml
+ * Codecov_fixes. Got coverage again
+ * Feature/improves multiple databases support
+ * Fix for SSL errors in #422
+ * Fixes #314 - Convert func to its import path str so that
+ resubmitting failed task works
+ * Add "qmemory" command
+ * Allow tasks to be scheduled on a specific cluster
+ * Fixes #225 - Successful tasks grow beyond SAVE_LIMIT
+ * Update documentation for new retry time default
+ * Fixes deprecated count method
+ * Adds long polling support
+ * Use 'timezone.localtime()' when calculating the next run time
+ * Add a warning for misconfiguration.
+ * Add broker name in Schedule and enhanced Queued Tasks list
+ display admin
+ * Add example of http health check
+ * Added german translation
+ * Try to get SQS queue before creating it
+ * Empty dictionary as configuration value for SQS
+ * Model.unicode() has no effect in Python 3.X
+ * Fix deprecation warning RemovedInDjango40Warning
+ * Fix for #424 TypeError: can't pickle _thread.lock objects
+ * [WIP]Change Django documentation links and URLs to a
+ supported version (v1.8 -> v2.2)
+ * Add attempt_count to limit the number of times a filed task
+ will be re-attempted
+ * Updates to Django 3.1
+ * Resource limits: max rss memory limit for workers
+
+-------------------------------------------------------------------
Old:
----
v1.3.1.tar.gz
New:
----
django-q-1.3.9.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-django-q.spec ++++++
--- /var/tmp/diff_new_pack.BKToR2/_old 2021-11-20 02:40:10.736574496 +0100
+++ /var/tmp/diff_new_pack.BKToR2/_new 2021-11-20 02:40:10.740574483 +0100
@@ -1,7 +1,7 @@
#
# spec file for package python-django-q
#
-# Copyright (c) 2020 SUSE LLC
+# Copyright (c) 2021 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -17,14 +17,14 @@
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
-%define skip_python2 1
+%define pythons python3
Name: python-django-q
-Version: 1.3.1
+Version: 1.3.9
Release: 0
Summary: Multiprocessing Distributed Task Queue for Django
License: MIT
URL: https://django-q.readthedocs.org
-Source: https://github.com/Koed00/django-q/archive/v%{version}.tar.gz
+Source:
https://files.pythonhosted.org/packages/source/d/django-q/django-q-%{version}.tar.gz
BuildRequires: %{python_module setuptools}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
@@ -48,7 +48,7 @@
BuildRequires: %{python_module pytest-django}
BuildRequires: %{python_module pytest}
BuildRequires: %{python_module redis}
-BuildRequires: redis
+BuildRequires: dos2unix
# /SECTION
%python_subpackages
@@ -56,7 +56,14 @@
This package provides a multiprocessing distributed task queue for Django.
%prep
-%setup -q -n django-q-%{version}
+%autosetup -n django-q-%{version} -p1
+
+# Fix permissions
+find -name "*.po" | xargs chmod a-x
+chmod a-x README.rst CHANGELOG.md LICENSE
+
+# Fix encoding
+dos2unix README.rst
%build
%python_build
@@ -66,17 +73,8 @@
%python_expand rm -r %{buildroot}%{$python_sitelib}/django_q/tests/
%python_expand %fdupes %{buildroot}%{$python_sitelib}
-%check
-# start redis server
-%{_sbindir}/redis-server&
-sleep 1
-# test_qcluster: hangs
-# test_mongo: do not install mongodb
-# test_disque: do not have disque at all
-PYTHONPATH=$PWD
-%pytest -k 'not (test_qcluster or test_mongo or test_disque)'
-# shutdown redis server
-redis-cli shutdown
+#%%check
+# Tests require a docker container to run
%files %{python_files}
%doc CHANGELOG.md README.rst