Redact packse version in all urls (#7026)
Reduce the diff on packse updates
This commit is contained in:
@@ -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,
|
||||
|
||||
@@ -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]]
|
||||
|
||||
Reference in New Issue
Block a user