forked from pool/python-josepy
Accepting request 1243289 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1243289 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-josepy?expand=0&rev=16
This commit is contained in:
@@ -1,29 +0,0 @@
|
||||
From 350410fc1d38c4ac8422816b6865ac8cd9c60fc7 Mon Sep 17 00:00:00 2001
|
||||
From: Alex Gaynor <alex.gaynor@gmail.com>
|
||||
Date: Thu, 5 Sep 2024 16:24:32 -0400
|
||||
Subject: [PATCH] Ignore warning that CSRs are deprecated in pyOpenSSL (#185)
|
||||
|
||||
Without this, pyca/cryptography's downstream tests currently fail.
|
||||
|
||||
The actual warning is being addressed in #182
|
||||
---
|
||||
pyproject.toml | 6 +++++-
|
||||
1 file changed, 5 insertions(+), 1 deletion(-)
|
||||
|
||||
diff --git a/pyproject.toml b/pyproject.toml
|
||||
index 4e2009fb..2af02b11 100644
|
||||
--- a/pyproject.toml
|
||||
+++ b/pyproject.toml
|
||||
@@ -96,7 +96,11 @@ disallow_untyped_defs = true
|
||||
|
||||
[tool.pytest.ini_options]
|
||||
# We also ignore our own deprecation warning about dropping Python 3.7 support.
|
||||
-filterwarnings = ["error", "ignore:Python 3.7 support will be dropped:DeprecationWarning"]
|
||||
+filterwarnings = [
|
||||
+ "error",
|
||||
+ "ignore:Python 3.7 support will be dropped:DeprecationWarning",
|
||||
+ "ignore:CSR support in pyOpenSSL is deprecated:DeprecationWarning",
|
||||
+]
|
||||
norecursedirs = "*.egg .eggs dist build docs .tox"
|
||||
|
||||
# Isort tooling configuration
|
||||
@@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:308b3bf9ce825ad4d4bba76372cf19b5dc1c2ce96a9d298f9642975e64bd13dd
|
||||
size 58794
|
||||
3
josepy-1.15.0.tar.gz
Normal file
3
josepy-1.15.0.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:46c9b13d1a5104ffbfa5853e555805c915dcde71c2cd91ce5386e84211281223
|
||||
size 59310
|
||||
@@ -1,3 +1,20 @@
|
||||
-------------------------------------------------------------------
|
||||
Wed Feb 5 08:59:30 UTC 2025 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>
|
||||
|
||||
- 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
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Oct 28 22:01:54 UTC 2024 - Dirk Müller <dmueller@suse.com>
|
||||
|
||||
|
||||
@@ -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}
|
||||
|
||||
Reference in New Issue
Block a user