Skip to content

Commit df87eea

Browse files
committed
Use 3.13 in CI (#8014)
1 parent 0dd4d01 commit df87eea

File tree

3 files changed

+24
-0
lines changed

3 files changed

+24
-0
lines changed

.github/workflows/ci.yml

+1
Original file line numberDiff line numberDiff line change
@@ -282,6 +282,7 @@ jobs:
282282
3.10
283283
3.11
284284
3.12
285+
3.13
285286
286287
- uses: Swatinem/rust-cache@v2
287288
with:

.python-versions

+1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
3.13.0
12
3.12.6
23
3.11.10
34
3.10.15

crates/uv/tests/it/venv.rs

+22
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,28 @@ fn create_venv() {
5050
context.venv.assert(predicates::path::is_dir());
5151
}
5252

53+
#[test]
54+
fn create_venv_313() {
55+
let context = TestContext::new_with_versions(&["3.13"]);
56+
57+
uv_snapshot!(context.filters(), context.venv()
58+
.arg(context.venv.as_os_str())
59+
.arg("--python")
60+
.arg("3.13"), @r###"
61+
success: true
62+
exit_code: 0
63+
----- stdout -----
64+
65+
----- stderr -----
66+
Using CPython 3.13.[X] interpreter at: [PYTHON-3.13]
67+
Creating virtual environment at: .venv
68+
Activate with: source .venv/[BIN]/activate
69+
"###
70+
);
71+
72+
context.venv.assert(predicates::path::is_dir());
73+
}
74+
5375
#[test]
5476
fn create_venv_project_environment() -> Result<()> {
5577
let context = TestContext::new_with_versions(&["3.12"]);

0 commit comments

Comments
 (0)