Merge staging-next into staging

This commit is contained in:
github-actions[bot]
2022-11-27 06:01:56 +00:00
committed by GitHub
25 changed files with 275 additions and 229 deletions
@@ -1,14 +0,0 @@
Delete the warning that breaks tests of dependent projects.
--- a/src/cryptography/__init__.py
+++ b/src/cryptography/__init__.py
@@ -33,9 +32,0 @@ __all__ = [
-
-if sys.version_info[0] == 2:
- warnings.warn(
- "Python 2 is no longer supported by the Python core team. Support for "
- "it is now deprecated in cryptography, and will be removed in the "
- "next release.",
- CryptographyDeprecationWarning,
- stacklevel=2,
- )