Convert dependency management to poetry

This commit is contained in:
Georg Krause 2022-01-08 19:42:27 +01:00
parent 50c1a13f82
commit 171cb84249
6 changed files with 3238 additions and 110 deletions

3154
api/poetry.lock generated Normal file

File diff suppressed because it is too large Load Diff

84
api/pyproject.toml Normal file
View File

@ -0,0 +1,84 @@
[tool.poetry]
name = "Funkwhale"
version = "1.2.1"
description = ""
authors = ["Funkwhale Collective"]
license = "GNU AGPLv3"
[tool.poetry.dependencies]
python = "^3.7"
Django = "~=3.2.3"
setuptools = "~=57.4.0"
django-environ = "~=0.4.0"
Pillow = "~=8.3.0"
django-allauth = "~=0.42.0"
psycopg2 = "~=2.9.1"
pytz = "2021.1"
django-redis = "~=5.0.0"
redis = "~=3.5.0"
kombu = "~=5.1.0"
celery = "~=5.1.2"
django-cors-headers = "~=3.8.0"
musicbrainzngs = "~=0.7.1"
djangorestframework = "~=3.12.2"
arrow = "~=1.1.0"
persisting-theory = "~=0.2.0"
django-versatileimagefield = "~=2.2.0"
django-filter = "~=2.4.0"
django-rest-auth = "~=0.9.0"
mutagen = "~=1.45.0"
PyMemoize = "~=1.0.0"
django-dynamic-preferences = "~=1.10"
python-magic = "~=0.4.0"
channels = "~=3.0.3"
channels-redis = "~=3.3.0"
gunicorn = "~=20.1.0"
cryptography = ">=3.3.2"
requests-http-signature = {git = "https://github.com/agateblue/requests-http-signature.git", rev = "signature-header-support"}
django-cleanup = "~=5.2.0"
requests = "~=2.26.0"
pyOpenSSL = "~=20.0.1"
pydub = "~=0.25.1"
PyLD = "~=2.0.3"
aiohttp = "~=3.7.4"
django-oauth-toolkit = "~=1.5.0"
django-storages = "~=1.11.1"
boto3 = "~=1.17.59"
unicode-slugify = "~=0.1.0"
django-cacheops = "~=6.0.0"
service-identity = "~=21.1.0"
click = "~=7.1.0"
Markdown = "~=3.3.4"
bleach = "~=3.3.0"
feedparser = "~=6.0.0"
watchdog = "~=2.1.2"
asgiref = "3.3.4" #1516
ipython = "~=7.27.0"
python-ldap = "~=3.3.0"
django-auth-ldap = "~=3.0.0"
[tool.poetry.dev-dependencies]
flake8 = "~=3.9.1"
pytest = "~=6.2.3"
pytest-cov = "~=2.12.0"
pytest-django = "~=4.4.0"
pytest-env = "~=0.6.0"
pytest-mock = "~=3.6.0"
pytest-randomly = "~=3.10.1"
pytest-sugar = "~=0.9.0"
pytest-asyncio = "~=0.15.1"
requests-mock = "~=1.9.0"
Faker = "~=8.12.1"
coverage = "~=5.5.0"
django-coverage-plugin = "~=2.0.0"
factory-boy = "~=3.2.0"
django-debug-toolbar = "~=3.2.1"
asynctest = "~=0.13.0"
aioresponses = "~=0.7.2"
prompt-toolkit = "~=3.0.18"
black = "~=21.4b1"
ipdb = "~=0.13.7"
[build-system]
requires = ["poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api"

View File

@ -1,3 +0,0 @@
# This file is here because many Platforms as a Service look for
# requirements.txt in the root directory of a project.
-r requirements/base.txt

View File

@ -1,74 +0,0 @@
django~=3.2.3
setuptools~=57.4.0
# Configuration
django-environ~=0.4.0
# Images
Pillow~=8.3.0
django-allauth~=0.42.0
psycopg2~=2.9.1
# Time zones support
pytz==2021.1
# Redis support
django-redis~=5.0.0
redis~=3.5.0
kombu~=5.1.0
celery~=5.1.2
# Your custom requirements go here
django-cors-headers~=3.8.0
musicbrainzngs~=0.7.1
djangorestframework~=3.12.2
arrow~=1.1.0
persisting-theory~=0.2.0
django-versatileimagefield~=2.2.0
django-filter~=2.4.0
django-rest-auth~=0.9.0
ipython~=7.27.0
mutagen~=1.45.0
pymemoize~=1.0.0
django-dynamic-preferences~=1.10
python-magic~=0.4.0
channels~=3.0.3
channels_redis~=3.3.0
uvicorn[standard]~=0.14.0
gunicorn~=20.1.0
cryptography>=3.3.2
# requests-http-signature==0.0.3
# clone until the branch is merged and released upstream
git+https://github.com/agateblue/requests-http-signature.git@signature-header-support
django-cleanup~=5.2.0
requests~=2.26.0
pyOpenSSL~=20.0.1
# for LDAP authentication
python-ldap~=3.3.0
django-auth-ldap~=3.0.0
pydub~=0.25.1
pyld~=2.0.3
aiohttp~=3.7.4
django-oauth-toolkit~=1.5.0
django-storages~=1.11.1
boto3~=1.17.59
unicode-slugify~=0.1.0
django-cacheops~=6.0.0
service_identity~=21.1.0
click~=7.1.0
markdown~=3.3.4
bleach~=3.3.0
feedparser~=6.0.0
watchdog~=2.1.2
## Pin third party dependency to avoid issue with latest version
asgiref==3.3.4 #1516

View File

@ -1,20 +0,0 @@
# Local development dependencies go here
coverage~=5.5.0
django_coverage_plugin~=2.0.0
factory_boy~=3.2.0
# django-debug-toolbar that works with Django 1.5+
django-debug-toolbar~=3.2.1
# improved REPL
ipdb~=0.13.7
prompt_toolkit~=3.0.18
black~=21.4b1
#profiling
asynctest~=0.13.0
aioresponses~=0.7.2
#line_profiler<3
#https://github.com/dmclain/django-debug-toolbar-line-profiler/archive/master.zip
#django-silk

View File

@ -1,13 +0,0 @@
# Test dependencies go here.
flake8~=3.9.1
pytest~=6.2.3
pytest-cov~=2.12.0
pytest-django~=4.4.0
pytest-env~=0.6.0
pytest-mock~=3.6.0
pytest-randomly~=3.10.1
pytest-sugar~=0.9.0
pytest-asyncio~=0.15.1
requests-mock~=1.9.0
faker~=8.12.1