Skip to content

Bump docs dependencies and drop dead ICA-AROMA requirements.txt - #502

Merged
gdevenyi merged 1 commit into
masterfrom
security/docs-deps-bump
Jul 26, 2026
Merged

Bump docs dependencies and drop dead ICA-AROMA requirements.txt#502
gdevenyi merged 1 commit into
masterfrom
security/docs-deps-bump

Conversation

@gdevenyi

Copy link
Copy Markdown
Member

Clears all 23 open Dependabot alerts on this repo. None were on a runtime path — 21 were in the ReadTheDocs build environment and 2 were in a file nothing reads.

docs/requirements.txt — 21 alerts

from to
jinja2 3.1.1 3.1.6
pillow 10.1.0 12.3.0

Pillow 12.x requires Python >= 3.10, so .readthedocs.yml moves from Python 3.9 to 3.10, and ubuntu-20.04 to ubuntu-22.04 (the 20.04 image doesn't offer 3.10). Sphinx 5.0 still supports 3.10, so that pin is untouched.

rabies/confound_correction_pkg/mod_ICA_AROMA/requirements.txt — 2 alerts

Deleted. It pinned numpy==1.14 / pandas==0.23 / matplotlib==2.2 and nothing referenced it: not setup.py, not rabies_environment.yml, not the top-level Dockerfile, not mod_ICA_AROMA/Dockerfile (which installs numpy/scipy via yum). It came in with the vendored upstream ICA-AROMA package and documented a python2.7 -m pip install workflow.

The only mention left is a line in the vendored mod_ICA_AROMA/README.md describing that original Python 2.7 install. I left that README alone since it's upstream text, but it's now a dangling reference if you'd rather trim it.

Verification

Built the docs in a clean Python 3.10 venv from the updated docs/requirements.txt:

pillow   12.3.0
jinja2   3.1.6
sphinx   5.0.0
rabies   0.6.1
traits   6.4.3

build succeeded.

Note — not addressed here

Dependabot doesn't parse conda environment files, so rabies_environment.yml is unscanned. It's what users and the container actually get, and it pins scikit-learn=0.24.1, pandas=1.2.4, nibabel=3.2.1, matplotlib=3.3.4 — all 2021. That's a compatibility exercise rather than a security patch, so it's deliberately out of scope for this PR, but it's the dependency surface that actually ships.

🤖 Generated with Claude Code

https://claude.ai/code/session_011eAqGnoxyyiEzktoJEktZn

Clears 23 open Dependabot alerts, all of which were in non-runtime paths.

docs/requirements.txt (21 alerts):
  jinja2 3.1.1 -> 3.1.6
  pillow 10.1.0 -> 12.3.0

Pillow 12.x requires Python >= 3.10, so .readthedocs.yml moves from
Python 3.9 to 3.10 (and ubuntu-20.04 to ubuntu-22.04, which provides it).
Sphinx 5.0 supports 3.10, so the existing pin is unchanged.

rabies/confound_correction_pkg/mod_ICA_AROMA/requirements.txt (2 alerts):
Deleted. Nothing referenced it -- not setup.py, not rabies_environment.yml,
not either Dockerfile. It was a leftover from the vendored upstream
ICA-AROMA package and described a Python 2.7 install.

Verified: sphinx-build -b html docs completes successfully on Python 3.10
with pillow 12.3.0 and jinja2 3.1.6 installed.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_011eAqGnoxyyiEzktoJEktZn
Copilot AI review requested due to automatic review settings July 25, 2026 02:49

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

@gdevenyi
gdevenyi merged commit bc20257 into master Jul 26, 2026
2 checks passed
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