diff --git a/requirements-ci.txt b/requirements-ci.txt index 9977a90..b073978 100644 --- a/requirements-ci.txt +++ b/requirements-ci.txt @@ -1,35 +1,35 @@ -# ============================================================================= -# CSAT-Compass — CI-afhankelijkheden (GitHub Actions / Ubuntu) -# Bevat alleen wat nodig is om de testsuite te draaien. -# WeasyPrint wordt weggelaten — vereist system-level libraries op Ubuntu -# (Cairo, pango, etc.) die niet beschikbaar zijn in de standaard runner. -# Streamlit en plotly worden WEL meegenomen — installeren zonder system-deps -# en zijn vereist om app.py via importlib te laden in test_render_sortable_table. -# ============================================================================= - -# --- Data laden (SQL + CSV) --- -pandas>=2.3.0 -openpyxl>=3.1.0 -sqlalchemy>=2.0.0 -pyodbc>=5.0.0 # vereist: sudo apt-get install -y unixodbc-dev - -# --- Visualisatie (matplotlib — geen system-deps op Ubuntu) --- -matplotlib>=3.7.0 - -# --- Dashboard (streamlit + plotly — geen system-deps op Ubuntu) --- -streamlit>=1.32.0 -plotly>=5.20.0 - -# --- Utilities --- -python-dotenv>=1.0.0 -loguru>=0.7.0 -jinja2>=3.1.0 # rapport-templates (ReportExporter) - -# --- Type stubs (mypy in CI) --- -pandas-stubs>=3.0.0 - -# --- Testing --- -pytest>=9.0.3 -pytest-cov>=4.0 -pytest-randomly>=3.15 # vereist door addopts: -p randomly - +# ============================================================================= +# CSAT-Compass — CI-afhankelijkheden (GitHub Actions / Ubuntu) +# Bevat alleen wat nodig is om de testsuite te draaien. +# WeasyPrint wordt weggelaten — vereist system-level libraries op Ubuntu +# (Cairo, pango, etc.) die niet beschikbaar zijn in de standaard runner. +# Streamlit en plotly worden WEL meegenomen — installeren zonder system-deps +# en zijn vereist om app.py via importlib te laden in test_render_sortable_table. +# ============================================================================= + +# --- Data laden (SQL + CSV) --- +pandas>=2.3.0 +openpyxl>=3.1.0 +sqlalchemy>=2.0.0 +pyodbc>=5.0.0 # vereist: sudo apt-get install -y unixodbc-dev + +# --- Visualisatie (matplotlib — geen system-deps op Ubuntu) --- +matplotlib>=3.7.0 + +# --- Dashboard (streamlit + plotly — geen system-deps op Ubuntu) --- +streamlit>=1.32.0 +plotly>=5.20.0 + +# --- Utilities --- +python-dotenv>=1.0.0 +loguru>=0.7.0 +jinja2>=3.1.0 # rapport-templates (ReportExporter) + +# --- Type stubs (mypy in CI) --- +pandas-stubs>=3.0.3.260530 + +# --- Testing --- +pytest>=9.0.3 +pytest-cov>=7.1.0 +pytest-randomly>=4.1.0 # vereist door addopts: -p randomly + diff --git a/requirements-dev.txt b/requirements-dev.txt index 6838f4d..e4aa8e9 100644 --- a/requirements-dev.txt +++ b/requirements-dev.txt @@ -1,32 +1,32 @@ -# ============================================================================= -# CSAT-Compass — Ontwikkelafhankelijkheden -# Installeer met: pip install -r requirements-dev.txt -# Bevat runtime-deps (via requirements.txt) + IDE/test-tools -# ============================================================================= - -# Alle runtime-afhankelijkheden inbegrepen --r requirements.txt - -# --- Type stubs (IDE code insight) --- -pandas-stubs>=3.0.0 - -# --- Linting & formatting --- -ruff>=0.15.0 -mypy>=1.9.0 - -# --- Security --- -bandit>=1.8.0 -pip-audit>=2.9.0 - -# --- Pre-commit --- -pre-commit>=4.0.0 - -# --- Testing --- -pytest>=9.0.3 -pytest-cov>=4.0 -pytest-randomly>=3.15 # Willekeurige testvolgorde — detecteert volgorde-afhankelijke tests - -# --- Codekwaliteit --- -interrogate>=1.7.0 # Docstring-coverage — bewaakt API-documentatie -vulture>=2.14 # Dode code detectie — signaleert ongebruikte functies en variabelen - +# ============================================================================= +# CSAT-Compass — Ontwikkelafhankelijkheden +# Installeer met: pip install -r requirements-dev.txt +# Bevat runtime-deps (via requirements.txt) + IDE/test-tools +# ============================================================================= + +# Alle runtime-afhankelijkheden inbegrepen +-r requirements.txt + +# --- Type stubs (IDE code insight) --- +pandas-stubs>=3.0.3.260530 + +# --- Linting & formatting --- +ruff>=0.15.15 +mypy>=2.1.0 + +# --- Security --- +bandit>=1.9.4 +pip-audit>=2.10.0 + +# --- Pre-commit --- +pre-commit>=4.6.0 + +# --- Testing --- +pytest>=9.0.3 +pytest-cov>=7.1.0 +pytest-randomly>=4.1.0 # Willekeurige testvolgorde — detecteert volgorde-afhankelijke tests + +# --- Codekwaliteit --- +interrogate>=1.7.0 # Docstring-coverage — bewaakt API-documentatie +vulture>=2.14 # Dode code detectie — signaleert ongebruikte functies en variabelen + diff --git a/requirements.txt b/requirements.txt index c866833..c0f1fc6 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,37 +1,37 @@ -# ============================================================================= -# CSAT-Compass — Python afhankelijkheden -# Gegenereerd op: 19/03/2026 | Python .venv -# ============================================================================= - -# --- Fase 1: Data laden (SQL + CSV) --- -pandas>=2.3.0 -openpyxl>=3.1.0 -sqlalchemy>=2.0.0 -pyodbc>=5.0.0 - -# --- Fase 2: Rapportage + templates (NL/FR) --- -jinja2>=3.1.0 -markdown>=3.4.0 -babel>=2.14.0 -weasyprint>=60.0 - -# --- Fase 3-4: Visualisatie --- -matplotlib>=3.7.0 -seaborn>=0.12.0 -plotly>=5.20.0 - -# --- Fase 5: Dashboard --- -streamlit>=1.32.0 -streamlit-js-eval>=1.0.0 - -# --- Utilities --- -python-dotenv>=1.0.0 -loguru>=0.7.0 - -# --- Security overrides (transitieve afhankelijkheden gepind wegens CVE) --- -pygments>=2.20.0 # CVE-2026-4539: ReDoS in AdlLexer — fix in 2.20.0 -pillow>=12.2.0 # CVE-2026-40192: decompression bomb in FITS decoder — fix in 12.2.0 - -# --- Testing --- -pytest>=9.0.3 -pytest-cov>=4.1.0 +# ============================================================================= +# CSAT-Compass — Python afhankelijkheden +# Gegenereerd op: 19/03/2026 | Python .venv +# ============================================================================= + +# --- Fase 1: Data laden (SQL + CSV) --- +pandas>=2.3.0 +openpyxl>=3.1.0 +sqlalchemy>=2.0.0 +pyodbc>=5.0.0 + +# --- Fase 2: Rapportage + templates (NL/FR) --- +jinja2>=3.1.0 +markdown>=3.4.0 +babel>=2.14.0 +weasyprint>=60.0 + +# --- Fase 3-4: Visualisatie --- +matplotlib>=3.7.0 +seaborn>=0.12.0 +plotly>=5.20.0 + +# --- Fase 5: Dashboard --- +streamlit>=1.32.0 +streamlit-js-eval>=1.0.0 + +# --- Utilities --- +python-dotenv>=1.0.0 +loguru>=0.7.0 + +# --- Security overrides (transitieve afhankelijkheden gepind wegens CVE) --- +pygments>=2.20.0 # CVE-2026-4539: ReDoS in AdlLexer — fix in 2.20.0 +pillow>=12.2.0 # CVE-2026-40192: decompression bomb in FITS decoder — fix in 12.2.0 + +# --- Testing --- +pytest>=9.0.3 +pytest-cov>=7.1.0