Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions src/env/conda.rs
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,7 @@ impl CondaEnvironment {
"PIP_TRUSTED_HOST",
"pypi.org files.pythonhosted.org pypi.pythonhosted.org",
)
.add_plain_env("PIP_INDEX_URL", "http://pypi.org/simple");
.add_plain_env("PIP_INDEX_URL", "https://pypi.org/simple");
}
TlsCertificateValidation::EnabledWithCustomCert(cert_path) => {
build_command_spec
Expand Down Expand Up @@ -456,7 +456,7 @@ mod tests {
"PIP_TRUSTED_HOST".into(),
"pypi.org files.pythonhosted.org pypi.pythonhosted.org".into()
),
("PIP_INDEX_URL".into(), "http://pypi.org/simple".into()),
("PIP_INDEX_URL".into(), "https://pypi.org/simple".into()),
]
);
assert!(build_command_spec.envs_rendered_obfuscated.is_empty());
Expand Down