mirror of https://github.com/astral-sh/uv
Sync latest Python releases (#16229)
Add python-build-standalone 20251010 for CPython 3.12.12, 3.11.14, 3.10.19 and 3.9.24. Co-authored-by: Geoffrey Thomas <geofft@ldpreload.com>
This commit is contained in:
parent
b4168e665e
commit
d54a5bb5cb
File diff suppressed because it is too large
Load Diff
|
|
@ -157,7 +157,7 @@ fn python_reinstall() {
|
||||||
|
|
||||||
----- stderr -----
|
----- stderr -----
|
||||||
Installed 2 versions in [TIME]
|
Installed 2 versions in [TIME]
|
||||||
+ cpython-3.12.11-[PLATFORM] (python3.12)
|
+ cpython-3.12.12-[PLATFORM] (python3.12)
|
||||||
+ cpython-3.13.8-[PLATFORM] (python3.13)
|
+ cpython-3.13.8-[PLATFORM] (python3.13)
|
||||||
");
|
");
|
||||||
|
|
||||||
|
|
@ -180,7 +180,7 @@ fn python_reinstall() {
|
||||||
|
|
||||||
----- stderr -----
|
----- stderr -----
|
||||||
Installed 2 versions in [TIME]
|
Installed 2 versions in [TIME]
|
||||||
~ cpython-3.12.11-[PLATFORM] (python3.12)
|
~ cpython-3.12.12-[PLATFORM] (python3.12)
|
||||||
~ cpython-3.13.8-[PLATFORM] (python3.13)
|
~ cpython-3.13.8-[PLATFORM] (python3.13)
|
||||||
");
|
");
|
||||||
|
|
||||||
|
|
@ -191,8 +191,8 @@ fn python_reinstall() {
|
||||||
----- stdout -----
|
----- stdout -----
|
||||||
|
|
||||||
----- stderr -----
|
----- stderr -----
|
||||||
Installed Python 3.11.13 in [TIME]
|
Installed Python 3.11.14 in [TIME]
|
||||||
+ cpython-3.11.13-[PLATFORM] (python3.11)
|
+ cpython-3.11.14-[PLATFORM] (python3.11)
|
||||||
");
|
");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -225,8 +225,8 @@ fn python_reinstall_patch() {
|
||||||
----- stdout -----
|
----- stdout -----
|
||||||
|
|
||||||
----- stderr -----
|
----- stderr -----
|
||||||
Installed Python 3.12.11 in [TIME]
|
Installed Python 3.12.12 in [TIME]
|
||||||
+ cpython-3.12.11-[PLATFORM] (python3.12)
|
+ cpython-3.12.12-[PLATFORM] (python3.12)
|
||||||
");
|
");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -453,8 +453,8 @@ fn python_install_minor() {
|
||||||
----- stdout -----
|
----- stdout -----
|
||||||
|
|
||||||
----- stderr -----
|
----- stderr -----
|
||||||
Installed Python 3.11.13 in [TIME]
|
Installed Python 3.11.14 in [TIME]
|
||||||
+ cpython-3.11.13-[PLATFORM] (python3.11)
|
+ cpython-3.11.14-[PLATFORM] (python3.11)
|
||||||
");
|
");
|
||||||
|
|
||||||
let bin_python = context
|
let bin_python = context
|
||||||
|
|
@ -470,7 +470,7 @@ fn python_install_minor() {
|
||||||
filters => context.filters(),
|
filters => context.filters(),
|
||||||
}, {
|
}, {
|
||||||
insta::assert_snapshot!(
|
insta::assert_snapshot!(
|
||||||
read_link(&bin_python), @"[TEMP_DIR]/managed/cpython-3.11.13-[PLATFORM]/bin/python3.11"
|
read_link(&bin_python), @"[TEMP_DIR]/managed/cpython-3.11.14-[PLATFORM]/bin/python3.11"
|
||||||
);
|
);
|
||||||
});
|
});
|
||||||
} else if cfg!(windows) {
|
} else if cfg!(windows) {
|
||||||
|
|
@ -478,7 +478,7 @@ fn python_install_minor() {
|
||||||
filters => context.filters(),
|
filters => context.filters(),
|
||||||
}, {
|
}, {
|
||||||
insta::assert_snapshot!(
|
insta::assert_snapshot!(
|
||||||
read_link(&bin_python), @"[TEMP_DIR]/managed/cpython-3.11.13-[PLATFORM]/python"
|
read_link(&bin_python), @"[TEMP_DIR]/managed/cpython-3.11.14-[PLATFORM]/python"
|
||||||
);
|
);
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
@ -490,8 +490,8 @@ fn python_install_minor() {
|
||||||
|
|
||||||
----- stderr -----
|
----- stderr -----
|
||||||
Searching for Python versions matching: Python 3.11
|
Searching for Python versions matching: Python 3.11
|
||||||
Uninstalled Python 3.11.13 in [TIME]
|
Uninstalled Python 3.11.14 in [TIME]
|
||||||
- cpython-3.11.13-[PLATFORM] (python3.11)
|
- cpython-3.11.14-[PLATFORM] (python3.11)
|
||||||
");
|
");
|
||||||
|
|
||||||
// The executable should be removed
|
// The executable should be removed
|
||||||
|
|
@ -780,8 +780,8 @@ fn python_install_preview() {
|
||||||
----- stdout -----
|
----- stdout -----
|
||||||
|
|
||||||
----- stderr -----
|
----- stderr -----
|
||||||
Installed Python 3.11.13 in [TIME]
|
Installed Python 3.11.14 in [TIME]
|
||||||
+ cpython-3.11.13-[PLATFORM] (python3.11)
|
+ cpython-3.11.14-[PLATFORM] (python3.11)
|
||||||
");
|
");
|
||||||
|
|
||||||
let bin_python = context
|
let bin_python = context
|
||||||
|
|
@ -814,8 +814,8 @@ fn python_install_preview() {
|
||||||
|
|
||||||
----- stderr -----
|
----- stderr -----
|
||||||
Searching for Python versions matching: Python 3.11
|
Searching for Python versions matching: Python 3.11
|
||||||
Uninstalled Python 3.11.13 in [TIME]
|
Uninstalled Python 3.11.14 in [TIME]
|
||||||
- cpython-3.11.13-[PLATFORM] (python3.11)
|
- cpython-3.11.14-[PLATFORM] (python3.11)
|
||||||
");
|
");
|
||||||
|
|
||||||
// Install multiple patch versions
|
// Install multiple patch versions
|
||||||
|
|
@ -1354,8 +1354,8 @@ fn python_install_debug() {
|
||||||
----- stdout -----
|
----- stdout -----
|
||||||
|
|
||||||
----- stderr -----
|
----- stderr -----
|
||||||
Installed Python 3.12.11 in [TIME]
|
Installed Python 3.12.12 in [TIME]
|
||||||
+ cpython-3.12.11+debug-[PLATFORM] (python3.12d)
|
+ cpython-3.12.12+debug-[PLATFORM] (python3.12d)
|
||||||
");
|
");
|
||||||
|
|
||||||
uv_snapshot!(context.filters(), context.python_uninstall().arg("--all"), @r"
|
uv_snapshot!(context.filters(), context.python_uninstall().arg("--all"), @r"
|
||||||
|
|
@ -1366,7 +1366,7 @@ fn python_install_debug() {
|
||||||
----- stderr -----
|
----- stderr -----
|
||||||
Searching for Python installations
|
Searching for Python installations
|
||||||
Uninstalled 3 versions in [TIME]
|
Uninstalled 3 versions in [TIME]
|
||||||
- cpython-3.12.11+debug-[PLATFORM] (python3.12d)
|
- cpython-3.12.12+debug-[PLATFORM] (python3.12d)
|
||||||
- cpython-3.13.8+debug-[PLATFORM] (python3.13d)
|
- cpython-3.13.8+debug-[PLATFORM] (python3.13d)
|
||||||
- cpython-3.13.8-[PLATFORM] (python3.13)
|
- cpython-3.13.8-[PLATFORM] (python3.13)
|
||||||
");
|
");
|
||||||
|
|
@ -1735,8 +1735,8 @@ fn python_install_default() {
|
||||||
|
|
||||||
----- stderr -----
|
----- stderr -----
|
||||||
warning: The `--default` option is experimental and may change without warning. Pass `--preview-features python-install-default` to disable this warning
|
warning: The `--default` option is experimental and may change without warning. Pass `--preview-features python-install-default` to disable this warning
|
||||||
Installed Python 3.12.11 in [TIME]
|
Installed Python 3.12.12 in [TIME]
|
||||||
+ cpython-3.12.11-[PLATFORM] (python, python3, python3.12)
|
+ cpython-3.12.12-[PLATFORM] (python, python3, python3.12)
|
||||||
");
|
");
|
||||||
|
|
||||||
let bin_python_minor_12 = context
|
let bin_python_minor_12 = context
|
||||||
|
|
@ -1754,7 +1754,7 @@ fn python_install_default() {
|
||||||
filters => context.filters(),
|
filters => context.filters(),
|
||||||
}, {
|
}, {
|
||||||
insta::assert_snapshot!(
|
insta::assert_snapshot!(
|
||||||
read_link(&bin_python_major), @"[TEMP_DIR]/managed/cpython-3.12.11-[PLATFORM]/bin/python3.12"
|
read_link(&bin_python_major), @"[TEMP_DIR]/managed/cpython-3.12.12-[PLATFORM]/bin/python3.12"
|
||||||
);
|
);
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
@ -1762,7 +1762,7 @@ fn python_install_default() {
|
||||||
filters => context.filters(),
|
filters => context.filters(),
|
||||||
}, {
|
}, {
|
||||||
insta::assert_snapshot!(
|
insta::assert_snapshot!(
|
||||||
read_link(&bin_python_minor_12), @"[TEMP_DIR]/managed/cpython-3.12.11-[PLATFORM]/bin/python3.12"
|
read_link(&bin_python_minor_12), @"[TEMP_DIR]/managed/cpython-3.12.12-[PLATFORM]/bin/python3.12"
|
||||||
);
|
);
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
@ -1770,7 +1770,7 @@ fn python_install_default() {
|
||||||
filters => context.filters(),
|
filters => context.filters(),
|
||||||
}, {
|
}, {
|
||||||
insta::assert_snapshot!(
|
insta::assert_snapshot!(
|
||||||
read_link(&bin_python_default), @"[TEMP_DIR]/managed/cpython-3.12.11-[PLATFORM]/bin/python3.12"
|
read_link(&bin_python_default), @"[TEMP_DIR]/managed/cpython-3.12.12-[PLATFORM]/bin/python3.12"
|
||||||
);
|
);
|
||||||
});
|
});
|
||||||
} else {
|
} else {
|
||||||
|
|
@ -1778,7 +1778,7 @@ fn python_install_default() {
|
||||||
filters => context.filters(),
|
filters => context.filters(),
|
||||||
}, {
|
}, {
|
||||||
insta::assert_snapshot!(
|
insta::assert_snapshot!(
|
||||||
read_link(&bin_python_major), @"[TEMP_DIR]/managed/cpython-3.12.11-[PLATFORM]/python"
|
read_link(&bin_python_major), @"[TEMP_DIR]/managed/cpython-3.12.12-[PLATFORM]/python"
|
||||||
);
|
);
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
@ -1786,7 +1786,7 @@ fn python_install_default() {
|
||||||
filters => context.filters(),
|
filters => context.filters(),
|
||||||
}, {
|
}, {
|
||||||
insta::assert_snapshot!(
|
insta::assert_snapshot!(
|
||||||
read_link(&bin_python_minor_12), @"[TEMP_DIR]/managed/cpython-3.12.11-[PLATFORM]/python"
|
read_link(&bin_python_minor_12), @"[TEMP_DIR]/managed/cpython-3.12.12-[PLATFORM]/python"
|
||||||
);
|
);
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
@ -1794,7 +1794,7 @@ fn python_install_default() {
|
||||||
filters => context.filters(),
|
filters => context.filters(),
|
||||||
}, {
|
}, {
|
||||||
insta::assert_snapshot!(
|
insta::assert_snapshot!(
|
||||||
read_link(&bin_python_default), @"[TEMP_DIR]/managed/cpython-3.12.11-[PLATFORM]/python"
|
read_link(&bin_python_default), @"[TEMP_DIR]/managed/cpython-3.12.12-[PLATFORM]/python"
|
||||||
);
|
);
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
@ -1988,8 +1988,8 @@ fn python_install_default_preview() {
|
||||||
----- stdout -----
|
----- stdout -----
|
||||||
|
|
||||||
----- stderr -----
|
----- stderr -----
|
||||||
Installed Python 3.12.11 in [TIME]
|
Installed Python 3.12.12 in [TIME]
|
||||||
+ cpython-3.12.11-[PLATFORM] (python, python3, python3.12)
|
+ cpython-3.12.12-[PLATFORM] (python, python3, python3.12)
|
||||||
");
|
");
|
||||||
|
|
||||||
let bin_python_minor_12 = context
|
let bin_python_minor_12 = context
|
||||||
|
|
@ -2010,7 +2010,7 @@ fn python_install_default_preview() {
|
||||||
read_link(&bin_python_major), @"[TEMP_DIR]/managed/cpython-3.12-[PLATFORM]/bin/python3.12"
|
read_link(&bin_python_major), @"[TEMP_DIR]/managed/cpython-3.12-[PLATFORM]/bin/python3.12"
|
||||||
);
|
);
|
||||||
insta::assert_snapshot!(
|
insta::assert_snapshot!(
|
||||||
canonicalize_link_path(&bin_python_major), @"[TEMP_DIR]/managed/cpython-3.12.11-[PLATFORM]/bin/python3.12"
|
canonicalize_link_path(&bin_python_major), @"[TEMP_DIR]/managed/cpython-3.12.12-[PLATFORM]/bin/python3.12"
|
||||||
);
|
);
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
@ -2021,7 +2021,7 @@ fn python_install_default_preview() {
|
||||||
read_link(&bin_python_minor_12), @"[TEMP_DIR]/managed/cpython-3.12-[PLATFORM]/bin/python3.12"
|
read_link(&bin_python_minor_12), @"[TEMP_DIR]/managed/cpython-3.12-[PLATFORM]/bin/python3.12"
|
||||||
);
|
);
|
||||||
insta::assert_snapshot!(
|
insta::assert_snapshot!(
|
||||||
canonicalize_link_path(&bin_python_minor_12), @"[TEMP_DIR]/managed/cpython-3.12.11-[PLATFORM]/bin/python3.12"
|
canonicalize_link_path(&bin_python_minor_12), @"[TEMP_DIR]/managed/cpython-3.12.12-[PLATFORM]/bin/python3.12"
|
||||||
);
|
);
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
@ -2032,7 +2032,7 @@ fn python_install_default_preview() {
|
||||||
read_link(&bin_python_default), @"[TEMP_DIR]/managed/cpython-3.12-[PLATFORM]/bin/python3.12"
|
read_link(&bin_python_default), @"[TEMP_DIR]/managed/cpython-3.12-[PLATFORM]/bin/python3.12"
|
||||||
);
|
);
|
||||||
insta::assert_snapshot!(
|
insta::assert_snapshot!(
|
||||||
canonicalize_link_path(&bin_python_default), @"[TEMP_DIR]/managed/cpython-3.12.11-[PLATFORM]/bin/python3.12"
|
canonicalize_link_path(&bin_python_default), @"[TEMP_DIR]/managed/cpython-3.12.12-[PLATFORM]/bin/python3.12"
|
||||||
);
|
);
|
||||||
});
|
});
|
||||||
} else {
|
} else {
|
||||||
|
|
@ -2043,7 +2043,7 @@ fn python_install_default_preview() {
|
||||||
read_link(&bin_python_major), @"[TEMP_DIR]/managed/cpython-3.12-[PLATFORM]/python"
|
read_link(&bin_python_major), @"[TEMP_DIR]/managed/cpython-3.12-[PLATFORM]/python"
|
||||||
);
|
);
|
||||||
insta::assert_snapshot!(
|
insta::assert_snapshot!(
|
||||||
canonicalize_link_path(&bin_python_major), @"[TEMP_DIR]/managed/cpython-3.12.11-[PLATFORM]/python"
|
canonicalize_link_path(&bin_python_major), @"[TEMP_DIR]/managed/cpython-3.12.12-[PLATFORM]/python"
|
||||||
);
|
);
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
@ -2054,7 +2054,7 @@ fn python_install_default_preview() {
|
||||||
read_link(&bin_python_minor_12), @"[TEMP_DIR]/managed/cpython-3.12-[PLATFORM]/python"
|
read_link(&bin_python_minor_12), @"[TEMP_DIR]/managed/cpython-3.12-[PLATFORM]/python"
|
||||||
);
|
);
|
||||||
insta::assert_snapshot!(
|
insta::assert_snapshot!(
|
||||||
canonicalize_link_path(&bin_python_minor_12), @"[TEMP_DIR]/managed/cpython-3.12.11-[PLATFORM]/python"
|
canonicalize_link_path(&bin_python_minor_12), @"[TEMP_DIR]/managed/cpython-3.12.12-[PLATFORM]/python"
|
||||||
);
|
);
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
@ -2065,7 +2065,7 @@ fn python_install_default_preview() {
|
||||||
read_link(&bin_python_default), @"[TEMP_DIR]/managed/cpython-3.12-[PLATFORM]/python"
|
read_link(&bin_python_default), @"[TEMP_DIR]/managed/cpython-3.12-[PLATFORM]/python"
|
||||||
);
|
);
|
||||||
insta::assert_snapshot!(
|
insta::assert_snapshot!(
|
||||||
canonicalize_link_path(&bin_python_default), @"[TEMP_DIR]/managed/cpython-3.12.11-[PLATFORM]/python"
|
canonicalize_link_path(&bin_python_default), @"[TEMP_DIR]/managed/cpython-3.12.12-[PLATFORM]/python"
|
||||||
);
|
);
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
@ -2109,7 +2109,7 @@ fn python_install_default_preview() {
|
||||||
filters => context.filters(),
|
filters => context.filters(),
|
||||||
}, {
|
}, {
|
||||||
insta::assert_snapshot!(
|
insta::assert_snapshot!(
|
||||||
canonicalize_link_path(&bin_python_minor_12), @"[TEMP_DIR]/managed/cpython-3.12.11-[PLATFORM]/bin/python3.12"
|
canonicalize_link_path(&bin_python_minor_12), @"[TEMP_DIR]/managed/cpython-3.12.12-[PLATFORM]/bin/python3.12"
|
||||||
);
|
);
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
@ -2141,7 +2141,7 @@ fn python_install_default_preview() {
|
||||||
filters => context.filters(),
|
filters => context.filters(),
|
||||||
}, {
|
}, {
|
||||||
insta::assert_snapshot!(
|
insta::assert_snapshot!(
|
||||||
canonicalize_link_path(&bin_python_minor_12), @"[TEMP_DIR]/managed/cpython-3.12.11-[PLATFORM]/python"
|
canonicalize_link_path(&bin_python_minor_12), @"[TEMP_DIR]/managed/cpython-3.12.12-[PLATFORM]/python"
|
||||||
);
|
);
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
@ -2270,8 +2270,8 @@ fn python_install_default_from_env() {
|
||||||
----- stdout -----
|
----- stdout -----
|
||||||
|
|
||||||
----- stderr -----
|
----- stderr -----
|
||||||
Installed Python 3.12.11 in [TIME]
|
Installed Python 3.12.12 in [TIME]
|
||||||
+ cpython-3.12.11-[PLATFORM] (python3.12)
|
+ cpython-3.12.12-[PLATFORM] (python3.12)
|
||||||
");
|
");
|
||||||
|
|
||||||
// But prefer explicit requests
|
// But prefer explicit requests
|
||||||
|
|
@ -2281,8 +2281,8 @@ fn python_install_default_from_env() {
|
||||||
----- stdout -----
|
----- stdout -----
|
||||||
|
|
||||||
----- stderr -----
|
----- stderr -----
|
||||||
Installed Python 3.11.13 in [TIME]
|
Installed Python 3.11.14 in [TIME]
|
||||||
+ cpython-3.11.13-[PLATFORM] (python3.11)
|
+ cpython-3.11.14-[PLATFORM] (python3.11)
|
||||||
");
|
");
|
||||||
|
|
||||||
// We should ignore `UV_PYTHON` here and complain there is not a target
|
// We should ignore `UV_PYTHON` here and complain there is not a target
|
||||||
|
|
@ -2309,8 +2309,8 @@ fn python_install_default_from_env() {
|
||||||
----- stderr -----
|
----- stderr -----
|
||||||
Searching for Python installations
|
Searching for Python installations
|
||||||
Uninstalled 2 versions in [TIME]
|
Uninstalled 2 versions in [TIME]
|
||||||
- cpython-3.11.13-[PLATFORM] (python3.11)
|
- cpython-3.11.14-[PLATFORM] (python3.11)
|
||||||
- cpython-3.12.11-[PLATFORM] (python3.12)
|
- cpython-3.12.12-[PLATFORM] (python3.12)
|
||||||
");
|
");
|
||||||
|
|
||||||
// Uninstall with no targets should error
|
// Uninstall with no targets should error
|
||||||
|
|
@ -2581,7 +2581,7 @@ fn python_install_cached() {
|
||||||
----- stdout -----
|
----- stdout -----
|
||||||
|
|
||||||
----- stderr -----
|
----- stderr -----
|
||||||
error: Failed to install cpython-3.12.11-[PLATFORM]
|
error: Failed to install cpython-3.12.12-[PLATFORM]
|
||||||
Caused by: An offline Python installation was requested, but cpython-3.12.[PATCH]-[DATE]-[PLATFORM].tar.gz) is missing in python-cache
|
Caused by: An offline Python installation was requested, but cpython-3.12.[PATCH]-[DATE]-[PLATFORM].tar.gz) is missing in python-cache
|
||||||
");
|
");
|
||||||
}
|
}
|
||||||
|
|
@ -2691,7 +2691,7 @@ fn python_install_no_cache() {
|
||||||
----- stdout -----
|
----- stdout -----
|
||||||
|
|
||||||
----- stderr -----
|
----- stderr -----
|
||||||
error: Failed to install cpython-3.12.11-[PLATFORM]
|
error: Failed to install cpython-3.12.12-[PLATFORM]
|
||||||
Caused by: Failed to download https://github.com/astral-sh/python-build-standalone/releases/download/[DATE]/cpython-3.12.[PATCH]-[DATE]-[PLATFORM].tar.gz
|
Caused by: Failed to download https://github.com/astral-sh/python-build-standalone/releases/download/[DATE]/cpython-3.12.[PATCH]-[DATE]-[PLATFORM].tar.gz
|
||||||
Caused by: Network connectivity is disabled, but the requested data wasn't found in the cache for: `https://github.com/astral-sh/python-build-standalone/releases/download/[DATE]/cpython-3.12.[PATCH]-[DATE]-[PLATFORM].tar.gz`
|
Caused by: Network connectivity is disabled, but the requested data wasn't found in the cache for: `https://github.com/astral-sh/python-build-standalone/releases/download/[DATE]/cpython-3.12.[PATCH]-[DATE]-[PLATFORM].tar.gz`
|
||||||
");
|
");
|
||||||
|
|
|
||||||
|
|
@ -365,7 +365,7 @@ fn python_list_downloads() {
|
||||||
success: true
|
success: true
|
||||||
exit_code: 0
|
exit_code: 0
|
||||||
----- stdout -----
|
----- stdout -----
|
||||||
cpython-3.10.18-[PLATFORM] <download available>
|
cpython-3.10.19-[PLATFORM] <download available>
|
||||||
pypy-3.10.16-[PLATFORM] <download available>
|
pypy-3.10.16-[PLATFORM] <download available>
|
||||||
graalpy-3.10.0-[PLATFORM] <download available>
|
graalpy-3.10.0-[PLATFORM] <download available>
|
||||||
|
|
||||||
|
|
@ -377,6 +377,7 @@ fn python_list_downloads() {
|
||||||
success: true
|
success: true
|
||||||
exit_code: 0
|
exit_code: 0
|
||||||
----- stdout -----
|
----- stdout -----
|
||||||
|
cpython-3.10.19-[PLATFORM] <download available>
|
||||||
cpython-3.10.18-[PLATFORM] <download available>
|
cpython-3.10.18-[PLATFORM] <download available>
|
||||||
cpython-3.10.17-[PLATFORM] <download available>
|
cpython-3.10.17-[PLATFORM] <download available>
|
||||||
cpython-3.10.16-[PLATFORM] <download available>
|
cpython-3.10.16-[PLATFORM] <download available>
|
||||||
|
|
@ -423,7 +424,7 @@ fn python_list_downloads_installed() {
|
||||||
success: true
|
success: true
|
||||||
exit_code: 0
|
exit_code: 0
|
||||||
----- stdout -----
|
----- stdout -----
|
||||||
cpython-3.10.18-[PLATFORM] <download available>
|
cpython-3.10.19-[PLATFORM] <download available>
|
||||||
pypy-3.10.16-[PLATFORM] <download available>
|
pypy-3.10.16-[PLATFORM] <download available>
|
||||||
graalpy-3.10.0-[PLATFORM] <download available>
|
graalpy-3.10.0-[PLATFORM] <download available>
|
||||||
|
|
||||||
|
|
@ -450,7 +451,7 @@ fn python_list_downloads_installed() {
|
||||||
success: true
|
success: true
|
||||||
exit_code: 0
|
exit_code: 0
|
||||||
----- stdout -----
|
----- stdout -----
|
||||||
cpython-3.10.18-[PLATFORM] managed/cpython-3.10.18-[PLATFORM]/[INSTALL-BIN]/[PYTHON]
|
cpython-3.10.19-[PLATFORM] managed/cpython-3.10.19-[PLATFORM]/[INSTALL-BIN]/[PYTHON]
|
||||||
pypy-3.10.16-[PLATFORM] <download available>
|
pypy-3.10.16-[PLATFORM] <download available>
|
||||||
graalpy-3.10.0-[PLATFORM] <download available>
|
graalpy-3.10.0-[PLATFORM] <download available>
|
||||||
|
|
||||||
|
|
@ -462,7 +463,7 @@ fn python_list_downloads_installed() {
|
||||||
success: true
|
success: true
|
||||||
exit_code: 0
|
exit_code: 0
|
||||||
----- stdout -----
|
----- stdout -----
|
||||||
cpython-3.10.18-[PLATFORM] <download available>
|
cpython-3.10.19-[PLATFORM] <download available>
|
||||||
pypy-3.10.16-[PLATFORM] <download available>
|
pypy-3.10.16-[PLATFORM] <download available>
|
||||||
graalpy-3.10.0-[PLATFORM] <download available>
|
graalpy-3.10.0-[PLATFORM] <download available>
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -40,8 +40,8 @@ fn python_upgrade() {
|
||||||
----- stdout -----
|
----- stdout -----
|
||||||
|
|
||||||
----- stderr -----
|
----- stderr -----
|
||||||
Installed Python 3.10.18 in [TIME]
|
Installed Python 3.10.19 in [TIME]
|
||||||
+ cpython-3.10.18-[PLATFORM] (python3.10)
|
+ cpython-3.10.19-[PLATFORM] (python3.10)
|
||||||
");
|
");
|
||||||
|
|
||||||
// Should be a no-op when already upgraded
|
// Should be a no-op when already upgraded
|
||||||
|
|
@ -61,8 +61,8 @@ fn python_upgrade() {
|
||||||
----- stdout -----
|
----- stdout -----
|
||||||
|
|
||||||
----- stderr -----
|
----- stderr -----
|
||||||
Installed Python 3.10.18 in [TIME]
|
Installed Python 3.10.19 in [TIME]
|
||||||
~ cpython-3.10.18-[PLATFORM] (python3.10)
|
~ cpython-3.10.19-[PLATFORM] (python3.10)
|
||||||
");
|
");
|
||||||
|
|
||||||
// Install an earlier pre-release version
|
// Install an earlier pre-release version
|
||||||
|
|
@ -142,8 +142,8 @@ fn python_upgrade_without_version() {
|
||||||
|
|
||||||
----- stderr -----
|
----- stderr -----
|
||||||
Installed 2 versions in [TIME]
|
Installed 2 versions in [TIME]
|
||||||
+ cpython-3.11.13-[PLATFORM] (python3.11)
|
+ cpython-3.11.14-[PLATFORM] (python3.11)
|
||||||
+ cpython-3.12.11-[PLATFORM] (python3.12)
|
+ cpython-3.12.12-[PLATFORM] (python3.12)
|
||||||
");
|
");
|
||||||
|
|
||||||
// Should be a no-op when every version is already upgraded
|
// Should be a no-op when every version is already upgraded
|
||||||
|
|
@ -229,8 +229,8 @@ fn python_upgrade_transparent_from_venv() {
|
||||||
----- stdout -----
|
----- stdout -----
|
||||||
|
|
||||||
----- stderr -----
|
----- stderr -----
|
||||||
Installed Python 3.10.18 in [TIME]
|
Installed Python 3.10.19 in [TIME]
|
||||||
+ cpython-3.10.18-[PLATFORM] (python3.10)
|
+ cpython-3.10.19-[PLATFORM] (python3.10)
|
||||||
");
|
");
|
||||||
|
|
||||||
// First virtual environment should reflect upgraded patch
|
// First virtual environment should reflect upgraded patch
|
||||||
|
|
@ -238,7 +238,7 @@ fn python_upgrade_transparent_from_venv() {
|
||||||
success: true
|
success: true
|
||||||
exit_code: 0
|
exit_code: 0
|
||||||
----- stdout -----
|
----- stdout -----
|
||||||
Python 3.10.18
|
Python 3.10.19
|
||||||
|
|
||||||
----- stderr -----
|
----- stderr -----
|
||||||
"
|
"
|
||||||
|
|
@ -250,7 +250,7 @@ fn python_upgrade_transparent_from_venv() {
|
||||||
success: true
|
success: true
|
||||||
exit_code: 0
|
exit_code: 0
|
||||||
----- stdout -----
|
----- stdout -----
|
||||||
Python 3.10.18
|
Python 3.10.19
|
||||||
|
|
||||||
----- stderr -----
|
----- stderr -----
|
||||||
"
|
"
|
||||||
|
|
@ -306,8 +306,8 @@ fn python_upgrade_transparent_from_venv_preview() {
|
||||||
----- stdout -----
|
----- stdout -----
|
||||||
|
|
||||||
----- stderr -----
|
----- stderr -----
|
||||||
Installed Python 3.10.18 in [TIME]
|
Installed Python 3.10.19 in [TIME]
|
||||||
+ cpython-3.10.18-[PLATFORM] (python3.10)
|
+ cpython-3.10.19-[PLATFORM] (python3.10)
|
||||||
");
|
");
|
||||||
|
|
||||||
// Virtual environment should reflect upgraded patch
|
// Virtual environment should reflect upgraded patch
|
||||||
|
|
@ -315,7 +315,7 @@ fn python_upgrade_transparent_from_venv_preview() {
|
||||||
success: true
|
success: true
|
||||||
exit_code: 0
|
exit_code: 0
|
||||||
----- stdout -----
|
----- stdout -----
|
||||||
Python 3.10.18
|
Python 3.10.19
|
||||||
|
|
||||||
----- stderr -----
|
----- stderr -----
|
||||||
"
|
"
|
||||||
|
|
@ -369,8 +369,8 @@ fn python_upgrade_ignored_with_python_pin() {
|
||||||
----- stdout -----
|
----- stdout -----
|
||||||
|
|
||||||
----- stderr -----
|
----- stderr -----
|
||||||
Installed Python 3.10.18 in [TIME]
|
Installed Python 3.10.19 in [TIME]
|
||||||
+ cpython-3.10.18-[PLATFORM] (python3.10)
|
+ cpython-3.10.19-[PLATFORM] (python3.10)
|
||||||
");
|
");
|
||||||
|
|
||||||
// Virtual environment should continue to respect pinned patch version
|
// Virtual environment should continue to respect pinned patch version
|
||||||
|
|
@ -434,8 +434,8 @@ fn python_no_transparent_upgrade_with_venv_patch_specification() {
|
||||||
----- stdout -----
|
----- stdout -----
|
||||||
|
|
||||||
----- stderr -----
|
----- stderr -----
|
||||||
Installed Python 3.10.18 in [TIME]
|
Installed Python 3.10.19 in [TIME]
|
||||||
+ cpython-3.10.18-[PLATFORM] (python3.10)
|
+ cpython-3.10.19-[PLATFORM] (python3.10)
|
||||||
");
|
");
|
||||||
|
|
||||||
// The virtual environment Python version is transparently upgraded.
|
// The virtual environment Python version is transparently upgraded.
|
||||||
|
|
@ -525,8 +525,8 @@ fn python_transparent_upgrade_venv_venv() {
|
||||||
----- stdout -----
|
----- stdout -----
|
||||||
|
|
||||||
----- stderr -----
|
----- stderr -----
|
||||||
Installed Python 3.10.18 in [TIME]
|
Installed Python 3.10.19 in [TIME]
|
||||||
+ cpython-3.10.18-[PLATFORM] (python3.10)
|
+ cpython-3.10.19-[PLATFORM] (python3.10)
|
||||||
");
|
");
|
||||||
|
|
||||||
// Should have transparently upgraded in second virtual environment
|
// Should have transparently upgraded in second virtual environment
|
||||||
|
|
@ -536,7 +536,7 @@ fn python_transparent_upgrade_venv_venv() {
|
||||||
success: true
|
success: true
|
||||||
exit_code: 0
|
exit_code: 0
|
||||||
----- stdout -----
|
----- stdout -----
|
||||||
Python 3.10.18
|
Python 3.10.19
|
||||||
|
|
||||||
----- stderr -----
|
----- stderr -----
|
||||||
"
|
"
|
||||||
|
|
@ -593,8 +593,8 @@ fn python_upgrade_transparent_from_venv_module() {
|
||||||
----- stdout -----
|
----- stdout -----
|
||||||
|
|
||||||
----- stderr -----
|
----- stderr -----
|
||||||
Installed Python 3.12.11 in [TIME]
|
Installed Python 3.12.12 in [TIME]
|
||||||
+ cpython-3.12.11-[PLATFORM] (python3.12)
|
+ cpython-3.12.12-[PLATFORM] (python3.12)
|
||||||
"
|
"
|
||||||
);
|
);
|
||||||
|
|
||||||
|
|
@ -603,7 +603,7 @@ fn python_upgrade_transparent_from_venv_module() {
|
||||||
success: true
|
success: true
|
||||||
exit_code: 0
|
exit_code: 0
|
||||||
----- stdout -----
|
----- stdout -----
|
||||||
Python 3.12.11
|
Python 3.12.12
|
||||||
|
|
||||||
----- stderr -----
|
----- stderr -----
|
||||||
"
|
"
|
||||||
|
|
@ -678,8 +678,8 @@ fn python_upgrade_transparent_from_venv_module_in_venv() {
|
||||||
----- stdout -----
|
----- stdout -----
|
||||||
|
|
||||||
----- stderr -----
|
----- stderr -----
|
||||||
Installed Python 3.10.18 in [TIME]
|
Installed Python 3.10.19 in [TIME]
|
||||||
+ cpython-3.10.18-[PLATFORM] (python3.10)
|
+ cpython-3.10.19-[PLATFORM] (python3.10)
|
||||||
"
|
"
|
||||||
);
|
);
|
||||||
|
|
||||||
|
|
@ -690,7 +690,7 @@ fn python_upgrade_transparent_from_venv_module_in_venv() {
|
||||||
success: true
|
success: true
|
||||||
exit_code: 0
|
exit_code: 0
|
||||||
----- stdout -----
|
----- stdout -----
|
||||||
Python 3.10.18
|
Python 3.10.19
|
||||||
|
|
||||||
----- stderr -----
|
----- stderr -----
|
||||||
"
|
"
|
||||||
|
|
@ -720,8 +720,8 @@ fn python_upgrade_force_install() -> Result<()> {
|
||||||
|
|
||||||
----- stderr -----
|
----- stderr -----
|
||||||
warning: Executable already exists at `[BIN]/python3.12` but is not managed by uv; use `uv python install 3.12 --force` to replace it
|
warning: Executable already exists at `[BIN]/python3.12` but is not managed by uv; use `uv python install 3.12 --force` to replace it
|
||||||
Installed Python 3.12.11 in [TIME]
|
Installed Python 3.12.12 in [TIME]
|
||||||
+ cpython-3.12.11-[PLATFORM]
|
+ cpython-3.12.12-[PLATFORM]
|
||||||
");
|
");
|
||||||
|
|
||||||
// Force the `bin` install.
|
// Force the `bin` install.
|
||||||
|
|
@ -731,8 +731,8 @@ fn python_upgrade_force_install() -> Result<()> {
|
||||||
----- stdout -----
|
----- stdout -----
|
||||||
|
|
||||||
----- stderr -----
|
----- stderr -----
|
||||||
Installed Python 3.12.11 in [TIME]
|
Installed Python 3.12.12 in [TIME]
|
||||||
+ cpython-3.12.11-[PLATFORM] (python3.12)
|
+ cpython-3.12.12-[PLATFORM] (python3.12)
|
||||||
");
|
");
|
||||||
|
|
||||||
Ok(())
|
Ok(())
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue