diff --git a/rye/src/sources/generated/uv_downloads.inc b/rye/src/sources/generated/uv_downloads.inc index 69917ce97f..f47340a022 100644 --- a/rye/src/sources/generated/uv_downloads.inc +++ b/rye/src/sources/generated/uv_downloads.inc @@ -2,11 +2,11 @@ // To regenerate, run `rye run uv-downloads > rye/src/sources/generated/uv_downloads.inc` from the root of the repository. use std::borrow::Cow; pub const UV_DOWNLOADS: &[UvDownload] = &[ - UvDownload {arch: Cow::Borrowed("aarch64"), os: Cow::Borrowed("macos"), major: 0, minor: 4, patch: 17, suffix: None, url: Cow::Borrowed("https://github.com/astral-sh/uv/releases/download/0.4.17/uv-aarch64-apple-darwin.tar.gz"), sha256: Cow::Borrowed("af8e68a0e831e8b482d9e2f5443af63d24d003b0c53e0d5f921c2bcb5eed1644") }, - UvDownload {arch: Cow::Borrowed("aarch64"), os: Cow::Borrowed("linux"), major: 0, minor: 4, patch: 17, suffix: None, url: Cow::Borrowed("https://github.com/astral-sh/uv/releases/download/0.4.17/uv-aarch64-unknown-linux-musl.tar.gz"), sha256: Cow::Borrowed("7dc33d60655e7a78bf13ad68bff89da6233b24484cd01a668d72a4ca88c7e70d") }, - UvDownload {arch: Cow::Borrowed("i686"), os: Cow::Borrowed("windows"), major: 0, minor: 4, patch: 17, suffix: None, url: Cow::Borrowed("https://github.com/astral-sh/uv/releases/download/0.4.17/uv-i686-pc-windows-msvc.zip"), sha256: Cow::Borrowed("c8a2c21e23694e4d8079693d8d980642ceabad7589a8da5d5c112844cd9a1530") }, - UvDownload {arch: Cow::Borrowed("i686"), os: Cow::Borrowed("linux"), major: 0, minor: 4, patch: 17, suffix: None, url: Cow::Borrowed("https://github.com/astral-sh/uv/releases/download/0.4.17/uv-i686-unknown-linux-gnu.tar.gz"), sha256: Cow::Borrowed("67d1ed2af42d7f355eb08325645013e24fc3797f33cfa9d5aca18f74a98c4885") }, - UvDownload {arch: Cow::Borrowed("x86_64"), os: Cow::Borrowed("macos"), major: 0, minor: 4, patch: 17, suffix: None, url: Cow::Borrowed("https://github.com/astral-sh/uv/releases/download/0.4.17/uv-x86_64-apple-darwin.tar.gz"), sha256: Cow::Borrowed("7ed2445e83cb919525535774004e294061a8c79253367490647c6aab0e9d06b8") }, - UvDownload {arch: Cow::Borrowed("x86_64"), os: Cow::Borrowed("windows"), major: 0, minor: 4, patch: 17, suffix: None, url: Cow::Borrowed("https://github.com/astral-sh/uv/releases/download/0.4.17/uv-x86_64-pc-windows-msvc.zip"), sha256: Cow::Borrowed("929407c72ec63c54502c3aef61a2195c2b6a145d6d4b15fd9a0528475cc5cd50") }, - UvDownload {arch: Cow::Borrowed("x86_64"), os: Cow::Borrowed("linux"), major: 0, minor: 4, patch: 17, suffix: None, url: Cow::Borrowed("https://github.com/astral-sh/uv/releases/download/0.4.17/uv-x86_64-unknown-linux-gnu.tar.gz"), sha256: Cow::Borrowed("9282496b24585c54f4cb71c1cb1dbdecd650f2311237f71ddf217f8756136f79") }, + UvDownload {arch: Cow::Borrowed("aarch64"), os: Cow::Borrowed("macos"), major: 0, minor: 4, patch: 25, suffix: None, url: Cow::Borrowed("https://github.com/astral-sh/uv/releases/download/0.4.25/uv-aarch64-apple-darwin.tar.gz"), sha256: Cow::Borrowed("bb2ff4348114ef220ca52e44d5086640c4a1a18f797a5f1ab6f8559fc37b1230") }, + UvDownload {arch: Cow::Borrowed("aarch64"), os: Cow::Borrowed("linux"), major: 0, minor: 4, patch: 25, suffix: None, url: Cow::Borrowed("https://github.com/astral-sh/uv/releases/download/0.4.25/uv-aarch64-unknown-linux-musl.tar.gz"), sha256: Cow::Borrowed("d08a7a8adfa7f1e7e6d427b9ab38b071a50dcf63a11b3cbfaaad9b8e68e69df6") }, + UvDownload {arch: Cow::Borrowed("i686"), os: Cow::Borrowed("windows"), major: 0, minor: 4, patch: 25, suffix: None, url: Cow::Borrowed("https://github.com/astral-sh/uv/releases/download/0.4.25/uv-i686-pc-windows-msvc.zip"), sha256: Cow::Borrowed("328e36c4a3e262e27f714d580d7f9e8eb9bfe66ed8c65cf9aaf63a6d44d3fa16") }, + UvDownload {arch: Cow::Borrowed("i686"), os: Cow::Borrowed("linux"), major: 0, minor: 4, patch: 25, suffix: None, url: Cow::Borrowed("https://github.com/astral-sh/uv/releases/download/0.4.25/uv-i686-unknown-linux-gnu.tar.gz"), sha256: Cow::Borrowed("496bc5ba76a1d7fcb6fee2f3520333acb7fab6153f54059426e69d0f98db6bae") }, + UvDownload {arch: Cow::Borrowed("x86_64"), os: Cow::Borrowed("macos"), major: 0, minor: 4, patch: 25, suffix: None, url: Cow::Borrowed("https://github.com/astral-sh/uv/releases/download/0.4.25/uv-x86_64-apple-darwin.tar.gz"), sha256: Cow::Borrowed("f0ec1f79f4791294382bff242691c6502e95853acef080ae3f7c367a8e1beb6f") }, + UvDownload {arch: Cow::Borrowed("x86_64"), os: Cow::Borrowed("windows"), major: 0, minor: 4, patch: 25, suffix: None, url: Cow::Borrowed("https://github.com/astral-sh/uv/releases/download/0.4.25/uv-x86_64-pc-windows-msvc.zip"), sha256: Cow::Borrowed("c5c7fa084ae4e8ac9e3b0b6c4c7b61e9355eb0c86801c4c7728c0cb142701f38") }, + UvDownload {arch: Cow::Borrowed("x86_64"), os: Cow::Borrowed("linux"), major: 0, minor: 4, patch: 25, suffix: None, url: Cow::Borrowed("https://github.com/astral-sh/uv/releases/download/0.4.25/uv-x86_64-unknown-linux-gnu.tar.gz"), sha256: Cow::Borrowed("6cb6eaf711cd7ce5fb1efaa539c5906374c762af547707a2041c9f6fd207769a") }, ]; diff --git a/rye/tests/common/mod.rs b/rye/tests/common/mod.rs index 0a68a19e40..8d8e18ee06 100644 --- a/rye/tests/common/mod.rs +++ b/rye/tests/common/mod.rs @@ -11,6 +11,8 @@ pub static EXCLUDE_NEWER: &str = "2023-11-18T12:00:00Z"; #[allow(unused)] pub const INSTA_FILTERS: &[(&str, &str)] = &[ + // TODO(charlie): This should be `debug` logging in uv, but it's going to `stdout` on Windows. + (r"Using Python \d+\.\d+\.\d+ environment at \.venv\n", ""), // general temp folders ( r"(\b[A-Z]:)?[\\/].*?[\\/]\.rye-tests---[^\\/]+[\\/]", diff --git a/rye/tests/test_sync.rs b/rye/tests/test_sync.rs index 43ea07e998..c0aa04bf0b 100644 --- a/rye/tests/test_sync.rs +++ b/rye/tests/test_sync.rs @@ -33,7 +33,7 @@ fn test_empty_sync() { { let script = space.venv_path().join("bin/activate"); let contents = fs::read_to_string(script).unwrap(); - assert!(contents.contains("VIRTUAL_ENV_PROMPT=\"my-project\"")); + assert!(contents.contains("VIRTUAL_ENV_PROMPT=\"(my-project) \"")); } #[cfg(windows)] { diff --git a/rye/tests/test_tools.rs b/rye/tests/test_tools.rs index 2e9becdace..794f0a8559 100644 --- a/rye/tests/test_tools.rs +++ b/rye/tests/test_tools.rs @@ -40,6 +40,7 @@ fn test_basic_tool_behavior() { - pycowsay ----- stderr ----- + Using Python 3.11.10 environment at [RYE_HOME]/tools/pycowsay Resolved 1 package in [EXECUTION_TIME] Prepared 1 package in [EXECUTION_TIME] Installed 1 package in [EXECUTION_TIME]