Repository navigation
Require Python 3.11 and Pillow 13 - #39
Merged
Merged
Conversation
Pillow 13.0 fixes security vulnerabilities and requires Python >=3.11, so the floor moves from 3.9 to 3.11. Pillow is listed as a direct dependency so the floor also applies to installs of this package, not just uv.lock. The ruff target follows the floor, which enables B905; the five zip calls it flags all pair equal-length sequences, so they take strict=True. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Pillow 13.0 fixes security vulnerabilities and requires Python >=3.11 (12.x needs >=3.10, 11.x >=3.9), so this raises the package floor from 3.9 to 3.11.
Changes
requires-python = ">=3.11", anduv.lockregenerated: it now resolves a singlepillow 13.0.0instead of 11.3.0 / 12.3.0 / 13.0.0 split by Python version.pillow>=13.0added todependencies. Pillow is not imported directly (it arrives via scikit-image → imageio); listing it makes the security floor apply topip install ccf-streamlines, not just to this repo's lock.target-versionis nowpy311, which enables B905. The fivezip()calls it flags all pair equal-length sequences, so they takestrict=True(2 insrc/, 3 intests/).docs/source/guide.rstinstall note and two stale 3.9 references inCLAUDE.mdupdated.Testing
uv run pytest→ 366 passed, 36 skipped; Pillow reports 13.0.0.-m real_data): 36 passed.datetime.utcnow()call (nrrd/writer.py:148), deprecated on 3.14, not from this change.ruff checkandruff format --checkclean.Notes
pyproject.tomlis still1.2.0and may want a bump at release..python-versionpinned to 3.9 will be rejected by uv after this merges;uv python pin 3.11fixes it.🤖 Generated with Claude Code