reorder tests

This commit is contained in:
2026-07-13 13:00:13 +03:00
parent 92ac036f78
commit 7db38ff9e4
800 changed files with 307 additions and 996 deletions
+24 -84
View File
@@ -16,72 +16,13 @@ authors = [
]
dependencies = [
"bcrypt",
"filelock",
"inflection",
"pyelftools",
"requests",
"ahriman-core",
"ahriman-triggers",
"ahriman-web",
]
dynamic = ["version"]
[project.optional-dependencies]
journald = [
"systemd-python",
]
# FIXME technically this dependency is required, but in some cases we do not have access to
# the libalpm which is required in order to install the package. Thus in case if we do not
# really need to run the application we can move it to "optional" dependencies
pacman = [
"pyalpm",
]
reports = [
"Jinja2",
]
s3 = [
"boto3",
]
shell = [
"IPython"
]
stats = [
"matplotlib",
]
unixsocket = [
"requests-unixsocket2", # required by unix socket support
]
validator = [
"cerberus",
]
web = [
"aiohttp",
"aiohttp_cors",
"aiohttp_jinja2",
"aiohttp_sse",
]
web-auth = [
"ahriman[web]",
"aiohttp_session",
"aiohttp_security",
"cryptography",
]
web-docs = [
"ahriman[web]",
"aiohttp-apispec",
"setuptools", # required by aiohttp-apispec
]
web-metrics = [
"ahriman[web]",
"aiohttp-openmetrics",
]
web-oauth2 = [
"ahriman[web-auth]",
"aioauth-client",
]
[project.scripts]
ahriman = "ahriman.application.ahriman:run"
[project.urls]
Documentation = "https://ahriman.readthedocs.io/"
Repository = "https://github.com/arcan1s/ahriman"
@@ -112,32 +53,31 @@ tests = [
"pytest-spec",
]
[tool.hatch.version]
path = "src/ahriman/__init__.py"
[tool.hatch.build.targets.sdist]
include = [
"/AUTHORS",
"/CONTRIBUTING.md",
"/COPYING",
"/README.md",
"/SECURITY.md",
"/frontend",
"/package",
"/pyproject.toml",
"/src",
"/subpackages.py",
"/web.png",
]
exclude = [
"/.github",
"/docker",
"/package/archlinux",
"/frontend/node_modules",
"/frontend/package-lock.json",
"/recipes",
"/tools",
"/.bandit.yml",
"/.dockerignore",
"/.pylint.toml",
"/.readthedocs.yml",
"/github-logo.png",
"/tox.toml",
"/toxfile.py",
]
[tool.hatch.build.targets.wheel]
packages = ["src/ahriman"]
bypass-selection = true
[tool.hatch.build.targets.wheel.shared-data]
"package/lib" = "lib"
"package/share" = "share"
[tool.hatch.envs.default]
workspace.members = [
{path = "ahriman-core"},
{path = "ahriman-triggers"},
{path = "ahriman-web"},
]
[tool.hatch.version]
path = "ahriman-core/src/ahriman/__init__.py"