Skip to content

Tests failed for ruff 0.8.0 #14594

@eli-schwartz

Description

@eli-schwartz

I attempted to package ruff 0.8.0 as a distro package update for Gentoo Linux. The new version fails to run tests.

Possibly relevant environment information:

$ rustc --version
rustc 1.81.0 (eeb90cda1 2024-09-04) (gentoo)

I notice that the CI/releases seem to be using 1.82 since ruff 0.7.1 but that version hasn't been stabilized in Gentoo yet...

Failed assertion:

 * /usr/lib/rust/1.81.0/bin/cargo test --release --target-dir /var/tmp/portage/dev-util/ruff-0.8.0/work/ruff-0.8.0/tested-target/

[... lots of building ...]

failures:

---- types::infer::tests::basic_async_comprehension stdout ----
thread 'types::infer::tests::basic_async_comprehension' panicked at crates/red_knot_python_semantic/src/types/infer.rs:5998:9:
assertion `left == right` failed
  left: "@Todo"
 right: "@Todo(async iterables/iterators)"

---- types::infer::tests::invalid_async_comprehension stdout ----
thread 'types::infer::tests::invalid_async_comprehension' panicked at crates/red_knot_python_semantic/src/types/infer.rs:5968:9:
assertion `left == right` failed
  left: "@Todo"
 right: "@Todo(async iterables/iterators)"


failures:
    types::infer::tests::basic_async_comprehension
    types::infer::tests::invalid_async_comprehension

test result: FAILED. 431 passed; 2 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.68s

Exhaustively exhaustive build + test logs: build.log

Metadata

Metadata

Assignees

Labels

testingRelated to testing Ruff itselftyMulti-file analysis & type inference

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions