Skip to content

Commit

Permalink
More cruft
Browse files Browse the repository at this point in the history
  • Loading branch information
zanieb committed Feb 13, 2025
1 parent 24be46c commit f412685
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 31 deletions.
7 changes: 4 additions & 3 deletions crates/uv/tests/it/pip_compile.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1697,7 +1697,8 @@ fn compile_python_conflicts() -> Result<()> {

#[test]
fn compile_python_build_version_different_than_target() -> Result<()> {
let context = TestContext::new_with_versions(&["3.12", "3.10", "3.11"]);
let context =
TestContext::new_with_versions(&["3.12", "3.10", "3.11"]).with_filtered_python_sources();
let requirements_in = context.temp_dir.child("requirements.in");
requirements_in.write_str("black==23.10.1")?;

Expand Down Expand Up @@ -1804,7 +1805,7 @@ fn compile_python_build_version_different_than_target() -> Result<()> {
----- stdout -----
----- stderr -----
error: No interpreter found for PyPy 3.11 in virtual environments, managed installations, or search path
error: No interpreter found for PyPy 3.11 in [PYTHON SOURCES]
"###
);

Expand All @@ -1820,7 +1821,7 @@ fn compile_python_build_version_different_than_target() -> Result<()> {
----- stdout -----
----- stderr -----
error: No interpreter found for Python 3.13 in virtual environments, managed installations, or search path
error: No interpreter found for Python 3.13 in [PYTHON SOURCES]
"###
);

Expand Down
28 changes: 0 additions & 28 deletions crates/uv/tests/it/show_settings.rs
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,6 @@ fn resolve_uv_toml() -> anyhow::Result<()> {
},
),
),
python_legacy: None,
settings: PipSettings {
index_locations: IndexLocations {
indexes: [
Expand Down Expand Up @@ -273,7 +272,6 @@ fn resolve_uv_toml() -> anyhow::Result<()> {
},
),
),
python_legacy: None,
settings: PipSettings {
index_locations: IndexLocations {
indexes: [
Expand Down Expand Up @@ -446,7 +444,6 @@ fn resolve_uv_toml() -> anyhow::Result<()> {
},
),
),
python_legacy: None,
settings: PipSettings {
index_locations: IndexLocations {
indexes: [
Expand Down Expand Up @@ -651,7 +648,6 @@ fn resolve_pyproject_toml() -> anyhow::Result<()> {
},
),
),
python_legacy: None,
settings: PipSettings {
index_locations: IndexLocations {
indexes: [
Expand Down Expand Up @@ -825,7 +821,6 @@ fn resolve_pyproject_toml() -> anyhow::Result<()> {
},
),
),
python_legacy: None,
settings: PipSettings {
index_locations: IndexLocations {
indexes: [],
Expand Down Expand Up @@ -978,7 +973,6 @@ fn resolve_pyproject_toml() -> anyhow::Result<()> {
},
),
),
python_legacy: None,
settings: PipSettings {
index_locations: IndexLocations {
indexes: [
Expand Down Expand Up @@ -1175,7 +1169,6 @@ fn resolve_index_url() -> anyhow::Result<()> {
},
),
),
python_legacy: None,
settings: PipSettings {
index_locations: IndexLocations {
indexes: [
Expand Down Expand Up @@ -1378,7 +1371,6 @@ fn resolve_index_url() -> anyhow::Result<()> {
},
),
),
python_legacy: None,
settings: PipSettings {
index_locations: IndexLocations {
indexes: [
Expand Down Expand Up @@ -1635,7 +1627,6 @@ fn resolve_find_links() -> anyhow::Result<()> {
},
),
),
python_legacy: None,
settings: PipSettings {
index_locations: IndexLocations {
indexes: [],
Expand Down Expand Up @@ -1831,7 +1822,6 @@ fn resolve_top_level() -> anyhow::Result<()> {
},
),
),
python_legacy: None,
settings: PipSettings {
index_locations: IndexLocations {
indexes: [],
Expand Down Expand Up @@ -1990,7 +1980,6 @@ fn resolve_top_level() -> anyhow::Result<()> {
},
),
),
python_legacy: None,
settings: PipSettings {
index_locations: IndexLocations {
indexes: [
Expand Down Expand Up @@ -2191,7 +2180,6 @@ fn resolve_top_level() -> anyhow::Result<()> {
},
),
),
python_legacy: None,
settings: PipSettings {
index_locations: IndexLocations {
indexes: [
Expand Down Expand Up @@ -2416,7 +2404,6 @@ fn resolve_user_configuration() -> anyhow::Result<()> {
},
),
),
python_legacy: None,
settings: PipSettings {
index_locations: IndexLocations {
indexes: [],
Expand Down Expand Up @@ -2565,7 +2552,6 @@ fn resolve_user_configuration() -> anyhow::Result<()> {
},
),
),
python_legacy: None,
settings: PipSettings {
index_locations: IndexLocations {
indexes: [],
Expand Down Expand Up @@ -2714,7 +2700,6 @@ fn resolve_user_configuration() -> anyhow::Result<()> {
},
),
),
python_legacy: None,
settings: PipSettings {
index_locations: IndexLocations {
indexes: [],
Expand Down Expand Up @@ -2865,7 +2850,6 @@ fn resolve_user_configuration() -> anyhow::Result<()> {
},
),
),
python_legacy: None,
settings: PipSettings {
index_locations: IndexLocations {
indexes: [],
Expand Down Expand Up @@ -3194,7 +3178,6 @@ fn resolve_poetry_toml() -> anyhow::Result<()> {
},
),
),
python_legacy: None,
settings: PipSettings {
index_locations: IndexLocations {
indexes: [],
Expand Down Expand Up @@ -3371,7 +3354,6 @@ fn resolve_both() -> anyhow::Result<()> {
},
),
),
python_legacy: None,
settings: PipSettings {
index_locations: IndexLocations {
indexes: [
Expand Down Expand Up @@ -3666,7 +3648,6 @@ fn resolve_config_file() -> anyhow::Result<()> {
},
),
),
python_legacy: None,
settings: PipSettings {
index_locations: IndexLocations {
indexes: [
Expand Down Expand Up @@ -3939,7 +3920,6 @@ fn resolve_skip_empty() -> anyhow::Result<()> {
},
),
),
python_legacy: None,
settings: PipSettings {
index_locations: IndexLocations {
indexes: [],
Expand Down Expand Up @@ -4091,7 +4071,6 @@ fn resolve_skip_empty() -> anyhow::Result<()> {
},
),
),
python_legacy: None,
settings: PipSettings {
index_locations: IndexLocations {
indexes: [],
Expand Down Expand Up @@ -4262,7 +4241,6 @@ fn allow_insecure_host() -> anyhow::Result<()> {
},
),
),
python_legacy: None,
settings: PipSettings {
index_locations: IndexLocations {
indexes: [],
Expand Down Expand Up @@ -4425,7 +4403,6 @@ fn index_priority() -> anyhow::Result<()> {
},
),
),
python_legacy: None,
settings: PipSettings {
index_locations: IndexLocations {
indexes: [
Expand Down Expand Up @@ -4628,7 +4605,6 @@ fn index_priority() -> anyhow::Result<()> {
},
),
),
python_legacy: None,
settings: PipSettings {
index_locations: IndexLocations {
indexes: [
Expand Down Expand Up @@ -4837,7 +4813,6 @@ fn index_priority() -> anyhow::Result<()> {
},
),
),
python_legacy: None,
settings: PipSettings {
index_locations: IndexLocations {
indexes: [
Expand Down Expand Up @@ -5041,7 +5016,6 @@ fn index_priority() -> anyhow::Result<()> {
},
),
),
python_legacy: None,
settings: PipSettings {
index_locations: IndexLocations {
indexes: [
Expand Down Expand Up @@ -5252,7 +5226,6 @@ fn index_priority() -> anyhow::Result<()> {
},
),
),
python_legacy: None,
settings: PipSettings {
index_locations: IndexLocations {
indexes: [
Expand Down Expand Up @@ -5456,7 +5429,6 @@ fn index_priority() -> anyhow::Result<()> {
},
),
),
python_legacy: None,
settings: PipSettings {
index_locations: IndexLocations {
indexes: [
Expand Down

0 comments on commit f412685

Please sign in to comment.