python-celery-batches/python-celery-batches.spec
Dirk Mueller 8b49d383a1 - update to 0.7:
* Support passing multiple or keyword arguments by disabling
    Celery's ``typing``  feature for ``Batches`` tasks.
  * Support |using a custom Request class|_ for ``Batches``
    tasks.
  * Support calling tasks with an ``eta`` or ``countdown``
    specified.
  * Handle "hybrid" messages that have moved between Celery
    versions.
  * Fix task ETA issues when timezone is defined in
    configuration.
  * Simplify tests.
  * Improve PyPI metadata.
  * Update README badges to include PyPI and GitHub Actions
  * Update copyright information.
  * Document use-cases and include more examples.
  * Run the unit tests against RabbitMQ & Redis brokers/backends.
  * Run `black <https://black.readthedocs.io/>`_, `isort
    <https://pycqa.github.io/isort/>`_,
  * `flake8 <https://flake8.pycqa.org>`_, `pyupgrade
    <https://github.com/asottile/pyupgrade>`_,
  * Fix a bug when passing a ``request`` to ``mark_as_done`` with
    Celery 5.1.0.
  * Clean-up and re-organize code.
  * Support Celery 5.2.
  * Drop support for Python 3.6.
  * Support Python 3.10.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-celery-batches?expand=0&rev=11
2023-03-30 08:31:37 +00:00

69 lines
2.2 KiB
RPMSpec

#
# spec file
#
# Copyright (c) 2023 SUSE LLC
# Copyright (c) 2018 Matthias Fehring <buschmann23@opensuse.org>
#
# 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/
#
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
%define _pkgname celery-batches
Name: python-%{_pkgname}
Version: 0.7
Release: 0
Summary: Django module to process multiple Celery task requests together
License: BSD-3-Clause
Group: Development/Languages/Python
URL: https://github.com/percipient/celery-batches
Source: https://github.com/percipient/%{_pkgname}/archive/v%{version}.tar.gz#/%{_pkgname}-%{version}.tar.gz
Patch0: celery-fixtures.patch
BuildRequires: %{python_module base >= 3.7}
BuildRequires: %{python_module celery >= 4.4}
BuildRequires: %{python_module coverage}
BuildRequires: %{python_module pip}
BuildRequires: %{python_module pytest}
BuildRequires: %{python_module pytz}
BuildRequires: %{python_module wheel}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
Requires: python-celery >= 4.4
BuildArch: noarch
%python_subpackages
%description
An alternate way to have Django DRY forms. The developer can build
programmatic reusable layouts out of components, having control of
the rendered HTML without writing HTML in templates, without breaking
the standard way of doing things in Django, so that it still works
with any other form application.
%prep
%autosetup -p1 -n %{_pkgname}-%{version}
%build
%pyproject_wheel
%install
%pyproject_install
%check
%pytest t/
%files %{python_files}
%doc README.rst CHANGELOG.rst
%license LICENSE
%{python_sitelib}/*
%changelog