mirror of https://github.com/astral-sh/uv
Use 3.13 in CI (#8014)
This commit is contained in:
parent
7a247a6533
commit
55502842c0
|
|
@ -279,6 +279,7 @@ jobs:
|
||||||
3.10
|
3.10
|
||||||
3.11
|
3.11
|
||||||
3.12
|
3.12
|
||||||
|
3.13
|
||||||
|
|
||||||
- uses: Swatinem/rust-cache@v2
|
- uses: Swatinem/rust-cache@v2
|
||||||
with:
|
with:
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,4 @@
|
||||||
|
3.13.0
|
||||||
3.12.6
|
3.12.6
|
||||||
3.11.10
|
3.11.10
|
||||||
3.10.15
|
3.10.15
|
||||||
|
|
|
||||||
|
|
@ -50,6 +50,28 @@ fn create_venv() {
|
||||||
context.venv.assert(predicates::path::is_dir());
|
context.venv.assert(predicates::path::is_dir());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#[test]
|
||||||
|
fn create_venv_313() {
|
||||||
|
let context = TestContext::new_with_versions(&["3.13"]);
|
||||||
|
|
||||||
|
uv_snapshot!(context.filters(), context.venv()
|
||||||
|
.arg(context.venv.as_os_str())
|
||||||
|
.arg("--python")
|
||||||
|
.arg("3.13"), @r###"
|
||||||
|
success: true
|
||||||
|
exit_code: 0
|
||||||
|
----- stdout -----
|
||||||
|
|
||||||
|
----- stderr -----
|
||||||
|
Using CPython 3.13.[X] interpreter at: [PYTHON-3.13]
|
||||||
|
Creating virtual environment at: .venv
|
||||||
|
Activate with: source .venv/[BIN]/activate
|
||||||
|
"###
|
||||||
|
);
|
||||||
|
|
||||||
|
context.venv.assert(predicates::path::is_dir());
|
||||||
|
}
|
||||||
|
|
||||||
#[test]
|
#[test]
|
||||||
fn create_venv_project_environment() -> Result<()> {
|
fn create_venv_project_environment() -> Result<()> {
|
||||||
let context = TestContext::new_with_versions(&["3.12"]);
|
let context = TestContext::new_with_versions(&["3.12"]);
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue