14
0
forked from pool/python-oic

Accepting request 1235884 from devel:languages:python

OBS-URL: https://build.opensuse.org/request/show/1235884
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-oic?expand=0&rev=9
This commit is contained in:
2025-01-09 14:09:34 +00:00
committed by Git OBS Bridge
5 changed files with 29 additions and 20 deletions

View File

@@ -1,13 +0,0 @@
Index: pyoidc-1.5.0/tests/test_oic_provider.py
===================================================================
--- pyoidc-1.5.0.orig/tests/test_oic_provider.py
+++ pyoidc-1.5.0/tests/test_oic_provider.py
@@ -1352,7 +1352,7 @@ class TestProvider(object):
assert isinstance(logcap.records[1].msg, MissingSchema)
error = (
"Invalid URL 'example.com': No scheme supplied. Perhaps you meant "
- "http://example.com?"
+ "https://example.com?"
)
assert str(logcap.records[1].msg) == error

View File

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

3
oic-1.7.0.tar.gz Normal file
View File

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

View File

@@ -1,3 +1,25 @@
-------------------------------------------------------------------
Tue May 14 07:17:29 UTC 2024 - Markéta Machová <mmachova@suse.com>
- Update to 1.7.0
* Fix test for new requests version by @tpazderka in #841
* Fix typing for Cryptodomex by @tpazderka in #843
* Don't throw exception for token error response. by @zamzterz in #844
* Fix links after repo move by @tpazderka in #846
* Pass timeout to all requests by @tpazderka in #848
* Improve settings by using pydantic by @tpazderka in #847
* Correct OpenID Connect Core specification URL in doc by @hlin in #850
* Add authn_method to Consumer.complete() by @stinovlas in #852
* Use session_state to backup consumer state if available by @gbip in #854
* Repair some oauth_examples and get rid of the outdated jquery file by @schlenk in #857
* Pin autodoc_pydantic to >=2.0.0 by @schlenk in #863
* Remove Python 3.7 by @schlenk in #870
* Fix logging without format string by @schlenk in #871
* Bump jinja2 from 2.11.3 to 3.1.3 in /oidc_example/simple_op by @dependabot in #865
* OSSF Scorecard & Badge by @schlenk in #874
* Update scorecard.yml by @schlenk in #875
- Drop fix-scheme-message.patch
-------------------------------------------------------------------
Mon Feb 6 08:42:48 UTC 2023 - Daniel Garcia <daniel.garcia@suse.com>

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-oic
#
# Copyright (c) 2023 SUSE LLC
# Copyright (c) 2024 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,12 @@
%define skip_python2 1
%global modname oic
Name: python-oic
Version: 1.5.0
Version: 1.7.0
Release: 0
Summary: A complete OpenID Connect implementation in Python
License: Apache-2.0
URL: https://github.com/OpenIDC/pyoidc
Source: https://github.com/OpenIDC/pyoidc/archive/%{version}.tar.gz#/%{modname}-%{version}.tar.gz
# PATCH-FIX-UPSTREAM fix-scheme-message.patch gh#OpenIDC/pyoidc@6fa769a59b8b
Patch0: fix-scheme-message.patch
BuildRequires: %{python_module Beaker}
BuildRequires: %{python_module Mako}
BuildRequires: %{python_module cryptography}
@@ -35,6 +33,7 @@ BuildRequires: %{python_module defusedxml}
BuildRequires: %{python_module freezegun}
BuildRequires: %{python_module ldap}
BuildRequires: %{python_module pycryptodomex}
BuildRequires: %{python_module pydantic-settings}
BuildRequires: %{python_module pyjwkest >= 1.3.6}
BuildRequires: %{python_module pytest}
BuildRequires: %{python_module requests}
@@ -51,6 +50,7 @@ Requires: python-cryptography
Requires: python-dbm
Requires: python-defusedxml
Requires: python-pycryptodomex
Requires: python-pydantic-settings
Requires: python-pyjwkest >= 1.3.6
Requires: python-requests
Requires: python-typing