Skip to content

Commit

Permalink
Use 3.13 in CI (#8014)
Browse files Browse the repository at this point in the history
  • Loading branch information
zanieb committed Nov 4, 2024
1 parent ef8724c commit 0c9fdf0
Show file tree
Hide file tree
Showing 3 changed files with 24 additions and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -275,6 +275,7 @@ jobs:
3.10
3.11
3.12
3.13
- uses: Swatinem/rust-cache@v2
with:
Expand Down
1 change: 1 addition & 0 deletions .python-versions
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
3.13.0
3.12.6
3.11.10
3.10.15
Expand Down
22 changes: 22 additions & 0 deletions crates/uv/tests/it/venv.rs
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,28 @@ fn create_venv() {
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]
fn create_venv_project_environment() -> Result<()> {
let context = TestContext::new_with_versions(&["3.12"]);
Expand Down

0 comments on commit 0c9fdf0

Please sign in to comment.