Skip to content

uv 0.8.12 panics with internal error: entered unreachable code: Installed distribution could not be found in site-packages #15386

@alex

Description

@alex

Summary

Full logs here: https://github.com/pyca/cryptography/actions/runs/17084993363/job/48447256454 (from pyca/cryptography#13322)

Relevant bit:

DEBUG Build info mismatch for cryptography-vectors: Url(InstalledDirectUrlDist { name: PackageName("cryptography-vectors"), version: "46.0.0.dev1", direct_url: LocalDirectory { url: "file:///home/runner/work/cryptography/cryptography/vectors", dir_info: DirInfo { editable: Some(true) }, subdirectory: None }, url: DisplaySafeUrl { scheme: "file", cannot_be_a_base: false, username: "", password: None, host: None, port: None, path: "/home/runner/work/cryptography/cryptography/vectors", query: None, fragment: None }, editable: true, path: "/home/runner/work/cryptography/cryptography/.nox/tests-rust-debug/lib/python3.13/site-packages/cryptography_vectors-46.0.0.dev1.dist-info", cache_info: Some(CacheInfo { timestamp: Some(Timestamp(SystemTime { tv_sec: 1755649240, tv_nsec: 464897504 })), commit: None, tags: None, env: {}, directories: {"src": None} }), build_info: Some(BuildInfo { config_settings: ConfigSettings({}), extra_build_requires: [], extra_build_variables: {} }) })
DEBUG Requirement installed, but not fresh: cryptography-vectors==46.0.0.dev1 (from file:///home/runner/work/cryptography/cryptography/vectors)

thread 'main2' panicked at crates/uv-installer/src/plan.rs:159:17:
internal error: entered unreachable code: Installed distribution could not be found in site-packages: cryptography-vectors==46.0.0.dev1 (from file:///home/runner/work/cryptography/cryptography/vectors)
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace

The invocation is https://github.com/pyca/cryptography/blob/main/noxfile.py#L73-L78

Platform

Ubuntu 24.04

Version

0.8.12

Python version

3.13

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions