aurweb/pyproject.toml

123 lines
3.2 KiB
TOML

[tool.black]
line-length = 88
[tool.isort]
profile = "black"
combine_as_imports = true
# Poetry build configuration for the aurweb project.
#
# Dependencies:
# * python >= 3.9
# * pip
# * poetry
# * poetry-dynamic-versioning
#
[tool.poetry]
name = "aurweb"
version = "v6.2.12"
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 = [
"Leonidas Spyropoulos <artafinde@archlinux.org>",
"Mario Oenning <moson@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]
python = ">=3.9,<3.13"
# poetry-dynamic-versioning is used to produce tool.poetry.version
# based on git tags.
# General
aiofiles = "^23.2.1"
asgiref = "^3.8.1"
bcrypt = "^4.1.2"
bleach = "^6.1.0"
email-validator = "^2.1.1"
fakeredis = "^2.21.3"
feedgen = "^1.0.0"
httpx = "^0.27.0"
itsdangerous = "^2.1.2"
lxml = "^5.2.1"
orjson = "^3.10.0"
protobuf = "^5.26.1"
pygit2 = "^1.14.1"
python-multipart = "^0.0.9"
redis = "^5.0.3"
requests = "^2.31.0"
paginate = "^0.5.6"
# SQL
alembic = "^1.13.1"
mysqlclient = "^2.2.4"
Authlib = "^1.3.0"
Jinja2 = "^3.1.3"
Markdown = "^3.6"
Werkzeug = "^3.0.2"
SQLAlchemy = "^1.4.52"
# ASGI
uvicorn = "^0.30.0"
gunicorn = "^21.2.0"
Hypercorn = "^0.17.0"
prometheus-fastapi-instrumentator = "^7.0.0"
pytest-xdist = "^3.5.0"
filelock = "^3.13.3"
posix-ipc = "^1.1.1"
pyalpm = "^0.10.6"
fastapi = "^0.110.0"
srcinfo = "^0.1.2"
tomlkit = "^0.13.0"
[tool.poetry.dev-dependencies]
coverage = "^7.4.4"
pytest = "^8.1.1"
pytest-asyncio = "^0.23.0"
pytest-cov = "^5.0.0"
pytest-tap = "^3.4"
watchfiles = "^0.22.0"
[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-votereminder = "aurweb.scripts.votereminder:main"
aurweb-usermaint = "aurweb.scripts.usermaint:main"
aurweb-config = "aurweb.scripts.config:main"
aurweb-adduser = "aurweb.scripts.adduser:main"
aurweb-git-archive = "aurweb.scripts.git_archive:main"