-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Closed
Labels
testingRelated to testing Ruff itselfRelated to testing Ruff itself
Description
Description
As of 0.9.2, the test_generate_json_schema test fails when building from source. Of note, we build with the default features.
Full build output is here: https://paste.sr.ht/~whynothugo/41004049e3a4f9d2098bec4593a68fd949bd5cd4
The output for this specific test starts at line 1816 and is 4251 lines long.
This error is produced when building the Alpine packages. The build steps can be summarised as:
# prepare()
# shadow git repo for tests
git init -q
# Avoid downloading a different toolchain on systems with rustup installed.
rm rust-toolchain.toml
cargo fetch --locked
# build()
gpep517 build-wheel \
--wheel-dir .dist \
--config-json '{"build-args": "--frozen"}' \
--output-fd 3 3>&1 >&2
./target/release/ruff generate-shell-completion bash > $pkgname.bash
./target/release/ruff generate-shell-completion fish > $pkgname.fish
./target/release/ruff generate-shell-completion zsh > $pkgname.zsh
# Update ruff.schema.json as the pre-built one is generated
# using the '--all-features' Cargo flag which we don't pass.
cargo dev generate-all
# check()
unset CI_PROJECT_DIR
cargo test --frozen --workspace --exclude ruff_benchmarkReactions are currently unavailable
Metadata
Metadata
Assignees
Labels
testingRelated to testing Ruff itselfRelated to testing Ruff itself