Accepting request 1189358 from devel:languages:python

OBS-URL: https://build.opensuse.org/request/show/1189358
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pyOpenSSL?expand=0&rev=55
This commit is contained in:
Dominique Leuenberger 2024-07-26 14:15:12 +00:00 committed by Git OBS Bridge
commit a46c73f42a
4 changed files with 23 additions and 8 deletions

View File

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

BIN
pyopenssl-24.2.1.tar.gz (Stored with Git LFS) Normal file

Binary file not shown.

View File

@ -1,3 +1,17 @@
-------------------------------------------------------------------
Tue Jul 23 11:39:23 UTC 2024 - Adrian Schröter <adrian@suse.de>
- 24.2.1:
* Deprecated OpenSSL.crypto.X509Req,
OpenSSL.crypto.load_certificate_request,
OpenSSL.crypto.dump_certificate_request.
Instead, cryptography.x509.CertificateSigningRequest,s
cryptography.x509.CertificateSigningRequestBuilder,s
cryptography.x509.load_der_x509_csr,s
or cryptography.x509.load_pem_x509_csr should be used.
* Added type hints for the SSL module. #1308.
* Changed OpenSSL.crypto.PKey.from_cryptography_key to accept public and private EC, ED25519, ED448 keys
-------------------------------------------------------------------
Sat Mar 16 13:04:43 UTC 2024 - Dirk Müller <dmueller@suse.com>

View File

@ -26,12 +26,12 @@
%endif
%{?sle15_python_module_pythons}
Name: python-pyOpenSSL%{psuffix}
Version: 24.1.0
Version: 24.2.1
Release: 0
Summary: Python wrapper module around the OpenSSL library
License: Apache-2.0
URL: https://github.com/pyca/pyopenssl
Source: https://files.pythonhosted.org/packages/source/p/pyOpenSSL/pyOpenSSL-%{version}.tar.gz
Source: https://files.pythonhosted.org/packages/source/p/pyopenssl/pyopenssl-%{version}.tar.gz
# PATCH-FIX-UPSTREAM skip-networked-test.patch gh#pyca/pyopenssl#68 mcepl@suse.com
# Mark tests requiring network access
Patch0: skip-networked-test.patch
@ -40,11 +40,12 @@ BuildRequires: %{python_module setuptools}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
Requires: python-cffi
Requires: (python-cryptography >= 41.0.5 with python-cryptography < 43)
Requires: (python-cryptography >= 41.0.5 with python-cryptography < 44)
Provides: pyOpenSSL = %{version}
Provides: pyopenssl = %{version}-%release
BuildArch: noarch
%if %{with test}
BuildRequires: %{python_module cryptography >= 41.0.5 with %python-cryptography < 43}
BuildRequires: %{python_module cryptography >= 41.0.5 with %python-cryptography < 44}
BuildRequires: %{python_module pretend}
BuildRequires: %{python_module pyOpenSSL >= %version}
BuildRequires: %{python_module pytest >= 3.0.1}
@ -64,7 +65,7 @@ cryptography (<https://github.com/pyca/cryptography>), which provides (among
other things) a cffi-based interface to OpenSSL.
%prep
%autosetup -p1 -n pyOpenSSL-%{version}
%autosetup -p1 -n pyopenssl-%{version}
%build
%python_build