Accepting request 1158475 from devel:languages:python

- update to 24.1.0:
  * Removed the deprecated OpenSSL.crypto.PKCS12 and
    OpenSSL.crypto.NetscapeSPKI. OpenSSL.crypto.PKCS12 may be
    replaced by the PKCS#12 APIs in the cryptography package.

OBS-URL: https://build.opensuse.org/request/show/1158475
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pyOpenSSL?expand=0&rev=54
This commit is contained in:
Ana Guerrero 2024-03-18 15:44:24 +00:00 committed by Git OBS Bridge
commit c951fa72df
5 changed files with 24 additions and 16 deletions

BIN
pyOpenSSL-24.0.0.tar.gz (Stored with Git LFS)

Binary file not shown.

3
pyOpenSSL-24.1.0.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:cabed4bfaa5df9f1a16c0ef64a0cb65318b5cd077a7eda7d6970131ca2f41a6f
size 179671

View File

@ -1,3 +1,11 @@
-------------------------------------------------------------------
Sat Mar 16 13:04:43 UTC 2024 - Dirk Müller <dmueller@suse.com>
- update to 24.1.0:
* Removed the deprecated OpenSSL.crypto.PKCS12 and
OpenSSL.crypto.NetscapeSPKI. OpenSSL.crypto.PKCS12 may be
replaced by the PKCS#12 APIs in the cryptography package.
------------------------------------------------------------------- -------------------------------------------------------------------
Mon Jan 29 21:16:31 UTC 2024 - Dirk Müller <dmueller@suse.com> Mon Jan 29 21:16:31 UTC 2024 - Dirk Müller <dmueller@suse.com>

View File

@ -26,7 +26,7 @@
%endif %endif
%{?sle15_python_module_pythons} %{?sle15_python_module_pythons}
Name: python-pyOpenSSL%{psuffix} Name: python-pyOpenSSL%{psuffix}
Version: 24.0.0 Version: 24.1.0
Release: 0 Release: 0
Summary: Python wrapper module around the OpenSSL library Summary: Python wrapper module around the OpenSSL library
License: Apache-2.0 License: Apache-2.0
@ -45,10 +45,10 @@ Provides: pyOpenSSL = %{version}
BuildArch: noarch BuildArch: noarch
%if %{with test} %if %{with test}
BuildRequires: %{python_module cryptography >= 41.0.5 with %python-cryptography < 43} BuildRequires: %{python_module cryptography >= 41.0.5 with %python-cryptography < 43}
BuildRequires: %{python_module flaky}
BuildRequires: %{python_module pretend} BuildRequires: %{python_module pretend}
BuildRequires: %{python_module pyOpenSSL >= %version} BuildRequires: %{python_module pyOpenSSL >= %version}
BuildRequires: %{python_module pytest >= 3.0.1} BuildRequires: %{python_module pytest >= 3.0.1}
BuildRequires: %{python_module pytest-rerunfailures}
BuildRequires: ca-certificates-mozilla BuildRequires: ca-certificates-mozilla
BuildRequires: openssl BuildRequires: openssl
%endif %endif

View File

@ -1,8 +1,8 @@
Index: pyOpenSSL-24.0.0/tests/test_ssl.py Index: pyOpenSSL-24.1.0/tests/test_ssl.py
=================================================================== ===================================================================
--- pyOpenSSL-24.0.0.orig/tests/test_ssl.py --- pyOpenSSL-24.1.0.orig/tests/test_ssl.py
+++ pyOpenSSL-24.0.0/tests/test_ssl.py +++ pyOpenSSL-24.1.0/tests/test_ssl.py
@@ -1250,6 +1250,7 @@ class TestContext: @@ -1249,6 +1249,7 @@ class TestContext:
reason="set_default_verify_paths appears not to work on Windows. " reason="set_default_verify_paths appears not to work on Windows. "
"See LP#404343 and LP#404344.", "See LP#404343 and LP#404344.",
) )
@ -10,19 +10,19 @@ Index: pyOpenSSL-24.0.0/tests/test_ssl.py
def test_set_default_verify_paths(self): def test_set_default_verify_paths(self):
""" """
`Context.set_default_verify_paths` causes the platform-specific CA `Context.set_default_verify_paths` causes the platform-specific CA
Index: pyOpenSSL-24.0.0/setup.cfg Index: pyOpenSSL-24.1.0/setup.cfg
=================================================================== ===================================================================
--- pyOpenSSL-24.0.0.orig/setup.cfg --- pyOpenSSL-24.1.0.orig/setup.cfg
+++ pyOpenSSL-24.0.0/setup.cfg +++ pyOpenSSL-24.1.0/setup.cfg
@@ -11,4 +11,3 @@ doc_files = doc/_build/html @@ -11,4 +11,3 @@ doc_files = doc/_build/html
[egg_info] [egg_info]
tag_build = tag_build =
tag_date = 0 tag_date = 0
- -
Index: pyOpenSSL-24.0.0/pyproject.toml Index: pyOpenSSL-24.1.0/pyproject.toml
=================================================================== ===================================================================
--- pyOpenSSL-24.0.0.orig/pyproject.toml --- pyOpenSSL-24.1.0.orig/pyproject.toml
+++ pyOpenSSL-24.0.0/pyproject.toml +++ pyOpenSSL-24.1.0/pyproject.toml
@@ -42,6 +42,9 @@ ignore_missing_imports = true @@ -42,6 +42,9 @@ ignore_missing_imports = true
[tool.pytest.ini_options] [tool.pytest.ini_options]
addopts = "-r s --strict-markers" addopts = "-r s --strict-markers"
@ -32,4 +32,4 @@ Index: pyOpenSSL-24.0.0/pyproject.toml
+] +]
[tool.ruff] [tool.ruff]
select = ['E', 'F', 'I', 'W', 'UP', 'RUF'] lint.select = ['E', 'F', 'I', 'W', 'UP', 'RUF']