Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package python-cryptography for
openSUSE:Factory checked in at 2022-06-17 21:20:15
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-cryptography (Old)
and /work/SRC/openSUSE:Factory/.python-cryptography.new.1548 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-cryptography"
Fri Jun 17 21:20:15 2022 rev:65 rq:982349 version:37.0.2
Changes:
--------
--- /work/SRC/openSUSE:Factory/python-cryptography/python-cryptography.changes
2022-05-25 20:33:56.212175283 +0200
+++
/work/SRC/openSUSE:Factory/.python-cryptography.new.1548/python-cryptography.changes
2022-06-17 21:22:37.526777033 +0200
@@ -1,0 +2,6 @@
+Thu Jun 9 16:08:17 UTC 2022 - Andreas Schneider <[email protected]>
+
+- Remove Python 3.6 deprecation warning on openSUSE Leap.
+ * Added remove_python_3_6_deprecation_warning.patch
+
+-------------------------------------------------------------------
New:
----
remove_python_3_6_deprecation_warning.patch
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-cryptography.spec ++++++
--- /var/tmp/diff_new_pack.hYt5bf/_old 2022-06-17 21:22:38.050777318 +0200
+++ /var/tmp/diff_new_pack.hYt5bf/_new 2022-06-17 21:22:38.054777320 +0200
@@ -42,6 +42,9 @@
Source3: cargo_config
Source4: python-cryptography.keyring
Patch2: skip_openssl_memleak_test.patch
+%if 0%{?sle_version} && 0%{?sle_version} <= 150400
+Patch3: remove_python_3_6_deprecation_warning.patch
+%endif
BuildRequires: %{python_module cffi >= 1.12}
BuildRequires: %{python_module devel}
BuildRequires: %{python_module setuptools-rust}
++++++ remove_python_3_6_deprecation_warning.patch ++++++
Index: cryptography-37.0.2/src/cryptography/__init__.py
===================================================================
--- cryptography-37.0.2.orig/src/cryptography/__init__.py 2022-06-09
18:07:46.169719315 +0200
+++ cryptography-37.0.2/src/cryptography/__init__.py 2022-06-09
18:07:53.853613006 +0200
@@ -18,12 +18,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 and will be"
- " removed in a future release.",
- CryptographyDeprecationWarning,
- stacklevel=2,
- )