15
0
forked from pool/python-josepy

Accepting request 1243288 from home:glaubitz:branches:devel:languages:python

- Update to 1.15.0
  * Added a deprecation warning about future backwards incompatible changes. The
    text of that warning is "The next major version of josepy will remove
    josepy.util.ComparableX509 and all uses of it as part of removing our
    dependency on PyOpenSSL. This includes modifying any functions with
    ComparableX509 parameters or return values. This will be a breaking change.
    To avoid breakage, we recommend pinning josepy < 2.0.0 until josepy 2.0.0 is
    out and you've had time to update your code."
  * Added support for Python 3.13.
  * Dropped support for Python 3.7.
  * Support for Python 3.8 has been deprecated and will be removed in the next
    scheduled release.
- Drop ignore-pyopenssl-warnings.patch, merged upstream

OBS-URL: https://build.opensuse.org/request/show/1243288
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-josepy?expand=0&rev=33
This commit is contained in:
2025-02-05 09:03:29 +00:00
committed by Git OBS Bridge
parent bc0d83c9e9
commit 0519b6179e
5 changed files with 22 additions and 35 deletions

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-josepy
#
# Copyright (c) 2024 SUSE LLC
# Copyright (c) 2025 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -19,14 +19,13 @@
%define libname josepy
%{?sle15_python_module_pythons}
Name: python-%{libname}
Version: 1.14.0
Version: 1.15.0
Release: 0
Summary: JOSE protocol implementation in Python
License: Apache-2.0
URL: https://github.com/certbot/josepy
Source0: https://files.pythonhosted.org/packages/source/j/%{libname}/%{libname}-%{version}.tar.gz
Source2: %{name}.keyring
Patch1: https://github.com/certbot/josepy/commit/350410fc1d38c4ac8422816b6865ac8cd9c60fc7.patch#/ignore-pyopenssl-warnings.patch
BuildRequires: %{python_module base >= 3.7}
BuildRequires: %{python_module coverage >= 4.0}
BuildRequires: %{python_module cryptography >= 1.5}