astral-sh / uv

An extremely fast Python package installer and resolver, written in Rust.
https://astral.sh/
Apache License 2.0
15.18k stars 438 forks source link

Incorrect available versions with empty versions range #3307

Open konstin opened 2 months ago

konstin commented 2 months ago

I requested ruff>=0.4.3,<0.5, while 0.4.2 is currently the latest version. This shows:

  x No solution found when resolving dependencies:
  `-> Because only the following versions of ruff are available:
          ruff<0.4.3
          ruff>=0.5
      and gha-api-test depends on ruff>=0.4.3,<0.5, we can conclude that the requirements are unsatisfiable.

That is incorrect, ruff>=0.5 is not available.

zanieb commented 2 months ago

That's... weird. Thanks!