Skip to content

Raise six dependency pins with known vulnerabilities - #27

Merged
javoha merged 1 commit into
mainfrom
jvh/dependabot-easy-pins
Dec 2, 2026
Merged

javoha merged 1 commit into
mainfrom
jvh/dependabot-easy-pins

Conversation

@javoha

@javoha javoha commented Dec 2, 2026

Copy link
Copy Markdown
Member

Summary

Raises six pins in requirements.txt to the first versions without the known vulnerabilities that Dependabot reports. This closes 13 of the 23 open alerts; the remaining 11 are all torch and need a larger upgrade (separate change, see #14).

Package Old New Alerts Used by
fsspec 2024.10.0 2026.6.0 1 high torch (not used by WBGeo directly)
semver 3.0.2 3.1.3 1 high pydantic_numpy (allows <4)
setuptools 75.5.0 84.1.0 1 high, 1 medium, 1 low installation only
Jinja2 3.1.4 3.1.6 3 medium docs build, Jupyter, torch
filelock 3.16.1 4.2.1 4 medium torch
python-dotenv 1.0.1 1.2.2 1 medium .env loading (LiquidEarth token)

Risk for WBGeo was low (the issues need crafted input such as malicious templates, reference files or version strings, or a shared multi-user machine), but the updates are small, so there is no reason to keep the old versions.

Tests

  • pip install --dry-run -r requirements.txt resolves without conflicts (torch stays at 2.5.1).
  • Full test suite with the new versions: 1310 passed, 1 skipped.

Compatibility

No code changes. filelock is a major version bump (3 to 4); nothing in WBGeo imports it, and the suite passes.

🤖 Generated with Claude Code

Dependabot alerts on requirements.txt, all fixed by patch or minor updates:

- fsspec 2024.10.0 -> 2026.6.0 (GHSA-27vj-qcqg-25rc)
- semver 3.0.2 -> 3.1.3 (GHSA-3qgw-g8j9-rcg4)
- setuptools 75.5.0 -> 84.1.0 (GHSA-5rjg-fvgr-3xxf, GHSA-h35f-9h28-mq5c, GHSA-xmj3-9gf7-h52w)
- Jinja2 3.1.4 -> 3.1.6 (GHSA-q2x7-8rv6-6q7h, GHSA-gmj6-6f8f-6699, GHSA-cpwx-vrp4-4pq7)
- filelock 3.16.1 -> 4.2.1 (GHSA-w853-jp5j-5j7f, GHSA-qmgc-5h2g-mvrw, GHSA-69hj-f68j-2879, GHSA-8mx5-7m5m-r77g)
- python-dotenv 1.0.1 -> 1.2.2 (GHSA-mf9w-mj56-hr94)

torch (11 alerts) needs a larger upgrade and is left for a separate change.

Co-Authored-By: Claude Opus 5.5
@javoha
javoha requested a review from a team as a code owner December 2, 2026 08:44
@javoha

javoha commented Dec 2, 2026 •

Copy link
Copy Markdown
Member Author

@luepges : Tested the updated pins on the synthetic example models (run headless from the repository root, with filelock 4.2.1, fsspec 2026.6.0, Jinja2 3.1.6, python-dotenv 1.2.2, semver 3.1.3, setuptools 84.1.0):

Example Result
Model 1, complete (structural model, implicit/unstructured/structured mesh, GOLEM runs in Docker) OK
Model 2, complete (with fault, meshes, GOLEM runs in Docker) OK
Model 3 OK
Model 4 OK

Together with the full test suite (1310 passed, 1 skipped) and a conflict-free pip install --dry-run -r requirements.txt, nothing points to a problem with the update.

@javoha
javoha merged commit 40767d6 into main Dec 2, 2026
4 checks passed
@javoha
javoha deleted the jvh/dependabot-easy-pins branch December 2, 2026 12:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants