Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Regression in uv 0.2.16 compile with unsatisfiable constraint in extra #4569

Closed
hauntsaninja opened this issue Jun 26, 2024 · 5 comments · Fixed by #4570
Closed

Regression in uv 0.2.16 compile with unsatisfiable constraint in extra #4569

hauntsaninja opened this issue Jun 26, 2024 · 5 comments · Fixed by #4570
Assignees
Labels
bug Something isn't working

Comments

@hauntsaninja
Copy link
Contributor

λ cat r.in
gunicorn>=20
λ cat c.in
eventlet==9999.0.1.2.3.4.5

λ uv --version
uv 0.2.15 (bfc342da9 2024-06-24)
λ uv pip compile r.in -c c.in
Resolved 2 packages in 40ms
# This file was autogenerated by uv via the following command:
#    uv pip compile r.in -c c.in
gunicorn==22.0.0
    # via -r r.in
packaging==24.1
    # via gunicorn

λ uv pip install -U uv==0.2.16
Resolved 1 package in 4ms
Uninstalled 1 package in 3ms
Installed 1 package in 4ms
 - uv==0.2.15
 + uv==0.2.16
λ uv pip compile r.in -c c.in 
  × No solution found when resolving dependencies:
  ╰─▶ Because there is no version of eventlet==9999.0.1.2.3.4.5 and gunicorn>=20.0.0 depends on eventlet==9999.0.1.2.3.4.5, we can conclude that gunicorn>=20.0.0 cannot be used.
      And because only the following versions of gunicorn are available:
          gunicorn<=20.0.0
          gunicorn==20.0.2
          gunicorn==20.0.3
          gunicorn==20.0.4
          gunicorn==20.1.0
          gunicorn==21.0.0
          gunicorn==21.0.1
          gunicorn==21.1.0
          gunicorn==21.2.0
          gunicorn==22.0.0
      and you require gunicorn>=20, we can conclude that the requirements are unsatisfiable.
@hauntsaninja hauntsaninja changed the title Regression in uv 0.2.16 compile with unsatisfiable constraint Regression in uv 0.2.16 compile with unsatisfiable constraint in extra Jun 26, 2024
@charliermarsh
Copy link
Member

Is eventlet only a dependency of gunicorn when an extra is enabled (which isn't present)?

@hauntsaninja
Copy link
Contributor Author

hauntsaninja commented Jun 26, 2024

Yup exactly.
The eventlet constraint is a hacky way to ban eventlet from ending up in any lock.
gunicorn does have a dependency on eventlet, but only in the eventlet extra which we do not use

@charliermarsh
Copy link
Member

Okay thanks. I'll try to figure this out now...

@zanieb
Copy link
Member

zanieb commented Jun 26, 2024

Will be released in a bit: #4573

@zanieb
Copy link
Member

zanieb commented Jun 26, 2024

@hauntsaninja btw you inspired me to make it just a little bit easier to use uv tool run for your reproduction in #4572 so you can uv tool run uv@0.2.16 ... next time :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants