Skip to content

Commit f8b5d26

Browse files
authored
Merge hotfix 1.7.1 (#1127)
* Revert #1070: tasks.py raises an import exception with Celery and conflicts with Huey. * bump version to 1.7.1
1 parent a6bd0d0 commit f8b5d26

File tree

4 files changed

+8
-14
lines changed

4 files changed

+8
-14
lines changed

CHANGELOG.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,13 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
1414
### Security
1515
-->
1616

17+
## [1.7.1] 2022-03-19
18+
19+
### Removed
20+
* #1126 Reverts #1070 which incorrectly added Celery auto-discovery tasks.py (as described in #1123) and because it conflicts
21+
with Huey's auto-discovery which also uses tasks.py as described in #1114. If you are using Celery or Huey, you'll need
22+
to separately implement these tasks.
23+
1724
## [1.7.0] 2022-01-23
1825

1926
### Added

docs/management_commands.rst

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,3 @@ To prevent the CPU and RAM high peaks during deletion process use ``CLEAR_EXPIRE
2121

2222
Note: Refresh tokens need to expire before AccessTokens can be removed from the
2323
database. Using ``cleartokens`` without ``REFRESH_TOKEN_EXPIRE_SECONDS`` has limited effect.
24-
25-
The ``cleartokens`` action can also be scheduled as a `Celery periodic task`_
26-
by using the ``clear_tokens`` task (automatically registered when using Celery).
27-
28-
.. _Celery periodic task: https://docs.celeryproject.org/en/stable/userguide/periodic-tasks.html

oauth2_provider/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import django
22

33

4-
__version__ = "1.7.0"
4+
__version__ = "1.7.1"
55

66
if django.VERSION < (3, 2):
77
default_app_config = "oauth2_provider.apps.DOTConfig"

oauth2_provider/tasks.py

Lines changed: 0 additions & 8 deletions
This file was deleted.

0 commit comments

Comments
 (0)