Skip to content

Commit 22167fa

Browse files
committed
Use 3.13 in CI
1 parent f6fd849 commit 22167fa

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
@@ -270,6 +270,7 @@ jobs:
270270
3.10
271271
3.11
272272
3.12
273+
3.13
273274
274275
- uses: Swatinem/rust-cache@v2
275276
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/venv.rs

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

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

0 commit comments

Comments
 (0)