Skip to content

Resolver panics when adding qlmaas as dependency #13344

@shumpohl

Description

@shumpohl

Summary

To reproduce execute uv init test_env, cd test_env, uv add qlmaas.

On windows:

PS > uv --version
uv 0.7.3 (3c413f74b 2025-05-07)
PS > uv add myqlm
Using CPython 3.12.9 interpreter at: C:\Users\%USER%\AppData\Local\Programs\Python\Python312\python.exe
Creating virtual environment at: .venv
⠼ qlmaas==1.11.2
thread 'uv-resolver' panicked at C:\Users\runneradmin\.cargo\git\checkouts\pubgrub-e6d66ebc0e28e95d\a3b4db3\src\term.rs:89:18:
Positive term cannot unwrap negative set
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
error: The channel closed unexpectedly

And on debian:

$ uv --version
uv 0.7.3
$ uv add qlmaas
Using CPython 3.11.12
Creating virtual environment at: .venv
⠙ qlmaas==1.11.2
thread 'uv-resolver' panicked at /root/.cargo/git/checkouts/pubgrub-e6d66ebc0e28e95d/a3b4db3/src/term.rs:89:18:
Positive term cannot unwrap negative set
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
error: The channel closed unexpectedly

Platform

Linux 6.12.21-amd64 x86_64 GNU/Linux

Version

uv 0.7.3

Python version

3.11 and 3.12

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