Accepting request 1074567 from home:ojkastl_buildservice:Branch_devel_languages_python

rebase patch remove_python_3_6_deprecation_warning.patch

OBS-URL: https://build.opensuse.org/request/show/1074567
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-cryptography?expand=0&rev=177
This commit is contained in:
Dirk Mueller 2023-03-27 07:21:36 +00:00 committed by Git OBS Bridge
parent d31ee80686
commit 54a0f9a21e
2 changed files with 12 additions and 8 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Mon Mar 27 06:38:01 UTC 2023 - Johannes Kastl <kastl@b1-systems.de>
- rebase patch remove_python_3_6_deprecation_warning.patch
------------------------------------------------------------------- -------------------------------------------------------------------
Sun Mar 26 19:56:32 UTC 2023 - Dirk Müller <dmueller@suse.com> Sun Mar 26 19:56:32 UTC 2023 - Dirk Müller <dmueller@suse.com>

View File

@ -1,18 +1,18 @@
From 172adcb524950666fa223ed325d87bf355bca50d Mon Sep 17 00:00:00 2001 From 0848826019cdcf3cf783095cb26b3fb394ae6d92 Mon Sep 17 00:00:00 2001
From: Johannes Kastl <kastl@b1-systems.de> From: Johannes Kastl <kastl@b1-systems.de>
Date: Thu, 12 Jan 2023 11:12:53 +0100 Date: Thu, 12 Jan 2023 11:12:53 +0100
Subject: [PATCH] remove python3.6 deprecation warning Subject: [PATCH] remove python3.6 deprecation warning
Signed-off-by: Johannes Kastl <kastl@b1-systems.de> Signed-off-by: Johannes Kastl <kastl@b1-systems.de>
--- ---
src/cryptography/__init__.py | 10 ---------- src/cryptography/__init__.py | 9 ---------
1 file changed, 10 deletions(-) 1 file changed, 9 deletions(-)
diff --git a/src/cryptography/__init__.py b/src/cryptography/__init__.py diff --git a/src/cryptography/__init__.py b/src/cryptography/__init__.py
index 07c894ea3..91b624bf0 100644 index 7f8a25c6e..91b624bf0 100644
--- a/src/cryptography/__init__.py --- a/src/cryptography/__init__.py
+++ b/src/cryptography/__init__.py +++ b/src/cryptography/__init__.py
@@ -13,13 +13,3 @@ __all__ = [ @@ -13,12 +13,3 @@ __all__ = [
"__author__", "__author__",
"__copyright__", "__copyright__",
] ]
@ -21,11 +21,10 @@ index 07c894ea3..91b624bf0 100644
- warnings.warn( - warnings.warn(
- "Python 3.6 is no longer supported by the Python core team. " - "Python 3.6 is no longer supported by the Python core team. "
- "Therefore, support for it is deprecated in cryptography. The next " - "Therefore, support for it is deprecated in cryptography. The next "
- "release of cryptography (40.0) will be the last to support Python " - "release of cryptography will remove support for Python 3.6.",
- "3.6.",
- CryptographyDeprecationWarning, - CryptographyDeprecationWarning,
- stacklevel=2, - stacklevel=2,
- ) - )
-- --
2.39.0 2.40.0