Accepting request 1098106 from home:ojkastl_buildservice:Branch_devel_languages_python
- remove patch remove_python_3_6_deprecation_warning.patch as the warning was already removed upstream OBS-URL: https://build.opensuse.org/request/show/1098106 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-cryptography?expand=0&rev=189
This commit is contained in:
parent
9a5eb8ae60
commit
af1b2b2d21
@ -1,3 +1,9 @@
|
||||
-------------------------------------------------------------------
|
||||
Tue Jul 11 11:44:23 UTC 2023 - Johannes Kastl <kastl@b1-systems.de>
|
||||
|
||||
- remove patch remove_python_3_6_deprecation_warning.patch as the
|
||||
warning was already removed upstream
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Jul 10 22:52:18 UTC 2023 - Matej Cepl <mcepl@suse.com>
|
||||
|
||||
|
@ -59,9 +59,6 @@ BuildRequires: pkgconfig(libffi)
|
||||
# python-base is not enough, we need the _ssl module
|
||||
Requires: python
|
||||
%requires_eq python-cffi
|
||||
%if 0%{?sle_version} && 0%{?sle_version} <= 150400
|
||||
Patch3: remove_python_3_6_deprecation_warning.patch
|
||||
%endif
|
||||
%if %{with test}
|
||||
BuildRequires: %{python_module cryptography >= %{version}}
|
||||
BuildRequires: %{python_module cryptography-vectors = %{version}}
|
||||
|
@ -1,30 +0,0 @@
|
||||
From 0848826019cdcf3cf783095cb26b3fb394ae6d92 Mon Sep 17 00:00:00 2001
|
||||
From: Johannes Kastl <kastl@b1-systems.de>
|
||||
Date: Thu, 12 Jan 2023 11:12:53 +0100
|
||||
Subject: [PATCH] remove python3.6 deprecation warning
|
||||
|
||||
Signed-off-by: Johannes Kastl <kastl@b1-systems.de>
|
||||
---
|
||||
src/cryptography/__init__.py | 9 ---------
|
||||
1 file changed, 9 deletions(-)
|
||||
|
||||
diff --git a/src/cryptography/__init__.py b/src/cryptography/__init__.py
|
||||
index 7f8a25c6e..91b624bf0 100644
|
||||
--- a/src/cryptography/__init__.py
|
||||
+++ b/src/cryptography/__init__.py
|
||||
@@ -13,12 +13,3 @@ __all__ = [
|
||||
"__author__",
|
||||
"__copyright__",
|
||||
]
|
||||
-
|
||||
-if sys.version_info[:2] == (3, 6):
|
||||
- warnings.warn(
|
||||
- "Python 3.6 is no longer supported by the Python core team. "
|
||||
- "Therefore, support for it is deprecated in cryptography. The next "
|
||||
- "release of cryptography will remove support for Python 3.6.",
|
||||
- CryptographyDeprecationWarning,
|
||||
- stacklevel=2,
|
||||
- )
|
||||
--
|
||||
2.40.0
|
||||
|
Loading…
Reference in New Issue
Block a user