Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

setup: bump Celery version #24

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 2 additions & 3 deletions docs/api.rst
Original file line number Diff line number Diff line change
Expand Up @@ -28,10 +28,9 @@ API Docs
Tasks API
---------
.. automodule:: inspire_crawler.tasks
:members: submit_results, schedule_crawl
:undoc-members:
:show-inheritance:
:members:
.. autotask:: inspire_crawler.tasks.submit_results
.. autotask:: inspire_crawler.tasks.schedule_crawl


Signal receivers
Expand Down
3 changes: 3 additions & 0 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,9 @@ def _warn_node(self, msg, *args, **kwargs):
'celery.contrib.sphinx',
]

# Remove default Celery sphinx task prefix
celery_task_prefix = ''

# Add any paths that contain templates here, relative to this directory.
templates_path = ['_templates']

Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@
'python-scrapyd-api>=2.0.1',
'pathlib2>=2.1.0',
'invenio-celery>=1.0.0a3',
'celery<4.0',
'celery>=4.0,<5.0',
'invenio_workflows~=7.0',
'invenio_oaiharvester>=1.0.0a3',
]
Expand Down