Add support for celery dynamic tasks (#715)

* Add support for celery dynamic tasks

* Update the celery conf

* Update the celery task tables name

* Refactor the celery task-related interfaces

* Optimize auto-discovery tasks

* Remove redundant config

* Refine the business codes

* Optimize crontab validation returns

* Update dependencies in pyproject toml

* Fix some bugs

* Update dependencies

* Update the version to 1.7.0

* Fix update and delete event
This commit is contained in:
Wu Clan
2025-07-11 07:54:33 +08:00
committed by GitHub
parent e84ef04f15
commit ce3be1db8e
39 changed files with 2561 additions and 1263 deletions
+15 -14
View File
@@ -13,44 +13,45 @@ requires-python = ">=3.10"
dynamic = ['version']
dependencies = [
"aiofiles>=24.1.0",
"alembic>=1.14.1",
"alembic>=1.16.3",
"asgi-correlation-id>=4.3.3",
"asgiref>=3.8.0",
"asgiref>=3.9.0",
"asyncmy>=0.2.10",
"asyncpg>=0.30.0",
"bcrypt>=4.2.1",
"cappa>=0.28.0",
"celery==5.3.6",
"celery>=5.5.3",
# When celery version < 6.0.0
# https://github.com/celery/celery/issues/7874
"celery-aio-pool==0.1.0rc8",
"cryptography>=44.0.0",
"dulwich>=0.22.8",
"celery-aio-pool>=0.1.0rc8",
"cryptography>=45.0.5",
"dulwich>=0.23.2",
"fast-captcha>=0.3.2",
"fastapi-limiter>=0.1.6",
"fastapi-pagination>=0.13.0",
"fastapi[standard]==0.115.11",
"fastapi[standard-no-fastapi-cloud-cli]>=0.116.0",
"flower>=2.0.0",
"gevent>=24.11.1",
"gevent>=25.5.1",
"granian>=2.4.0",
"ip2loc>=1.0.0",
"itsdangerous>=2.2.0",
"jinja2>=3.1.4",
"loguru>=0.7.3",
"msgspec>=0.19.0",
"path==17.0.0",
"psutil>=6.0.0",
"path>=17.0.0",
"psutil>=7.0.0",
"pwdlib>=0.2.1",
"pydantic>=2.11.0",
"pydantic-settings>=2.0.0",
"python-jose>=3.3.0",
"pydantic-settings>=2.10.0",
"pymysql>=1.1.1",
"python-jose>=3.5.0",
"python-socketio>=5.12.0",
"redis[hiredis]>=5.2.0",
"redis[hiredis]>=6.2.0",
"rtoml>=0.12.0",
"sqlalchemy-crud-plus>=1.10.0",
"sqlalchemy[asyncio]>=2.0.40",
"sqlparse>=0.5.3",
"user-agents==2.2.0",
"user-agents>=2.2.0",
]
[dependency-groups]