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

uv python pin 3.13t gives a VersionParseError #7964

Closed
olivierfriard opened this issue Oct 7, 2024 · 1 comment · Fixed by #8056
Closed

uv python pin 3.13t gives a VersionParseError #7964

olivierfriard opened this issue Oct 7, 2024 · 1 comment · Fixed by #8056
Assignees
Labels
bug Something isn't working

Comments

@olivierfriard
Copy link

Hi,

thank you for uv!

I am using uv (v0.4.18) on Linux.

The command:
uv python pin 3.13t
gives the following error message

thread 'main' panicked at crates/uv/src/commands/python/pin.rs:173:69:
called `Result::unwrap()` on an `Err` value: VersionParseError { kind: UnexpectedEnd { version: "3.13", remaining: "t" } }
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace

while
uv python pin 3.12t
correctly reports
error: Invalid version request: Python <3.13 does not support free-threading but 3.12t was requested.

@zanieb zanieb added the bug Something isn't working label Oct 7, 2024
@zanieb zanieb self-assigned this Oct 7, 2024
@zanieb
Copy link
Member

zanieb commented Oct 7, 2024

Thanks I'll look into this.

zanieb added a commit that referenced this issue Oct 10, 2024
…quires check (#8056)

Closes #7964

We can probably do some restructuring to avoid unwrapping here in the
future, but this just fixes the bug quick.
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.

2 participants