Remove PASKIA_SITE_URL env, use PASKIA_VITE_URL instead, moving the correct site URL determination to paskia CLI directly. This resolves devserver issues where VITE URL was reported as the external site URL instead of configured auth-host or origins. Main CLI still simplified. Bump deps versions and cleanup pyproject.toml.

This commit is contained in:
2026-02-18 17:21:03 +00:00
parent 49119fac81
commit 39000ef831
3 changed files with 51 additions and 83 deletions
+17 -27
View File
@@ -11,20 +11,29 @@ keywords = [ "forward_auth", "auth_request", "FastAPI" ]
authors = [
{name = "Leo Vasanko"},
]
requires-python = ">=3.11"
dependencies = [
"fastapi[standard]>=0.104.1",
"websockets>=12.0",
"webauthn>=1.11.1",
"base64url>=1.0.0",
"uuid7-standard>=1.0.0",
"pyjwt[crypto]>=2.8.0",
"fastapi[standard]>=0.129.0",
"websockets>=16.0",
"webauthn>=2.7.1",
"base64url>=1.1.1",
"uuid7-standard>=1.1.0",
"pyjwt[crypto]>=2.11.0",
"jsondiff>=2.2.1",
"msgspec>=0.20.0",
"aiofiles>=25.1.0",
"fastapi-vue>=0.3.0",
"fastapi-vue>=1.1.0",
"ua-parser[regex]>=1.0.1",
]
requires-python = ">=3.11"
[dependency-groups]
dev = [
"coverage>=7.13.4",
"httpx>=0.28.1",
"pytest>=9.0.2",
"pytest-asyncio>=1.3.0",
"pytest-cov>=7.0.0",
"ruff>=0.15.1",
]
[project.urls]
Homepage = "https://git.zi.fi/LeoVasanko/paskia"
@@ -36,15 +45,6 @@ source = "vcs"
[tool.hatch.build.hooks.vcs]
version-file = "paskia/_version.py"
[project.optional-dependencies]
dev = [
"ruff>=0.1.0",
"coverage[toml]>=7.0.0",
"pytest>=8.0.0",
"pytest-asyncio>=0.24.0",
"httpx>=0.27.0",
]
[tool.coverage.run]
source = ["paskia"]
branch = true
@@ -75,16 +75,6 @@ select = ["E", "F", "I", "N", "W", "UP", "PLC0415"]
ignore = ["E501"] # Line too long
isort.known-first-party = ["paskia"]
[dependency-groups]
dev = [
"coverage>=7.12.0",
"httpx>=0.28.1",
"pytest>=9.0.1",
"pytest-asyncio>=1.3.0",
"pytest-cov>=7.0.0",
"ruff>=0.14.8",
]
[project.scripts]
paskia = "paskia.__main__:main"