Skip to content

Conversation

taki-d
Copy link
Contributor

@taki-d taki-d commented Jul 9, 2024

https://github.com/astral-sh/rye/blob/main/docs/guide/sources.md?plain=1#L131

The documentation refers to verify-ssl to avoid ssl verification, but during parsing, it refers to verify_ssl. This PR will allow the installation of packages from non-SSL PyPI repositories.
If the documentation needs to be corrected instead of the source code, please let me know, and I will commit the changes.

@@ -159,7 +159,7 @@ impl SourceRef {
.map(|x| x.to_string())
.ok_or_else(|| anyhow!("expected source.url"))?;
let verify_ssl = source
.get("verify_ssl")
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should we read both verify_ssl and verify-ssl for backward compatibility?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for pointing that out. I have fixed it.

@taki-d taki-d requested a review from j178 July 11, 2024 15:08
@charliermarsh charliermarsh merged commit a57dd4b into astral-sh:main Jul 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants