Skip to content

Conversation

@GenericJam
Copy link

Added support and a bit of validation and tests.

Let me know if you want something different.

Comment on lines +116 to +123
- `["--native-tls"]` - use the system's native TLS implementation instead
of vendored rustls. This is useful in corporate environments where the
system certificate store must be used.
- `["--no-cache"]` - disable the cache, forcing a fresh download of all
packages.
- `["--reinstall"]` - force reinstallation of all packages, even if they
are already present.
- `["--quiet"]` - suppress output from the uv command.
Copy link
Member

Choose a reason for hiding this comment

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

I would prefer to just have an Elixir option :native_tls. This way we have more control over where how and where we pass specific CLI options. Also, we already have :force, so no need to use --no-cache or --reinstall. @josevalim wdyt?

Copy link
Contributor

Choose a reason for hiding this comment

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

I think I agree, as we cannot guarantee all of the options will work with Pythonx...

Copy link
Author

Choose a reason for hiding this comment

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

Are there other options you would want as part of this PR or just limit it to :native_tls?

Copy link
Member

Choose a reason for hiding this comment

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

Let's do native tls for now. We can add more options if someone has a need for it :)

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