ansys / openapi-common

Common authentication components for OpenAPI client libraries
https://openapi.docs.pyansys.com/
MIT License
2 stars 0 forks source link

Recommend the use of `pip-system-certs` #649

Open Andy-Grigg opened 1 month ago

Andy-Grigg commented 1 month ago

As a result of the issue seen in #637, we are settling on the idea to use pip-system-certs to address this issue, since it essentially does what we would do manually (i.e. look in system pre-defined paths for private CA certificates) but does it automatically by leveraging the system-wide OpenSSL configuration via the python ssl module.

We should decide how we want to do this:

The reason for not just including as a dependency in all situations is that it is very side-effect-y, in that it patches all instances of pip and requests at runtime. If a user isn't expecting this then it could be confusing.

Maybe we add it as an additional extra?

@ansys/matbu-project-maintainers Comments welcome on which way to go with this.