Celery

Latest version: v5.4.0

Safety actively analyzes 621705 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 27 of 48

2.7.3.13

---------------------

- Merged with Python trunk (many authors, many fixes: see Python changelog in
trunk).

- Using execv now also works with older Django projects using setup_environ
(Issue 10).

- Billiard now installs with a warning that the C extension could not be built
if a compiler is not installed or the build fails in some other way.

It really is recommended to have the C extension installed when running
with force execv, but this change also makes it easier to install.

- Pool: Hard timeouts now sends KILL shortly after TERM so that C extensions
cannot block the signal.

Python signal handlers are called in the interpreter, so they cannot
be called while a C extension is blocking the interpreter from running.

- Now uses a timeout value for Thread.join that doesn't exceed the maximum
on some platforms.

- Fixed bug in the SemLock fallback used when C extensions not installed.

Fix contributed by Mher Movsisyan.

- Pool: Now sets a Process.index attribute for every process in the pool.

This number will always be between 0 and concurrency-1, and
can be used to e.g. create a logfile for each process in the pool
without creating a new logfile whenever a process is replaced.

2.7.3.12

---------------------

- Fixed Python 2.5 compatibility issue.

- New Pool.terminate_job(pid) to terminate a job without raising WorkerLostError

2.7.3.11

---------------------

- Adds support for FreeBSD 7+

Fix contributed by koobs.

- Pool: New argument ``allow_restart`` is now required to enable
the pool process sentinel that is required to restart the pool.

It's disabled by default, which reduces the number of file
descriptors/semaphores required to run the pool.

- Pool: Now emits a warning if a worker process exited with error-code.

But not if the error code is 155, which is now returned if the worker
process was recycled (maxtasksperchild).

- Python 3 compatibility fixes.

- Python 2.5 compatibility fixes.

2.7.3.10

---------------------

- The ``TimeLimitExceeded`` exception string representation
only included the seconds as a number, it now gives a more human
friendly description.

- Fixed typo in ``LaxBoundedSemaphore.shrink``.

- Pool: ``ResultHandler.handle_event`` no longer requires
any arguments.

- setup.py bdist now works

2.7.3.9

--------------------

- Environment variable ``MP_MAIN_FILE`` envvar is now set to
the path of the ``__main__`` module when execv is enabled.

- Pool: Errors occurring in the TaskHandler are now reported.

2.7.3.8

--------------------

- Can now be installed on Py 3.2

- Issue 12091: simplify ApplyResult and MapResult with threading.Event

Patch by Charles-Francois Natali

- Pool: Support running without TimeoutHandler thread.

- The with_*_thread arguments has also been replaced with
a single `threads=True` argument.

- Two new pool callbacks:

- ``on_timeout_set(job, soft, hard)``

Applied when a task is executed with a timeout.

- ``on_timeout_cancel(job)``

Applied when a timeout is cancelled (the job completed)

Page 27 of 48

Links

Releases

Has known vulnerabilities

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.