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

No interpreter found for new projects with requires-python = ">=3.13" #6798

Closed
imwints opened this issue Aug 29, 2024 · 3 comments · Fixed by #6813
Closed

No interpreter found for new projects with requires-python = ">=3.13" #6798

imwints opened this issue Aug 29, 2024 · 3 comments · Fixed by #6813
Labels
bug Something isn't working uv python Related to the uv python interface

Comments

@imwints
Copy link

imwints commented Aug 29, 2024

uv-actions like run or add fail to find Python-3.13. However uv python list lists Python-3.13.

uv init example
uv --directory=example add rich
# error: No interpreter found for Python >=3.13 in managed installations or system path
uv --directory=example run hello.py
# error: No interpreter found for Python >=3.13 in managed installations or system path
uv python list
# cpython-3.13.0-linux-x86_64-gnu     /usr/lib/python-exec/python3.13/python3 -> ../../../bin/python3.13
# cpython-3.13.0-linux-x86_64-gnu     /usr/lib/python-exec/python3.13/python -> python3
# cpython-3.13.0-linux-x86_64-gnu     /usr/bin/python3.13
# cpython-3.12.5-linux-x86_64-gnu     /usr/bin/python3.12
# cpython-3.12.5-linux-x86_64-gnu     <download available>
# ...
cat example/pyproject.toml
# [project]
# name = "example"
# version = "0.1.0"
# description = "Add your description here"
# readme = "README.md"
# requires-python = ">=3.13"
# dependencies = []

Is there a check that fails for release candidates, maybe?

python3 -V
# Python 3.13.0rc1
uv --version
# uv 0.4.0
@charliermarsh charliermarsh added the bug Something isn't working label Aug 29, 2024
@charliermarsh
Copy link
Member

Yeah it's possible 3.13.0rc1 technically does not satisfy >=3.13, but we make an effort to ignore prerelease segments there. We might be missing one. I'll take a look today.

@zanieb zanieb added the uv python Related to the uv python interface label Aug 29, 2024
zanieb pushed a commit that referenced this issue Aug 29, 2024
…6813)

## Summary

`3.13.0b0` should be allowed by `>=3.13`.

Closes #6798.
@cclauss
Copy link

cclauss commented Aug 30, 2024

uv python install 3.13.0rc1 fails?

@charliermarsh
Copy link
Member

3.13 is not yet supported in by Python builds -- need to bring your own. We're working on it though.

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

Successfully merging a pull request may close this issue.

4 participants