File tree Expand file tree Collapse file tree 8 files changed +23
-14
lines changed Expand file tree Collapse file tree 8 files changed +23
-14
lines changed Original file line number Diff line number Diff line change 9
9
10
10
3.1.1
11
11
=====
12
- :release-date: 2013-11-11 XX:XX X.X UTC
12
+ :release-date: 2013-11-11 07:30 P.M UTC
13
13
14
14
- Fixed Python 3 compatibility problems.
15
15
38
38
39
39
Fix contributed by Alvaro Vega.
40
40
41
- - find_related_module now handles import errors (Issue #226).
41
+ - Autodiscovery now warns instead of propagating import
42
+ errors (Issue #226).
42
43
43
44
.. _version-3.1.0:
44
45
Original file line number Diff line number Diff line change 4
4
5
5
.. image :: http://cloud.github.com/downloads/celery/celery/celery_128.png
6
6
7
- :Version: 3.1.0
7
+ :Version: 3.1.1
8
8
:Web: http://celeryproject.org/
9
9
:Download: http://pypi.python.org/pypi/django-celery/
10
10
:Source: http://github.com/celery/django-celery/
Original file line number Diff line number Diff line change 5
5
6
6
import os
7
7
8
- VERSION = (3 , 1 , 0 )
8
+ VERSION = (3 , 1 , 1 )
9
9
__version__ = '.' .join (map (str , VERSION [0 :3 ])) + '' .join (VERSION [3 :])
10
10
__author__ = 'Ask Solem'
11
11
Original file line number Diff line number Diff line change 1
1
from __future__ import absolute_import , unicode_literals
2
2
3
+ import warnings
4
+
3
5
from django .conf import settings
4
6
5
7
from celery .registry import tasks
@@ -21,10 +23,13 @@ def test_discovery(self):
21
23
self .assertDiscovery ()
22
24
23
25
def test_discovery_with_broken (self ):
26
+ warnings .resetwarnings ()
24
27
if 'someapp' in settings .INSTALLED_APPS :
25
28
installed_apps = list (settings .INSTALLED_APPS )
26
29
settings .INSTALLED_APPS = installed_apps + ['xxxnot.aexist' ]
27
30
try :
28
- self .assertRaises (ImportError , autodiscover )
31
+ with warnings .catch_warnings (record = True ) as log :
32
+ autodiscover ()
33
+ self .assertTrue (log )
29
34
finally :
30
35
settings .INSTALLED_APPS = installed_apps
Original file line number Diff line number Diff line change 4
4
5
5
.. image :: http://cloud.github.com/downloads/celery/celery/celery_128.png
6
6
7
- :Version: 3.1.0b2
7
+ :Version: 3.1.1
8
8
:Web: http://celeryproject.org/
9
9
:Download: http://pypi.python.org/pypi/django-celery/
10
10
:Source: http://github.com/celery/django-celery/
13
13
14
14
--
15
15
16
+ .. warning ::
17
+
18
+ **THIS PROJECT IS NO LONGER REQUIRED **
19
+
20
+ Please follow the new tutorial at:
21
+
22
+ http://docs.celeryproject.org/en/latest/django/first-steps-with-django.html
23
+
16
24
django-celery provides Celery integration for Django; Using the Django ORM
17
25
and cache backend for storing results, autodiscovery of task modules
18
26
for applications listed in ``INSTALLED_APPS ``, and more.
Original file line number Diff line number Diff line change 1
- celery>=3.1
1
+ celery>=3.1.1
Original file line number Diff line number Diff line change @@ -7,4 +7,4 @@ all_files = 1
7
7
upload-dir = docs/.build/html
8
8
9
9
[bdist_rpm]
10
- requires = celery >= 3.1
10
+ requires = celery >= 3.1.1
Original file line number Diff line number Diff line change @@ -178,8 +178,7 @@ def extra_args(self):
178
178
data_files = data_files ,
179
179
zip_safe = False ,
180
180
install_requires = [
181
- 'pytz>dev' ,
182
- 'celery>=3.0.11' ,
181
+ 'celery>=3.1.1' ,
183
182
],
184
183
cmdclass = {'test' : RunTests ,
185
184
'quicktest' : QuickRunTests ,
@@ -200,15 +199,11 @@ def extra_args(self):
200
199
'Programming Language :: Python :: 2.6' ,
201
200
'Programming Language :: Python :: 2.7' ,
202
201
'Programming Language :: Python :: 3' ,
203
- 'Programming Language :: Python :: 3.2' ,
204
202
'Programming Language :: Python :: 3.3' ,
205
203
'Programming Language :: Python :: Implementation :: CPython' ,
206
204
'Programming Language :: Python :: Implementation :: PyPy' ,
207
205
'Programming Language :: Python :: Implementation :: Jython' ,
208
206
],
209
- entry_points = {
210
- 'console_scripts' : ['djcelerymon = djcelery.mon:main' ],
211
- },
212
207
long_description = long_description ,
213
208
** extra
214
209
)
You can’t perform that action at this time.
0 commit comments