%global _empty_manifest_terminate_build 0
Name:		python-celery
Version:	5.6.2
Release:	1
Summary:	Distributed Task Queue.
License:	BSD-3-Clause and CC-BY-SA-4.0
URL:		https://github.com/celery/celery
Source0:	https://files.pythonhosted.org/packages/source/c/celery/celery-%{version}.tar.gz
BuildArch:	noarch

Requires:	python3-pytz
Requires:	python3-billiard
Requires:	python3-vine
Requires:	python3-click
Requires:	python3-click-didyoumean
Requires:	python3-click-repl
Requires:	python3-click-plugins
Requires:	python3-importlib-metadata
Requires:	python3-pyArango
Requires:	python3-cryptography
Requires:	python3-azure-storage-blob
Requires:	python3-brotli
Requires:	python3-brotlipy
Requires:	python3-cassandra-driver
Requires:	python3-consul2
Requires:	python3-pydocumentdb
Requires:	python3-couchbase
Requires:	python3-pycouchdb
Requires:	python3-Django
Requires:	python3-elasticsearch
Requires:	python3-eventlet
Requires:	python3-gevent
Requires:	python3-librabbitmq
Requires:	python3-pylibmc
Requires:	python3-pymongo[srv]
Requires:	python3-msgpack
Requires:	python3-memcached
Requires:	python3-pyro4
Requires:	python3-pytest-celery
Requires:	python3-redis
Requires:	python3-boto3
Requires:	python3-softlayer-messaging
Requires:	python3-ephem
Requires:	python3-sqlalchemy
Requires:	python3-kombu
Requires:	python3-tblib
Requires:	python3-PyYAML
Requires:	python3-kazoo
Requires:	python3-zstandard
Requires:	python3-tzdata
Requires:	python3-dateutil

%description
Distributed Task Queue.

%package -n python3-celery
Summary:	Distributed Task Queue.
Provides:	python-celery
BuildRequires:	python3-devel
BuildRequires:	python3-setuptools
%description -n python3-celery
Distributed Task Queue.

%package help
Summary:	Development documents and examples for celery
Provides:	python3-celery-doc
%description help
Distributed Task Queue.

%prep
%autosetup -n celery-%{version}

%build
%py3_build

%install
%py3_install
install -d -m755 %{buildroot}/%{_pkgdocdir}
if [ -d doc ]; then cp -arf doc %{buildroot}/%{_pkgdocdir}; fi
if [ -d docs ]; then cp -arf docs %{buildroot}/%{_pkgdocdir}; fi
if [ -d example ]; then cp -arf example %{buildroot}/%{_pkgdocdir}; fi
if [ -d examples ]; then cp -arf examples %{buildroot}/%{_pkgdocdir}; fi
pushd %{buildroot}
if [ -d usr/lib ]; then
	find usr/lib -type f -printf "/%h/%f\n" >> filelist.lst
fi
if [ -d usr/lib64 ]; then
	find usr/lib64 -type f -printf "/%h/%f\n" >> filelist.lst
fi
if [ -d usr/bin ]; then
	find usr/bin -type f -printf "/%h/%f\n" >> filelist.lst
fi
if [ -d usr/sbin ]; then
	find usr/sbin -type f -printf "/%h/%f\n" >> filelist.lst
fi
popd
mv %{buildroot}/filelist.lst .

%files -n python3-celery -f filelist.lst
%dir %{python3_sitelib}/*

%files help
%{_docdir}/*

%changelog
* Mon Jan 26 2026  openeuler_bot <infra@openeuler.sh> - 5.6.2-1
- update python-celery to 5.6.2 

* Tue Dec 30 2025 YangengLiu <dev01202@linx-info.com> - 5.6.1-1
- update version to 5.6.1
  * Fix Redis Sentinel ACL authentication support
  * Fix: Broker heartbeats not sent during graceful shutdown
  * docs #5410 -- Document confirm_publish broker transport option
  * close DB pools only in prefork mode
  * Fix: Avoid unnecessary Django database connection creation during cleanup
  * reliable prefork detection
  * better coverage
  * Docs: clarify result_extended vs periodic task metadata and show headers["periodic_task_name"] example
  * Stop importing pytest_subtests
  * Only use exceptiongroup backport for Python < 3.11

* Tue Dec 02 2025 zhangzeyang0718 <zhangzeyang@kylinos.cn> - 5.6.0-1
- Update to 5.6.0

* Wed Aug 13 2025 zhang_wenyu <zhang_wenyu@hoperun.com> - 5.5.3-1
- update to 5.5.3
  * make the tests run on python 3.13 for gcs backend
  * Added DeepWiki to README
  * Limit redis to <=v5.2.1 to match Kombu
  * Use EX_OK instead of literal zero
  * Make wheel metadata reproducible
  * let celery install from kombu dependencies for better align
  * Add: Dumper Unit Test
  * Add unit test for event.group_from

* Thu Feb 20 2025 xu_ping <707078654@qq.com> - 5.4.0-1
- update to 5.4.0
  * support redis 5.x
  * Added support for replaced_task_nesting in chains
  * Added Python 3.11 support to Dockerfile
  * updated dockerfile to add python 3.12
  * Support moto 5.0
  * Enable efficient chord when using dynamicdb as backend store
  * Add a Task class specialised for Django
  * Add Google Cloud Storage (GCS) backend
  * Added documentation to the smoke tests infra

* Wed Nov 06 2024 songliyang <songliyang@kylinos.cn> - 5.3.4-1
- update to 5.3.4
- Use string value for CELERY_SKIP_CHECKS envvar
- Document need for CELERY_ prefix on CLI env vars
- Fixed AttributeError: 'str' object has no attribute

* Tue Aug 13 2024 wenxin <wenxin32@foxmail.com> - 5.3.1-1
- update to 5.3.1

* Thu Sep 15 2022 liqiuyu <liqiuyu@kylinos.cn> - 5.2.7-1
- update to 5.2.7

* Tue May 10 2022 wulei <wulei80@h-partners.com> - 5.1.2-2
- License compliance rectification

* Sun Sep 26 2021 Python_Bot <Python_Bot@openeuler.org> - 5.1.2-1
- Package Init