jupyter-rendering: add celery patch, to support dateutil change

required for jupyter.
This commit is contained in:
Marcin Kuzminski 2017-02-25 15:32:37 +01:00
parent 3fce2ad988
commit 558982d3cb
2 changed files with 20 additions and 0 deletions

View file

@ -0,0 +1,12 @@
diff -rup celery-2.2.10-orig/setup.py celery-2.2.10/setup.py
--- celery-2.2.10-orig/setup.py 2017-02-25 15:30:34.000000000 +0100
+++ celery-2.2.10/setup.py 2017-02-25 15:30:34.000000000 +0100
@@ -48,7 +48,7 @@ try:
except ImportError:
install_requires.append("importlib")
install_requires.extend([
- "python-dateutil>=1.5.0,<2.0.0",
+ "python-dateutil>=1.5.0,<2.2.0",
"anyjson>=0.3.1",
"kombu>=1.1.2,<2.0.0",
"pyparsing>=1.5.0,<2.0.0",

View file

@ -61,6 +61,14 @@ self: super: {
];
});
celery = super.celery.override (attrs: {
# The current version of kombu needs some patching to work with the
# other libs. Should be removed once we update celery and kombu.
patches = [
./patch-celery-dateutil.diff
];
});
kombu = super.kombu.override (attrs: {
# The current version of kombu needs some patching to work with the
# other libs. Should be removed once we update celery and kombu.