Skip to content

Commit

Permalink
fix: Update minimum required version of cryptography in pyopenssl ext…
Browse files Browse the repository at this point in the history
…ra (#1176)

* fix: Update minimum required version of cryptography in pyopenssl extra

* update rst

* update rst

* update rt
  • Loading branch information
sai-sunder-s committed Nov 7, 2022
1 parent ce97e6b commit e9e76d1
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 1 deletion.
11 changes: 11 additions & 0 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,17 @@ For more information on setting up your Python development environment, please r

.. _`Python Development Environment Setup Guide`: https://cloud.google.com/python/setup

Extras
------

google-auth has few extras that you can install. For example::

$ pip install google-auth[pyopenssl]

Note that the extras pyopenssl and enterprise_cert should not be used together because they use conflicting versions of `cryptography`_.

.. _`cryptography`: https://cryptography.io/en/latest/

Supported Python Versions
^^^^^^^^^^^^^^^^^^^^^^^^^
Python >= 3.6
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
"aiohttp >= 3.6.2, < 4.0.0dev; python_version>='3.6'",
"requests >= 2.20.0, < 3.0.0dev",
],
"pyopenssl": "pyopenssl>=20.0.0",
"pyopenssl": ["pyopenssl>=20.0.0", "cryptography>=38.0.3"],
"reauth": "pyu2f>=0.1.5",
# Enterprise cert only works for OpenSSL 1.1.1. Newer versions of these
# dependencies are built with OpenSSL 3.0 so we need to fix the version.
Expand Down
Binary file modified system_tests/secrets.tar.enc
Binary file not shown.

0 comments on commit e9e76d1

Please sign in to comment.