refactor: format api pyproject.toml

Sort and group dependencies by usage.

Part-of: <https://dev.funkwhale.audio/funkwhale/funkwhale/-/merge_requests/2300>
This commit is contained in:
jo 2022-12-19 22:16:01 +01:00 committed by Marge
parent ef1392b831
commit bf20fcb694
3 changed files with 2636 additions and 2604 deletions

5117
api/poetry.lock generated

File diff suppressed because it is too large Load Diff

View File

@ -10,8 +10,8 @@ documentation = "https://docs.funkwhale.audio"
license = "AGPL-3.0-only" license = "AGPL-3.0-only"
packages = [ packages = [
{ include = "funkwhale_api" }, { include = "funkwhale_api" },
{ include = "config" }, { include = "config" },
] ]
include = [ include = [
{ path = "*.html" }, { path = "*.html" },
@ -26,81 +26,95 @@ funkwhale-manage = 'funkwhale_api.main:main'
[tool.poetry.dependencies] [tool.poetry.dependencies]
python = "^3.7" python = "^3.7"
Django = "==3.2.16"
django-environ = "==0.9.0" # Django
Pillow = "==9.3.0" dj-rest-auth = { extras = ["with_social"], version = "2.2.5" }
django = "==3.2.16"
django-allauth = "==0.42.0" django-allauth = "==0.42.0"
psycopg2 = "==2.9.5" django-cache-memoize = "0.1.10"
pytz = "==2022.7" django-cacheops = "==6.1"
django-cleanup = "==6.0.0"
django-cors-headers = "==3.13.0"
django-dynamic-preferences = "==1.14.0"
django-environ = "==0.9.0"
django-filter = "==22.1"
django-oauth-toolkit = "2.2.0"
django-redis = "==5.2.0" django-redis = "==5.2.0"
django-storages = "==1.13.1"
django-versatileimagefield = "==2.2"
djangorestframework = "==3.14.0"
drf-spectacular = "==0.25.1"
markdown = "==3.4.1"
persisting-theory = "==1.0"
psycopg2 = "==2.9.5"
redis = "==4.4.0" redis = "==4.4.0"
# Django LDAP
django-auth-ldap = "==4.1.0"
python-ldap = "==3.4.3"
# Channels
channels = { extras = ["daphne"], version = "==4.0.0" }
channels-redis = "==4.0.0"
# Celery
kombu = "==5.2.4" kombu = "==5.2.4"
celery = "==5.2.7" celery = "==5.2.7"
django-cors-headers = "==3.13.0"
musicbrainzngs = "==0.7.1" # Deployment
djangorestframework = "==3.14.0"
arrow = "==1.2.3"
persisting-theory = "==1.0"
django-versatileimagefield = "==2.2"
django-filter = "==22.1"
mutagen = "==1.46.0"
django-dynamic-preferences = "==1.14.0"
python-magic = "==0.4.27"
channels = {extras = ["daphne"], version = "==4.0.0"}
channels-redis = "==4.0.0"
gunicorn = "==20.1.0" gunicorn = "==20.1.0"
cryptography = "==38.0.4" uvicorn = { version = "==0.20.0", extras = ["standard"] }
django-cleanup = "==6.0.0"
requests = "==2.28.1" # Libs
pydub = "==0.25.1"
PyLD = "==2.0.3"
aiohttp = "==3.8.3" aiohttp = "==3.8.3"
django-oauth-toolkit = "2.2.0" arrow = "==1.2.3"
django-storages = "==1.13.1"
boto3 = "==1.26.32"
unicode-slugify = "==0.1.5"
django-cacheops = "==6.1"
service-identity = "==21.1.0"
click = "==8.1.3"
Markdown = "==3.4.1"
bleach = "==5.0.1" bleach = "==5.0.1"
boto3 = "==1.26.32"
click = "==8.1.3"
cryptography = "==38.0.4"
feedparser = "==6.0.10" feedparser = "==6.0.10"
watchdog = "==2.2.0" musicbrainzngs = "==0.7.1"
asgiref = "==3.5.2" #1516 mutagen = "==1.46.0"
ipython = "==7.34.0" pillow = "==9.3.0"
python-ldap = "==3.4.3" pydub = "==0.25.1"
django-auth-ldap = "==4.1.0" pyld = "==2.0.3"
uvicorn = {version = "==0.20.0", extras = ["standard"]} python-magic = "==0.4.27"
django-cache-memoize = "0.1.10" pytz = "==2022.7"
requests = "==2.28.1"
requests-http-message-signatures = "==0.3.1" requests-http-message-signatures = "==0.3.1"
drf-spectacular = "==0.25.1"
sentry-sdk = "==1.12.1" sentry-sdk = "==1.12.1"
watchdog = "==2.2.0"
# Dependencies pinning
asgiref = "==3.5.2" #1516
importlib-metadata = { version = "==4.13.0", python = "<=3.7" }
ipython = "==7.34.0"
pluralizer = "==1.2.0" pluralizer = "==1.2.0"
importlib_metadata = {version = "==4.13.0", python = "<=3.7"} # Keep support python 3.7, can be removed if we drop support service-identity = "==21.1.0"
dj-rest-auth = {extras = ["with_social"], version = "2.2.5"} unicode-slugify = "==0.1.5"
[tool.poetry.dev-dependencies] [tool.poetry.dev-dependencies]
aioresponses = "==0.7.4"
asynctest = "==0.13.0"
black = "==22.12.0"
coverage = { version = "==6.5.0", extras = ["toml"] }
debugpy = "==1.6.4"
django-coverage-plugin = "==3.0.0"
django-debug-toolbar = "==3.8.1"
factory-boy = "==3.2.1"
faker = "==15.3.4"
flake8 = "==3.9.2" flake8 = "==3.9.2"
ipdb = "==0.13.11"
prompt-toolkit = "==3.0.36"
pytest = "==7.2.0" pytest = "==7.2.0"
pytest-asyncio = "==0.20.3"
pytest-cov = "==4.0.0" pytest-cov = "==4.0.0"
pytest-django = "==4.5.2" pytest-django = "==4.5.2"
pytest-env = "==0.8.1" pytest-env = "==0.8.1"
pytest-mock = "==3.10.0" pytest-mock = "==3.10.0"
pytest-randomly = "==3.12.0" pytest-randomly = "==3.12.0"
pytest-sugar = "==0.9.6" pytest-sugar = "==0.9.6"
pytest-asyncio = "==0.20.3"
requests-mock = "==1.10.0" requests-mock = "==1.10.0"
Faker = "==15.3.4"
coverage = { version = "==6.5.0", extras = ["toml"] }
django-coverage-plugin = "==3.0.0"
factory-boy = "==3.2.1"
django-debug-toolbar = "==3.8.1"
asynctest = "==0.13.0"
aioresponses = "==0.7.4"
prompt-toolkit = "==3.0.36"
black = "==22.12.0"
ipdb = "==0.13.11"
debugpy = "==1.6.4"
[build-system] [build-system]
requires = ["poetry-core>=1.0.0"] requires = ["poetry-core>=1.0.0"]

View File

@ -0,0 +1 @@
Format api pyproject.toml