python3Packages.celery: 5.5.3 -> 5.6.0 (#468482)
This commit is contained in:
@@ -167,6 +167,7 @@ python.pkgs.buildPythonApplication rec {
|
||||
];
|
||||
|
||||
pythonRelaxDeps = [
|
||||
"celery"
|
||||
"django-allauth"
|
||||
"python-dotenv"
|
||||
"gotenberg-client"
|
||||
|
||||
@@ -64,6 +64,7 @@ python.pkgs.buildPythonApplication rec {
|
||||
'';
|
||||
|
||||
pythonRelaxDeps = [
|
||||
"celery"
|
||||
"certifi"
|
||||
"cyrtranslit"
|
||||
"django-appconf"
|
||||
|
||||
@@ -20,6 +20,11 @@ buildPythonPackage rec {
|
||||
|
||||
build-system = [ setuptools ];
|
||||
|
||||
pythonRelaxDeps = [
|
||||
# https://github.com/clokep/celery-batches/pull/100
|
||||
"celery"
|
||||
];
|
||||
|
||||
dependencies = [ celery ];
|
||||
|
||||
# requires a running celery
|
||||
|
||||
@@ -10,6 +10,7 @@
|
||||
click-repl,
|
||||
click,
|
||||
cryptography,
|
||||
exceptiongroup,
|
||||
fetchFromGitHub,
|
||||
gevent,
|
||||
google-cloud-firestore,
|
||||
@@ -29,6 +30,7 @@
|
||||
python-dateutil,
|
||||
pyyaml,
|
||||
setuptools,
|
||||
tzlocal,
|
||||
vine,
|
||||
# The AMQP REPL depends on click-repl, which is incompatible with our version
|
||||
# of click.
|
||||
@@ -37,14 +39,14 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "celery";
|
||||
version = "5.5.3";
|
||||
version = "5.6.0";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "celery";
|
||||
repo = "celery";
|
||||
tag = "v${version}";
|
||||
hash = "sha256-+sickqRfSkBxhcO0W9na6Uov4kZ7S5oqpXXKX0iRQ0w=";
|
||||
hash = "sha256-BKF+p35Z5r/WRjuOaSFtESkbo+N+tbd0R40EWl0iU9I=";
|
||||
};
|
||||
|
||||
patches = lib.optionals (!withAmqpRepl) [
|
||||
@@ -58,8 +60,10 @@ buildPythonPackage rec {
|
||||
click
|
||||
click-didyoumean
|
||||
click-plugins
|
||||
exceptiongroup
|
||||
kombu
|
||||
python-dateutil
|
||||
tzlocal
|
||||
vine
|
||||
]
|
||||
++ lib.optionals withAmqpRepl [
|
||||
@@ -108,6 +112,7 @@ buildPythonPackage rec {
|
||||
disabledTests = [
|
||||
"msgpack"
|
||||
"test_check_privileges_no_fchown"
|
||||
"test_uses_utc_timezone"
|
||||
# seems to only fail on higher core counts
|
||||
# AssertionError: assert 3 == 0
|
||||
"test_setup_security_disabled_serializers"
|
||||
@@ -133,7 +138,7 @@ buildPythonPackage rec {
|
||||
meta = {
|
||||
description = "Distributed task queue";
|
||||
homepage = "https://github.com/celery/celery/";
|
||||
changelog = "https://github.com/celery/celery/releases/tag/v${version}";
|
||||
changelog = "https://github.com/celery/celery/blob/${src.tag}/Changelog.rst";
|
||||
license = lib.licenses.bsd3;
|
||||
maintainers = with lib.maintainers; [ fab ];
|
||||
mainProgram = "celery";
|
||||
|
||||
@@ -7,23 +7,23 @@
|
||||
boto3,
|
||||
buildPythonPackage,
|
||||
confluent-kafka,
|
||||
fetchPypi,
|
||||
fetchFromGitHub,
|
||||
google-cloud-pubsub,
|
||||
google-cloud-monitoring,
|
||||
grpcio,
|
||||
hypothesis,
|
||||
kazoo,
|
||||
msgpack,
|
||||
packaging,
|
||||
protobuf,
|
||||
pycurl,
|
||||
pymongo,
|
||||
#, pyro4
|
||||
pytestCheckHook,
|
||||
pythonOlder,
|
||||
pyyaml,
|
||||
redis,
|
||||
setuptools,
|
||||
sqlalchemy,
|
||||
typing-extensions,
|
||||
tzdata,
|
||||
urllib3,
|
||||
vine,
|
||||
@@ -31,25 +31,24 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "kombu";
|
||||
version = "5.5.4";
|
||||
version = "5.6.1";
|
||||
pyproject = true;
|
||||
|
||||
disabled = pythonOlder "3.9";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
hash = "sha256-iGYAFoJ16+rak7iI6DE1L+V4FoNC8NHVgz2Iug2Ec2M=";
|
||||
src = fetchFromGitHub {
|
||||
owner = "celery";
|
||||
repo = "kombu";
|
||||
tag = "v${version}";
|
||||
hash = "sha256-kywPcWhc+iMh4OOH8gobA6NFismRvihgNMcxxw+2p/4=";
|
||||
};
|
||||
|
||||
build-system = [ setuptools ];
|
||||
|
||||
propagatedBuildInputs = [
|
||||
dependencies = [
|
||||
amqp
|
||||
packaging
|
||||
tzdata
|
||||
vine
|
||||
]
|
||||
++ lib.optionals (pythonOlder "3.10") [ typing-extensions ];
|
||||
];
|
||||
|
||||
optional-dependencies = {
|
||||
msgpack = [ msgpack ];
|
||||
@@ -72,6 +71,8 @@ buildPythonPackage rec {
|
||||
gcpubsub = [
|
||||
google-cloud-pubsub
|
||||
google-cloud-monitoring
|
||||
grpcio
|
||||
protobuf
|
||||
];
|
||||
# pyro4 doesn't support Python 3.11
|
||||
#pyro = [
|
||||
|
||||
Reference in New Issue
Block a user