Skip to content

Pin python dependencies to avoid charmap sample PNGs evolving with new releases#103

Merged
pelson merged 1 commit into
ipython:masterfrom
pelson:fix/ci-build
Jun 18, 2026
Merged

Pin python dependencies to avoid charmap sample PNGs evolving with new releases#103
pelson merged 1 commit into
ipython:masterfrom
pelson:fix/ci-build

Conversation

@pelson

@pelson pelson commented Jun 18, 2026

Copy link
Copy Markdown
Member

No description provided.

@pelson

pelson commented Jun 18, 2026

Copy link
Copy Markdown
Member Author

d261559 worked in the CI with sample regen. Going to try using an old lockfile to avoid a sample regen at all.

Replace the unpinned pip3 install of scikit-image/scipy/matplotlib/parse
with a uv-compiled lockfile. The Dockerfile installs from the lockfile,
so layer-cache eviction can no longer silently pull newer matplotlib
versions and shift gen_charmap.py output.

The pinned versions match what the previously-cached fontbuilder image was
already running, so no sample regeneration is required and the font/sample
diff against master is empty.

Direct deps live in requirements.in; the lockfile is produced by:

  uv pip compile xkcd-script/generator/requirements.in \
      -o xkcd-script/generator/requirements.txt --python-version 3.12

To upgrade a dep, edit requirements.in (or pass --upgrade-package) and
re-run the compile.
@pelson pelson changed the title Refresh fontbuilder image deps and regenerate charmap sample PNGs Pin python dependencies to avoid charmap sample PNGs evolving with new releases Jun 18, 2026
@pelson pelson merged commit dafd11e into ipython:master Jun 18, 2026
3 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.

1 participant