mirror of
https://github.com/astral-sh/uv.git
synced 2025-07-07 13:25:00 +00:00
Replace Twisted with an empty bz2 package (#3258)
## Summary This is just an empty package taken from packse, rezipped with `tar -cjf bz2-1.0.0.tar.bz2 bz2-1.0.0`.
This commit is contained in:
parent
3b6e16bb0e
commit
413859768d
2 changed files with 5 additions and 11 deletions
|
@ -671,15 +671,16 @@ fn install_sdist_url() -> Result<()> {
|
|||
fn install_sdist_archive_type_bz2() -> Result<()> {
|
||||
let context = TestContext::new("3.8");
|
||||
|
||||
// Install a version of Twisted that uses `.tar.bz2`.
|
||||
let requirements_txt = context.temp_dir.child("requirements.txt");
|
||||
requirements_txt.write_str("Twisted==20.3.0")?;
|
||||
requirements_txt.write_str("bz2==1.0.0")?;
|
||||
|
||||
uv_snapshot!(command(&context)
|
||||
.arg("requirements.txt")
|
||||
.arg("--no-binary")
|
||||
.arg(":all:")
|
||||
.arg("--strict"), @r###"
|
||||
.arg("--strict")
|
||||
.arg("--find-links")
|
||||
.arg(context.workspace_root.join("scripts/links/")), @r###"
|
||||
success: true
|
||||
exit_code: 0
|
||||
----- stdout -----
|
||||
|
@ -688,14 +689,7 @@ fn install_sdist_archive_type_bz2() -> Result<()> {
|
|||
Resolved 1 package in [TIME]
|
||||
Downloaded 1 package in [TIME]
|
||||
Installed 1 package in [TIME]
|
||||
+ twisted==20.3.0
|
||||
warning: The package `twisted` requires `zope-interface>=4.4.2`, but it's not installed.
|
||||
warning: The package `twisted` requires `constantly>=15.1`, but it's not installed.
|
||||
warning: The package `twisted` requires `incremental>=16.10.1`, but it's not installed.
|
||||
warning: The package `twisted` requires `automat>=0.3.0`, but it's not installed.
|
||||
warning: The package `twisted` requires `hyperlink>=17.1.1`, but it's not installed.
|
||||
warning: The package `twisted` requires `pyhamcrest!=1.10.0,>=1.9.0`, but it's not installed.
|
||||
warning: The package `twisted` requires `attrs>=19.2.0`, but it's not installed.
|
||||
+ bz2==1.0.0
|
||||
"###
|
||||
);
|
||||
|
||||
|
|
BIN
scripts/links/bz2-1.0.0.tar.bz2
Normal file
BIN
scripts/links/bz2-1.0.0.tar.bz2
Normal file
Binary file not shown.
Loading…
Add table
Add a link
Reference in a new issue