Skip to content

scripts: remove the Linux Docker local-CI script (#1492) - #2147

Merged
wshlavacek merged 1 commit into
mainfrom
chore/1492-drop-docker-ci-script
Dec 4, 2026
Merged

wshlavacek merged 1 commit into
mainfrom
chore/1492-drop-docker-ci-script

Conversation

@wshlavacek

@wshlavacek wshlavacek commented Dec 4, 2026 •

Copy link
Copy Markdown
Collaborator

Closes #1492.

scripts/local_ci_linux_docker.sh still assumed the monorepo layout, where bngsim was a bngsim/ subdirectory: it built $REPO_ROOT/bngsim one directory above the checkout. Outside a checkout named bngsim it failed or built another checkout, and from ~/Code/bngsim it copied the whole parent directory into the container. Its pinned cibuildwheel 2.22.0 was two major versions behind CI and could not build the cp314 and cp315 wheels.

Nothing in .github/ ran it: wheels.yml builds and tests the manylinux wheels on every pull request, so the script checked nothing CI does not. Rather than repair it, this removes it.

Changes

  • Delete scripts/local_ci_linux_docker.sh.
  • Drop its manual-stage pre-commit hook local-ci-linux from .pre-commit-config.yaml.
  • scripts/LOCAL_CI.md: drop the Docker prerequisite, the Linux Docker commands and timings, and the hook example; the coverage map's Linux row now says CI covers it.
  • docs/development/building.md: the line that pointed to the script now points to wheels.yml.
  • changelog.d/1492.removed.md.

scripts/local_ci.py stays as the local wheel check.

Checks run locally: pre-commit on the changed files, and python -m sphinx -W --keep-going -b html docs (passes). No test references the script. The pre-push suite was skipped because no Python or C++ changed.

scripts/local_ci_linux_docker.sh still assumed the monorepo layout: it
built $REPO_ROOT/bngsim one directory above the checkout, so outside a
checkout named bngsim it failed or built another checkout, and from
~/Code/bngsim it copied the whole parent directory into the container.
Its pinned cibuildwheel 2.22.0 was two majors behind CI and could not
build cp314 or cp315.

CI's wheels.yml builds and tests the manylinux wheels on every pull
request, so the script checked nothing CI does not. Remove it, its
manual pre-commit hook local-ci-linux, and the doc lines that pointed
to it. scripts/local_ci.py remains the local wheel check.
@wshlavacek
wshlavacek merged commit ffe9521 into main Dec 4, 2026
17 checks passed
@wshlavacek
wshlavacek deleted the chore/1492-drop-docker-ci-script branch December 4, 2026 02:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

1 participant