forked from pool/python-django-rq
Accepting request 1009645 from home:jayvdb:django
1.6k github stars already being maintained over a long period by https://build.opensuse.org/users/zombah OBS-URL: https://build.opensuse.org/request/show/1009645 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:django/python-django-rq?expand=0&rev=1
This commit is contained in:
commit
af4e3605f8
23
.gitattributes
vendored
Normal file
23
.gitattributes
vendored
Normal file
@ -0,0 +1,23 @@
|
|||||||
|
## Default LFS
|
||||||
|
*.7z filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.bsp filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.bz2 filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.gem filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.gz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.jar filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.lz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.lzma filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.obscpio filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.oxt filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.pdf filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.png filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.rpm filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.tbz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.tbz2 filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.tgz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.ttf filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.txz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.whl filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.xz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.zip filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.zst filter=lfs diff=lfs merge=lfs -text
|
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@ -0,0 +1 @@
|
|||||||
|
.osc
|
3
django-rq-2.5.1.tar.gz
Normal file
3
django-rq-2.5.1.tar.gz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:5cb9e13f364852f80ce421262d38eef7b20be91d0de932e75f094836ea5bf06e
|
||||||
|
size 119721
|
60
python-django-rq.changes
Normal file
60
python-django-rq.changes
Normal file
@ -0,0 +1,60 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Oct 11 01:46:54 UTC 2022 - John Vandenberg <jayvdb@gmail.com>
|
||||||
|
|
||||||
|
- Activate test suite
|
||||||
|
- Tidy spec
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Apr 12 23:51:34 UTC 2022 - Misha Komarovskiy <zombah@gmail.com>
|
||||||
|
|
||||||
|
- Update to 2.5.1
|
||||||
|
* Redis.from_url does not accept ssl_cert_reqs argument for
|
||||||
|
non SSL Redis URL. Thanks @barash-asenov!
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Aug 30 22:59:02 UTC 2021 - Misha Komarovskiy <zombah@gmail.com>
|
||||||
|
|
||||||
|
- update to 2.4.1
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu May 14 21:44:43 UTC 2020 - Misha Komarovskiy <zombah@gmail.com>
|
||||||
|
|
||||||
|
- update to 2.3.2
|
||||||
|
- Support for RQ >= 1.4.0
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Apr 23 16:31:23 UTC 2020 - Marcus Rueckert <mrueckert@suse.de>
|
||||||
|
|
||||||
|
- Update to 2.3.1
|
||||||
|
- Added `--with-scheduler` argument to `rqworker` management
|
||||||
|
command. Thanks @stlk!
|
||||||
|
- Fixed a bug where opening job detail would crash if
|
||||||
|
job.dependency no longer exists. Thanks @selwin!
|
||||||
|
- Support for RQ's new `ScheduledJobRegistry`. Thanks @Yolley!
|
||||||
|
- Improve performance when displaying pages showing a large
|
||||||
|
number of jobs by using `Job.fetch_many()`. Thanks @selwin!
|
||||||
|
- `django-rq` will now automatically cleanup orphaned worker keys
|
||||||
|
in job registries. Thanks @selwin!
|
||||||
|
- Site name now properly displayed in Django-RQ admin pages.
|
||||||
|
Thanks @tom-price!
|
||||||
|
- `NoSuchJobError`s are now handled properly when requeuing all
|
||||||
|
jobs. Thanks @thomasmatecki!
|
||||||
|
- Support for displaying jobs with names containing `$`. Thanks
|
||||||
|
@gowthamk63!
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Sat Jan 18 00:34:10 UTC 2020 - Marcus Rueckert <mrueckert@suse.de>
|
||||||
|
|
||||||
|
- Update to 2.2.0
|
||||||
|
- Support for Django 3.0. This release also drops support for
|
||||||
|
Django 1.X. Thanks @hugorodgerbrown!
|
||||||
|
- `rqworker` management command now properly passes in
|
||||||
|
`--verbosity` to `Worker`. Thanks @stlk!
|
||||||
|
- The admin interface can now view jobs with `:` on their IDs.
|
||||||
|
Thanks @carboncoop!
|
||||||
|
- Job detail page now shows `job.dependency`. Thanks @selwin!
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Sat Sep 28 07:49:00 UTC 2019 - ecsos@opensuse.org
|
||||||
|
|
||||||
|
- Initial version
|
72
python-django-rq.spec
Normal file
72
python-django-rq.spec
Normal file
@ -0,0 +1,72 @@
|
|||||||
|
#
|
||||||
|
# spec file for package python-django-rq
|
||||||
|
#
|
||||||
|
# Copyright (c) 2022 SUSE LLC
|
||||||
|
#
|
||||||
|
# All modifications and additions to the file contributed by third parties
|
||||||
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
|
# upon. The license for this file, and modifications and additions to the
|
||||||
|
# file, is the same license as for the pristine package itself (unless the
|
||||||
|
# license for the pristine package is not an Open Source License, in which
|
||||||
|
# case the license is the MIT License). An "Open Source License" is a
|
||||||
|
# license that conforms to the Open Source Definition (Version 1.9)
|
||||||
|
# published by the Open Source Initiative.
|
||||||
|
|
||||||
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
||||||
|
#
|
||||||
|
|
||||||
|
|
||||||
|
%define skip_python2 1
|
||||||
|
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||||
|
Name: python-django-rq
|
||||||
|
Version: 2.5.1
|
||||||
|
Release: 0
|
||||||
|
Summary: Simple app that provides django integration for RQ (Redis Queue)
|
||||||
|
License: MIT
|
||||||
|
Group: Development/Languages/Python
|
||||||
|
URL: https://github.com/rq/django-rq
|
||||||
|
Source: https://github.com/rq/django-rq/archive/v%{version}/django-rq-%{version}.tar.gz
|
||||||
|
BuildRequires: %{python_module setuptools}
|
||||||
|
BuildRequires: fdupes
|
||||||
|
BuildRequires: python-rpm-macros
|
||||||
|
Requires: python-Django >= 2.0
|
||||||
|
Requires: python-rq >= 1.2
|
||||||
|
Recommends: python-django-redis >= 3.0
|
||||||
|
BuildArch: noarch
|
||||||
|
# SECTION test requirements
|
||||||
|
BuildRequires: %{python_module Django >= 2.0}
|
||||||
|
BuildRequires: %{python_module django-redis >= 3.0}
|
||||||
|
BuildRequires: %{python_module pytest-django}
|
||||||
|
BuildRequires: %{python_module rq >= 1.2}
|
||||||
|
BuildRequires: redis
|
||||||
|
# /SECTION
|
||||||
|
%python_subpackages
|
||||||
|
|
||||||
|
%description
|
||||||
|
Django integration with RQ, a Redis based Python queuing library.
|
||||||
|
Django-RQ is a simple app that allows you to configure your queues
|
||||||
|
in django's settings.py and easily use them in your project.
|
||||||
|
|
||||||
|
%prep
|
||||||
|
%setup -q -n django-rq-%{version}
|
||||||
|
|
||||||
|
%build
|
||||||
|
%python_build
|
||||||
|
|
||||||
|
%install
|
||||||
|
%python_install
|
||||||
|
%python_expand rm -r %{buildroot}%{$python_sitelib}/django_rq/tests/
|
||||||
|
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||||
|
|
||||||
|
%check
|
||||||
|
%{_sbindir}/redis-server &
|
||||||
|
export PYTHONPATH=${PWD}
|
||||||
|
export DJANGO_SETTINGS_MODULE=django_rq.tests.settings
|
||||||
|
%pytest -k 'not (test_job_details or test_jobs)'
|
||||||
|
|
||||||
|
%files %{python_files}
|
||||||
|
%license LICENSE.txt
|
||||||
|
%doc README.rst
|
||||||
|
%{python_sitelib}/django[-_]rq*/
|
||||||
|
|
||||||
|
%changelog
|
Loading…
x
Reference in New Issue
Block a user