Repository navigation
scripts: remove the Linux Docker local-CI script (#1492) - #2147
Merged
Merged
Conversation
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.
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.
Closes #1492.
scripts/local_ci_linux_docker.shstill assumed the monorepo layout, where bngsim was abngsim/subdirectory: it built$REPO_ROOT/bngsimone directory above the checkout. Outside a checkout namedbngsimit failed or built another checkout, and from~/Code/bngsimit 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.ymlbuilds 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
scripts/local_ci_linux_docker.sh.local-ci-linuxfrom.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 towheels.yml.changelog.d/1492.removed.md.scripts/local_ci.pystays 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.