chore: upgrade dependency lockfiles to resolve dependabot alerts#25
Conversation
Recompile requirements/*.txt with pip-compile --upgrade (Python 3.11, matching CI), clearing all open dependabot alerts, notably Pillow (now 12.3.0, pulled in via darts -> matplotlib). Also drop the obsolete pre-commit/virtualenv pins in dev.in (FlexMeasures no longer hard-pins its dependencies) and bump black to 25.1.0 in both dev.in and .pre-commit-config.yaml, reformatting accordingly. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
|
Warning Review the following alerts detected in dependencies. According to your organization's Security Policy, it is recommended to resolve "Warn" alerts. Learn more about Socket for GitHub.
|
Resolves all 46 open dependabot alerts (https://github.com/FlexMeasures/flexmeasures-s2/security/dependabot), which all live in the pip-compile lockfiles rather than in real dependency declarations.
Changes:
requirements/{app,test,dev}.txtwithpip-compile --upgrade, using Python 3.11 to match CI (the previous lock was compiled with 3.12). Notable bumps: Pillow 11.1.0 → 12.3.0 (it's transitive via flexmeasures → darts → matplotlib, so it can't simply be removed), werkzeug 3.1.8, flask 3.1.3, flask-cors 6.0.5, jinja2 3.1.6.pre-commit/virtualenvpins indev.in— they existed only because FlexMeasures used to hard-pin its dependencies (FlexMeasures should not pin its dependencies in the Pypi distribution flexmeasures#648), which it no longer does. This lets virtualenv resolve past its alert threshold.dev.inand.pre-commit-config.yaml; the only resulting reformat was an ellipsis-class stub inscheduler/schemas.py, rewritten aspassto keep flake8 happy.Tests pass locally with the upgraded environment.
🤖 Generated with Claude Code