uv/tests: add fork marker packse tests

This commit is contained in:
Andrew Gallant 2024-06-15 10:04:43 -04:00 committed by Andrew Gallant
parent eea1bf9bf2
commit 6a7b56ca05
4 changed files with 1037 additions and 96 deletions

View file

@ -26,7 +26,7 @@ pub static EXCLUDE_NEWER: &str = "2024-03-25T00:00:00Z";
/// Using a find links url allows using `--index-url` instead of `--extra-index-url` in tests
/// to prevent dependency confusion attacks against our test suite.
pub const BUILD_VENDOR_LINKS_URL: &str =
"https://raw.githubusercontent.com/astral-sh/packse/0.3.24/vendor/links.html";
"https://raw.githubusercontent.com/astral-sh/packse/0.3.26/vendor/links.html";
#[doc(hidden)] // Macro and test context only, don't use directly.
pub const INSTA_FILTERS: &[(&str, &str)] = &[

File diff suppressed because it is too large Load diff

View file

@ -1,7 +1,7 @@
//! DO NOT EDIT
//!
//! Generated with `./scripts/sync_scenarios.sh`
//! Scenarios from <https://github.com/astral-sh/packse/tree/0.3.24/scenarios>
//! Scenarios from <https://github.com/astral-sh/packse/tree/0.3.26/scenarios>
//!
#![cfg(all(feature = "python", feature = "pypi", unix))]
@ -27,9 +27,9 @@ fn command(context: &TestContext, python_versions: &[&str]) -> Command {
.arg("compile")
.arg("requirements.in")
.arg("--index-url")
.arg("https://astral-sh.github.io/packse/0.3.24/simple-html/")
.arg("https://astral-sh.github.io/packse/0.3.26/simple-html/")
.arg("--find-links")
.arg("https://raw.githubusercontent.com/astral-sh/packse/0.3.24/vendor/links.html")
.arg("https://raw.githubusercontent.com/astral-sh/packse/0.3.26/vendor/links.html")
.arg("--cache-dir")
.arg(context.cache_dir.path())
.env("VIRTUAL_ENV", context.venv.as_os_str())

View file

@ -1,7 +1,7 @@
//! DO NOT EDIT
//!
//! Generated with `./scripts/sync_scenarios.sh`
//! Scenarios from <https://github.com/astral-sh/packse/tree/0.3.24/scenarios>
//! Scenarios from <https://github.com/astral-sh/packse/tree/0.3.26/scenarios>
//!
#![cfg(all(feature = "python", feature = "pypi", unix))]
@ -46,9 +46,9 @@ fn command(context: &TestContext) -> Command {
.arg("pip")
.arg("install")
.arg("--index-url")
.arg("https://astral-sh.github.io/packse/0.3.24/simple-html/")
.arg("https://astral-sh.github.io/packse/0.3.26/simple-html/")
.arg("--find-links")
.arg("https://raw.githubusercontent.com/astral-sh/packse/0.3.24/vendor/links.html")
.arg("https://raw.githubusercontent.com/astral-sh/packse/0.3.26/vendor/links.html")
.arg("--cache-dir")
.arg(context.cache_dir.path())
.env("VIRTUAL_ENV", context.venv.as_os_str())