Redact packse version in all urls (#7026)

Reduce the diff on packse updates
This commit is contained in:
konsti
2024-09-04 16:59:07 +02:00
committed by GitHub
parent 5b643ced1d
commit 2b294b90f2
2 changed files with 11 additions and 7 deletions
+5 -1
View File
@@ -380,12 +380,16 @@ impl TestContext {
// Destroy any remaining UNC prefixes (Windows only)
filters.push((r"\\\\\?\\".to_string(), String::new()));
// Remove the version from the packse url in lockfile snapshots. This avoid having a huge
// Remove the version from the packse url in lockfile snapshots. This avoids having a huge
// diff any time we upgrade packse
filters.push((
format!("https://astral-sh.github.io/packse/{PACKSE_VERSION}/"),
"https://astral-sh.github.io/packse/PACKSE_VERSION/".to_string(),
));
filters.push((
format!("https://raw.githubusercontent.com/astral-sh/packse/{PACKSE_VERSION}/"),
"https://raw.githubusercontent.com/astral-sh/packse/PACKSE_VERSION/".to_string(),
));
Self {
temp_dir,
+6 -6
View File
@@ -7207,10 +7207,10 @@ fn lock_find_links_http_wheel() -> Result<()> {
[[package]]
name = "packaging"
version = "23.2"
source = { registry = "https://raw.githubusercontent.com/astral-sh/packse/0.3.34/vendor/links.html" }
sdist = { url = "https://raw.githubusercontent.com/astral-sh/packse/0.3.34/vendor/build/packaging-23.2.tar.gz" }
source = { registry = "https://raw.githubusercontent.com/astral-sh/packse/PACKSE_VERSION/vendor/links.html" }
sdist = { url = "https://raw.githubusercontent.com/astral-sh/packse/PACKSE_VERSION/vendor/build/packaging-23.2.tar.gz" }
wheels = [
{ url = "https://raw.githubusercontent.com/astral-sh/packse/0.3.34/vendor/build/packaging-23.2-py3-none-any.whl" },
{ url = "https://raw.githubusercontent.com/astral-sh/packse/PACKSE_VERSION/vendor/build/packaging-23.2-py3-none-any.whl" },
]
[[package]]
@@ -7302,10 +7302,10 @@ fn lock_find_links_http_sdist() -> Result<()> {
[[package]]
name = "packaging"
version = "23.2"
source = { registry = "https://raw.githubusercontent.com/astral-sh/packse/0.3.34/vendor/links.html" }
sdist = { url = "https://raw.githubusercontent.com/astral-sh/packse/0.3.34/vendor/build/packaging-23.2.tar.gz" }
source = { registry = "https://raw.githubusercontent.com/astral-sh/packse/PACKSE_VERSION/vendor/links.html" }
sdist = { url = "https://raw.githubusercontent.com/astral-sh/packse/PACKSE_VERSION/vendor/build/packaging-23.2.tar.gz" }
wheels = [
{ url = "https://raw.githubusercontent.com/astral-sh/packse/0.3.34/vendor/build/packaging-23.2-py3-none-any.whl" },
{ url = "https://raw.githubusercontent.com/astral-sh/packse/PACKSE_VERSION/vendor/build/packaging-23.2-py3-none-any.whl" },
]
[[package]]