14
0

Accepting request 1275023 from home:yeey:branches:devel:languages:python

- Update to 3.4.0
  * Remove support for Python 3.6 and 3.7
  * Added support for Python 3.10 and 3.11
  * Updating CryptographyAESKey::encrypt to generate 96 bit IVs for
    GCM block cipher mode
  * Fix for PEM key comparisons caused by line lengths and new lines
  * Fix for CVE-2024-33664 - JWE limited to 250KiB
  * Fix for CVE-2024-33663 - signing JWT with public key is now forbidden
  * Replace usage of deprecated datetime.utcnow() with datetime.now(UTC)
- Removed patches CVE-2024-33663.patch,  CVE-2024-33664.patch,
  fix-tests-ecdsa-019.patch, and unpin-deps.patch as they have been
  incorporated into release 3.4.0

OBS-URL: https://build.opensuse.org/request/show/1275023
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-python-jose?expand=0&rev=19
This commit is contained in:
2025-05-07 08:13:41 +00:00
committed by Git OBS Bridge
parent 60ce9b52e2
commit aee0a0194a
8 changed files with 21 additions and 838 deletions

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-python-jose
#
# 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
@@ -38,19 +38,12 @@
%{?sle15_python_module_pythons}
Name: python-python-jose%{psuffix}
Version: 3.3.0
Version: 3.4.0
Release: 0
Summary: JOSE implementation in Python
License: MIT
URL: https://github.com/mpdavis/python-jose
Source: https://files.pythonhosted.org/packages/source/p/python-jose/python-jose-%{version}.tar.gz
Patch0: unpin-deps.patch
# PATCH-FIX-UPSTREAM CVE-2024-33664.patch gh#mpdavis/python-jose#352
Patch1: CVE-2024-33664.patch
# PATCH-FIX-UPSTREAM CVE-2024-33663.patch gh#mpdavis/python-jose#349
Patch2: CVE-2024-33663.patch
# PATCH-FIX-UPSTREAM fix-tests-ecdsa-019.patch gh#mpdavis/python-jose#350
Patch3: fix-tests-ecdsa-019.patch
BuildRequires: %{python_module setuptools >= 39.2.0}
BuildRequires: fdupes
BuildRequires: python-rpm-macros