mirror of
https://github.com/astral-sh/uv.git
synced 2025-07-07 13:25:00 +00:00
uv/tests: update packse tests for packse 0.3.30
An important update here is the new `fork-incomplete-markers` test. The snapshot saved here is actually wrong; it is the bug we want to fix. In particular, it is missing a dependency on `c` in its lock file because it falls into a gap created by incomplete-but-disjoint marker expressions.
This commit is contained in:
parent
b6ad41fd8e
commit
f36f2f41ac
4 changed files with 416 additions and 216 deletions
|
@ -28,7 +28,7 @@ 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
|
/// 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.
|
/// to prevent dependency confusion attacks against our test suite.
|
||||||
pub const BUILD_VENDOR_LINKS_URL: &str =
|
pub const BUILD_VENDOR_LINKS_URL: &str =
|
||||||
"https://raw.githubusercontent.com/astral-sh/packse/0.3.29/vendor/links.html";
|
"https://raw.githubusercontent.com/astral-sh/packse/0.3.30/vendor/links.html";
|
||||||
|
|
||||||
#[doc(hidden)] // Macro and test context only, don't use directly.
|
#[doc(hidden)] // Macro and test context only, don't use directly.
|
||||||
pub const INSTA_FILTERS: &[(&str, &str)] = &[
|
pub const INSTA_FILTERS: &[(&str, &str)] = &[
|
||||||
|
|
File diff suppressed because it is too large
Load diff
|
@ -1,7 +1,7 @@
|
||||||
//! DO NOT EDIT
|
//! DO NOT EDIT
|
||||||
//!
|
//!
|
||||||
//! Generated with `./scripts/sync_scenarios.sh`
|
//! Generated with `./scripts/sync_scenarios.sh`
|
||||||
//! Scenarios from <https://github.com/astral-sh/packse/tree/0.3.29/scenarios>
|
//! Scenarios from <https://github.com/astral-sh/packse/tree/0.3.30/scenarios>
|
||||||
//!
|
//!
|
||||||
#![cfg(all(feature = "python", feature = "pypi", unix))]
|
#![cfg(all(feature = "python", feature = "pypi", unix))]
|
||||||
|
|
||||||
|
@ -27,9 +27,9 @@ fn command(context: &TestContext, python_versions: &[&str]) -> Command {
|
||||||
.arg("compile")
|
.arg("compile")
|
||||||
.arg("requirements.in")
|
.arg("requirements.in")
|
||||||
.arg("--index-url")
|
.arg("--index-url")
|
||||||
.arg("https://astral-sh.github.io/packse/0.3.29/simple-html/")
|
.arg("https://astral-sh.github.io/packse/0.3.30/simple-html/")
|
||||||
.arg("--find-links")
|
.arg("--find-links")
|
||||||
.arg("https://raw.githubusercontent.com/astral-sh/packse/0.3.29/vendor/links.html");
|
.arg("https://raw.githubusercontent.com/astral-sh/packse/0.3.30/vendor/links.html");
|
||||||
context.add_shared_args(&mut command);
|
context.add_shared_args(&mut command);
|
||||||
command.env_remove("UV_EXCLUDE_NEWER");
|
command.env_remove("UV_EXCLUDE_NEWER");
|
||||||
command.env("UV_TEST_PYTHON_PATH", python_path);
|
command.env("UV_TEST_PYTHON_PATH", python_path);
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
//! DO NOT EDIT
|
//! DO NOT EDIT
|
||||||
//!
|
//!
|
||||||
//! Generated with `./scripts/sync_scenarios.sh`
|
//! Generated with `./scripts/sync_scenarios.sh`
|
||||||
//! Scenarios from <https://github.com/astral-sh/packse/tree/0.3.29/scenarios>
|
//! Scenarios from <https://github.com/astral-sh/packse/tree/0.3.30/scenarios>
|
||||||
//!
|
//!
|
||||||
#![cfg(all(feature = "python", feature = "pypi", unix))]
|
#![cfg(all(feature = "python", feature = "pypi", unix))]
|
||||||
|
|
||||||
|
@ -46,9 +46,9 @@ fn command(context: &TestContext) -> Command {
|
||||||
.arg("pip")
|
.arg("pip")
|
||||||
.arg("install")
|
.arg("install")
|
||||||
.arg("--index-url")
|
.arg("--index-url")
|
||||||
.arg("https://astral-sh.github.io/packse/0.3.29/simple-html/")
|
.arg("https://astral-sh.github.io/packse/0.3.30/simple-html/")
|
||||||
.arg("--find-links")
|
.arg("--find-links")
|
||||||
.arg("https://raw.githubusercontent.com/astral-sh/packse/0.3.29/vendor/links.html");
|
.arg("https://raw.githubusercontent.com/astral-sh/packse/0.3.30/vendor/links.html");
|
||||||
context.add_shared_args(&mut command);
|
context.add_shared_args(&mut command);
|
||||||
command.env_remove("UV_EXCLUDE_NEWER");
|
command.env_remove("UV_EXCLUDE_NEWER");
|
||||||
command
|
command
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue