Skip to content

Pin numpy 2.5.3 in venv_gs - #34

Merged
pgodlews merged 1 commit into
mainfrom
claude/pin-numpy-venv-gs
Nov 12, 2026
Merged

pgodlews merged 1 commit into
mainfrom
claude/pin-numpy-venv-gs

Conversation

@pgodlews

Copy link
Copy Markdown
Owner

Every other package in venv_gs is pinned; numpy was not. A build that misses the Docker cache would take whatever numpy is newest under torch 2.9.1 and gsplat 1.6.0 (audit item B14).

  • scripts/setup_gsplat_venv.sh: numpy==2.5.3, the version the 0.2.0-rc4 image resolved to (read from the image on 2026-11-12). The environment does not change.
  • A check after the last install (gsplat's example requirements, transformers) fails the build if anything moved numpy, like the existing torch check.
  • docs/how-it-works.md "Pinned toolchain" and AUDIT_FIXES.md updated.

Build cost: editing this script invalidates the venv_gs layer, so the next rc recompiles gsplat for six architectures (several hours on piotrek.uk). 0.2.0-rc5, building now from 7637c8b, does not include this.

Not run here: the script needs CUDA and builds gsplat. bash -n and shellcheck pass. The pin is the version rc4 already carries, so the next image build is the test.

The Mac's venv_gs (setup_mac.sh, torch 2.14.1) still installs numpy unpinned; its pins are separate (PREP_APPLE) and not part of this.

Every other package in venv_gs was pinned; numpy was not, so a build that
missed the Docker cache would have taken whatever was newest under torch
and gsplat. 2.5.3 is what the 0.2.0-rc4 image carries, so the pin changes
nothing in the environment. A check after the last install fails the
build if gsplat's example requirements or transformers move it.
@pgodlews
pgodlews merged commit 7aa26b6 into main Nov 12, 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