mirror of
https://gitlab.archlinux.org/archlinux/aurweb.git
synced 2025-02-03 10:43:03 +01:00
Supply FASTAPI_BACKEND=gunicorn and FASTAPI_WORKERS=<threads_num> to docker-compose up to use the gunicorn backend. This is defaulted in production to gunicorn, but FASTAPI_WORKERS should definitely be configured by any production deployment. Signed-off-by: Kevin Morris <kevr@0cost.org>
102 lines
3.8 KiB
TOML
102 lines
3.8 KiB
TOML
# Poetry build configuration for the aurweb project.
|
|
#
|
|
# Dependencies:
|
|
# * python >= 3.9
|
|
# * pip
|
|
# * poetry
|
|
# * poetry-dynamic-versioning
|
|
#
|
|
[tool.poetry]
|
|
name = "aurweb"
|
|
version = "5.0.0" # Updated via poetry-dynamic-versioning
|
|
license = "GPL-2.0-only"
|
|
description = "Source code for the Arch User Repository's website"
|
|
homepage = "https://aur.archlinux.org"
|
|
repository = "https://gitlab.archlinux.org/archlinux/aurweb"
|
|
documentation = "https://gitlab.archlinux.org/archlinux/aurweb/-/blob/master/README.md"
|
|
keywords = ["aurweb", "aur", "Arch", "Linux"]
|
|
authors = [
|
|
"Lucas Fleischer <lfleischer@archlinux.org>",
|
|
"Eli Schwartz <eschwartz@archlinux.org>",
|
|
"Kevin Morris <kevr@0cost.org>"
|
|
]
|
|
maintainers = [
|
|
"Eli Schwartz <eschwartz@archlinux.org>"
|
|
]
|
|
packages = [
|
|
{ include = "aurweb" }
|
|
]
|
|
|
|
[tool.poetry-dynamic-versioning]
|
|
enable = true
|
|
vcs = "git"
|
|
|
|
[build-system]
|
|
requires = ["poetry>=1.1.8", "poetry-dynamic-versioning"]
|
|
build-backend = "poetry.masonry.api"
|
|
|
|
[tool.poetry.urls]
|
|
"Repository" = "https://gitlab.archlinux.org/archlinux/aurweb"
|
|
"Bug Tracker" = "https://gitlab.archlinux.org/archlinux/aurweb/-/issues"
|
|
"Development Mailing List" = "https://lists.archlinux.org/listinfo/aur-dev"
|
|
"General Mailing List" = "https://lists.archlinux.org/listinfo/aur-general"
|
|
"Request Mailing List" = "https://lists.archlinux.org/listinfo/aur-requests"
|
|
|
|
[tool.poetry.dependencies]
|
|
# poetry-dynamic-versioning is used to produce tool.poetry.version
|
|
# based on git tags.
|
|
poetry-dynamic-versioning = { version = "0.13.1", python = "^3.9" }
|
|
|
|
# General
|
|
authlib = { version = "0.15.2", python = "^3.9" }
|
|
aiofiles = { version = "0.7.0", python = "^3.9" }
|
|
asgiref = { version = "3.4.1", python = "^3.9" }
|
|
bcrypt = { version = "3.2.0", python = "^3.9" }
|
|
bleach = { version = "3.3.1", python = "^3.9" }
|
|
email-validator = { version = "1.1.3", python = "^3.9" }
|
|
fakeredis = { version = "1.6.0", python = "^3.9" }
|
|
fastapi = { version = "0.66.0", python = "^3.9" }
|
|
feedgen = { version = "0.9.0", python = "^3.9" }
|
|
httpx = { version = "0.18.2", python = "^3.9" }
|
|
hypercorn = { version = "0.11.2", python = "^3.9" }
|
|
itsdangerous = { version = "2.0.1", python = "^3.9" }
|
|
jinja2 = { version = "3.0.1", python = "^3.9" }
|
|
lxml = { version = "4.6.3", python = "^3.9" }
|
|
markdown = { version = "3.3.4", python = "^3.9" }
|
|
orjson = { version = "3.6.3", python = "^3.9" }
|
|
protobuf = { version = "3.17.3", python = "^3.9" }
|
|
pygit2 = { version = "1.6.1", python = "^3.9" }
|
|
python-multipart = { version = "0.0.5", python = "^3.9" }
|
|
redis = { version = "3.5.3", python = "^3.9" }
|
|
requests = { version = "2.26.0", python = "^3.9" }
|
|
werkzeug = { version = "2.0.1", python = "^3.9" }
|
|
paginate = { version = "0.5.6", python = "^3.9" }
|
|
|
|
# SQL
|
|
alembic = { version = "1.6.5", python = "^3.9" }
|
|
sqlalchemy = { version = "1.3.23", python = "^3.9" }
|
|
mysqlclient = { version = "2.0.3", python = "^3.9" }
|
|
|
|
[tool.poetry.dev-dependencies]
|
|
flake8 = { version = "3.9.2", python = "^3.9" }
|
|
isort = { version = "5.9.3", python = "^3.9" }
|
|
coverage = { version = "5.5", python = "^3.9" }
|
|
pytest = { version = "6.2.4", python = "^3.9" }
|
|
pytest-asyncio = { version = "0.15.1", python = "^3.9" }
|
|
pytest-cov = { version = "2.12.1", python = "^3.9" }
|
|
pytest-tap = { version = "3.2", python = "^3.9" }
|
|
uvicorn = { version = "0.15.0", python = "^3.9" }
|
|
gunicorn = { version = "20.1.0", python = "^3.9" }
|
|
|
|
[tool.poetry.scripts]
|
|
aurweb-git-auth = "aurweb.git.auth:main"
|
|
aurweb-git-serve = "aurweb.git.serve:main"
|
|
aurweb-git-update = "aurweb.git.update:main"
|
|
aurweb-aurblup = "aurweb.scripts.aurblup:main"
|
|
aurweb-mkpkglists = "aurweb.scripts.mkpkglists:main"
|
|
aurweb-notify = "aurweb.scripts.notify:main"
|
|
aurweb-pkgmaint = "aurweb.scripts.pkgmaint:main"
|
|
aurweb-popupdate = "aurweb.scripts.popupdate:main"
|
|
aurweb-rendercomment = "aurweb.scripts.rendercomment:main"
|
|
aurweb-tuvotereminder = "aurweb.scripts.tuvotereminder:main"
|
|
aurweb-usermaint = "aurweb.scripts.usermaint:main"
|