From 86093b44a30960eb9fd30a43156133a13fb42c1791d63c266bda2495427d11ff Mon Sep 17 00:00:00 2001 From: Daniel Garcia Date: Mon, 6 Feb 2023 08:52:23 +0000 Subject: [PATCH] - Update patch fix-scheme-message.patch with upstream change gh#OpenIDC/pyoidc@6fa769a59b8b - Update to 1.5.0: * Try to fix the generic response parsing and handling by @schlenk in #817 * Remove travis config by @schlenk in #819 * Remove Client.grant_from_state() by @schlenk in #820 * move beaker to an optional/extras requirement under 'examples' by @biyeun in #823 * Added support for python 3.11 by @tpazderka in #828 * Fixed RP-Initiated Logout To Accept id_token_hint by @infohash in #829 * fix for some provider return birthdate:null in userInfo by @pkking in #831 * Fix mypy errors with no_implicit_optional=True by @schlenk in #832 * Schedule daily CI run by @tpazderka in #833 * Simplified Http Request by @infohash in #836 * Fix tox config for v4 by @tpazderka in #837 - Update to 1.4.0: * Toolfix by @schlenk in #802 * docs: Fix a few typos by @timgates42 in #794 * Drop python 3.6 by @tpazderka in #810 * Moved from pyldap to python-ldap by @infohash in #814 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-oic?expand=0&rev=14 --- fix-scheme-message.patch | 16 ++++++++-------- oic-1.3.0.tar.gz | 3 --- oic-1.5.0.tar.gz | 3 +++ python-oic.changes | 23 +++++++++++++++++++++++ python-oic.spec | 9 +++++---- 5 files changed, 39 insertions(+), 15 deletions(-) delete mode 100644 oic-1.3.0.tar.gz create mode 100644 oic-1.5.0.tar.gz diff --git a/fix-scheme-message.patch b/fix-scheme-message.patch index 9b6fb8d..0910359 100644 --- a/fix-scheme-message.patch +++ b/fix-scheme-message.patch @@ -1,13 +1,13 @@ -Index: pyoidc-1.3.0/tests/test_oic_provider.py +Index: pyoidc-1.5.0/tests/test_oic_provider.py =================================================================== ---- pyoidc-1.3.0.orig/tests/test_oic_provider.py -+++ pyoidc-1.3.0/tests/test_oic_provider.py -@@ -1351,7 +1351,7 @@ class TestProvider(object): - # First log record is from server... +--- 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 schema supplied. Perhaps you meant " -+ "Invalid URL 'example.com': No scheme supplied. Perhaps you meant " - "http://example.com?" + "Invalid URL 'example.com': No scheme supplied. Perhaps you meant " +- "http://example.com?" ++ "https://example.com?" ) assert str(logcap.records[1].msg) == error + diff --git a/oic-1.3.0.tar.gz b/oic-1.3.0.tar.gz deleted file mode 100644 index 67ec5f1..0000000 --- a/oic-1.3.0.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:c8a6eb995408a17b13ad042f5346d4060a1fb94d3847f3ba260a461d63546d81 -size 1368369 diff --git a/oic-1.5.0.tar.gz b/oic-1.5.0.tar.gz new file mode 100644 index 0000000..9a6226c --- /dev/null +++ b/oic-1.5.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:5ed0524cdaab20811203522d8f4eb6079d6f2a4854958705e41f158099ee13da +size 1372055 diff --git a/python-oic.changes b/python-oic.changes index d46caab..9543808 100644 --- a/python-oic.changes +++ b/python-oic.changes @@ -1,3 +1,26 @@ +------------------------------------------------------------------- +Mon Feb 6 08:42:48 UTC 2023 - Daniel Garcia + +- Update patch fix-scheme-message.patch with upstream change + gh#OpenIDC/pyoidc@6fa769a59b8b +- Update to 1.5.0: + * Try to fix the generic response parsing and handling by @schlenk in #817 + * Remove travis config by @schlenk in #819 + * Remove Client.grant_from_state() by @schlenk in #820 + * move beaker to an optional/extras requirement under 'examples' by @biyeun in #823 + * Added support for python 3.11 by @tpazderka in #828 + * Fixed RP-Initiated Logout To Accept id_token_hint by @infohash in #829 + * fix for some provider return birthdate:null in userInfo by @pkking in #831 + * Fix mypy errors with no_implicit_optional=True by @schlenk in #832 + * Schedule daily CI run by @tpazderka in #833 + * Simplified Http Request by @infohash in #836 + * Fix tox config for v4 by @tpazderka in #837 +- Update to 1.4.0: + * Toolfix by @schlenk in #802 + * docs: Fix a few typos by @timgates42 in #794 + * Drop python 3.6 by @tpazderka in #810 + * Moved from pyldap to python-ldap by @infohash in #814 + ------------------------------------------------------------------- Wed Feb 23 05:49:15 UTC 2022 - Steve Kowalik diff --git a/python-oic.spec b/python-oic.spec index 97ba37e..eb10da6 100644 --- a/python-oic.spec +++ b/python-oic.spec @@ -1,7 +1,7 @@ # # spec file for package python-oic # -# Copyright (c) 2022 SUSE LLC +# Copyright (c) 2023 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -17,15 +17,15 @@ %define skip_python2 1 -%{?!python_module:%define python_module() python-%{**} python3-%{**}} %global modname oic Name: python-oic -Version: 1.3.0 +Version: 1.5.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} @@ -90,7 +90,8 @@ export PYTHONPATH=src %files %{python_files} %doc README.rst %license LICENSE.txt -%{python_sitelib}/* +%{python_sitelib}/oic +%{python_sitelib}/oic-%{version}*-info %python_alternative %{_bindir}/oic-client-management %changelog