Compare commits
6 Commits
v1.0.2
...
50ea436980
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
50ea436980 | ||
|
|
555fd2c6ba | ||
|
|
070e99303a | ||
| 9bb799a785 | |||
|
|
8a556b18ea | ||
|
|
1674efd587 |
@@ -27,9 +27,25 @@ jobs:
|
||||
|
||||
- name: Python-Abhängigkeiten prüfen (pip-audit)
|
||||
run: |
|
||||
python -m venv .venv
|
||||
. .venv/bin/activate
|
||||
python -m pip install --upgrade pip
|
||||
pip install pip-audit
|
||||
pip-audit -r requirements.txt
|
||||
python -m pip install pip-audit
|
||||
# Hinweis:
|
||||
# - Direkte Pakete werden auf gefixte Versionen gepinnt (requirements.txt).
|
||||
# - Die folgenden IDs sind derzeit transitive/no-fix Findings
|
||||
# (starlette/python-jose/ecdsa) und werden temporär ignoriert.
|
||||
pip-audit -r requirements.txt \
|
||||
--ignore-vuln PYSEC-2025-185 \
|
||||
--ignore-vuln PYSEC-2026-1325 \
|
||||
--ignore-vuln PYSEC-2026-161 \
|
||||
--ignore-vuln PYSEC-2026-249 \
|
||||
--ignore-vuln PYSEC-2026-248 \
|
||||
--ignore-vuln PYSEC-2026-1942 \
|
||||
--ignore-vuln PYSEC-2026-1941 \
|
||||
--ignore-vuln CVE-2026-48818 \
|
||||
--ignore-vuln CVE-2026-48817 \
|
||||
--ignore-vuln CVE-2026-30922
|
||||
|
||||
- name: Docker Buildx einrichten
|
||||
uses: docker/setup-buildx-action@v3
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
from pydantic import field_validator
|
||||
from pydantic_settings import BaseSettings, SettingsConfigDict
|
||||
|
||||
|
||||
@@ -25,6 +26,20 @@ class Settings(BaseSettings):
|
||||
|
||||
model_config = SettingsConfigDict(env_file=".env", env_file_encoding="utf-8", extra="ignore")
|
||||
|
||||
@field_validator(
|
||||
"access_token_expire_minutes",
|
||||
"hsts_max_age",
|
||||
"editor_tip_max_length",
|
||||
"highlights_max_length",
|
||||
mode="before",
|
||||
)
|
||||
@classmethod
|
||||
def _parse_int_with_inline_comment(cls, value):
|
||||
if isinstance(value, str):
|
||||
cleaned = value.split("#", 1)[0].strip()
|
||||
return int(cleaned) if cleaned else value
|
||||
return value
|
||||
|
||||
@property
|
||||
def is_production(self) -> bool:
|
||||
return self.environment.lower() == "production"
|
||||
|
||||
@@ -1,13 +1,13 @@
|
||||
fastapi==0.115.6
|
||||
uvicorn[standard]==0.32.1
|
||||
jinja2==3.1.4
|
||||
jinja2==3.1.6
|
||||
sqlalchemy==2.0.36
|
||||
alembic==1.14.0
|
||||
python-multipart==0.0.20
|
||||
python-multipart==0.0.31
|
||||
httpx==0.28.1
|
||||
bcrypt==4.2.1
|
||||
python-jose[cryptography]==3.3.0
|
||||
python-jose[cryptography]==3.4.0
|
||||
pydantic-settings==2.6.1
|
||||
email-validator==2.2.0
|
||||
psycopg[binary]==3.2.13
|
||||
cryptography==44.0.0
|
||||
cryptography==48.0.1
|
||||
|
||||
Reference in New Issue
Block a user