Add virtualenv feature specific to Python 3.14

This commit is contained in:
Rogdham 2025-05-04 10:14:44 +02:00
parent 145fe4e7e3
commit 9e08bb833a
No known key found for this signature in database
GPG key ID: 3586E588AEF1642D

View file

@ -170,6 +170,9 @@ pub(crate) fn create(
interpreter.python_minor(), interpreter.python_minor(),
)), )),
)?; )?;
if interpreter.python_major() == 3 && interpreter.python_minor() == 14 {
uv_fs::replace_symlink("python", scripts.join("𝜋thon"))?;
}
if interpreter.markers().implementation_name() == "pypy" { if interpreter.markers().implementation_name() == "pypy" {
uv_fs::replace_symlink( uv_fs::replace_symlink(