From ba455c793bc20fb03858a897907066dd0d3b9ed15b1a90f2b7971dfa48034bf7 Mon Sep 17 00:00:00 2001 From: Matej Cepl Date: Sat, 22 Mar 2025 17:45:44 +0000 Subject: [PATCH] Accepting request 1254163 from home:glaubitz:branches:devel:languages:python - Update to 1.16.0 * #364 Improve get_metadata method from Parser, allowing to set headers * Fix WantAuthnRequestsSigned parser * Fix expired payloads used on tests * Updated content from docs folder - Drop fix-payloads-tests-dates.patch, merged upstream OBS-URL: https://build.opensuse.org/request/show/1254163 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-python3-saml?expand=0&rev=22 --- fix-payloads-tests-dates.patch | 39 ---------------------------------- python-python3-saml.changes | 10 +++++++++ python-python3-saml.spec | 7 ++---- python3-saml-1.15.0.tar.gz | 3 --- python3-saml-1.16.0.tar.gz | 3 +++ 5 files changed, 15 insertions(+), 47 deletions(-) delete mode 100644 fix-payloads-tests-dates.patch delete mode 100644 python3-saml-1.15.0.tar.gz create mode 100644 python3-saml-1.16.0.tar.gz diff --git a/fix-payloads-tests-dates.patch b/fix-payloads-tests-dates.patch deleted file mode 100644 index cc7bf6c..0000000 --- a/fix-payloads-tests-dates.patch +++ /dev/null @@ -1,39 +0,0 @@ -From bd65578e5a21494c89320094c61c1c77250bea33 Mon Sep 17 00:00:00 2001 -From: Sixto Martin -Date: Sat, 13 May 2023 09:51:33 +0200 -Subject: [PATCH] Fix payloads of tests that had expiration dates on May 2023 - ---- - tests/data/logout_requests/invalids/invalid_issuer.xml | 2 +- - tests/data/logout_requests/invalids/invalid_issuer.xml.base64 | 2 +- - tests/data/logout_requests/invalids/no_nameId.xml | 2 +- - 3 files changed, 3 insertions(+), 3 deletions(-) - ---- a/tests/data/logout_requests/invalids/invalid_issuer.xml -+++ b/tests/data/logout_requests/invalids/invalid_issuer.xml -@@ -5,7 +5,7 @@ - Version="2.0" - IssueInstant="2013-12-10T04:39:31Z" - Destination="http://stuff.com/endpoints/endpoints/sls.php" -- NotOnOrAfter="2023-05-10T04:39:31Z" -+ NotOnOrAfter="2053-05-10T04:39:31Z" - > - https://example.hello.com/access/saml - - https://example.hello.com/access/saml - diff --git a/python-python3-saml.changes b/python-python3-saml.changes index 0cf9fe8..6f24975 100644 --- a/python-python3-saml.changes +++ b/python-python3-saml.changes @@ -1,3 +1,13 @@ +------------------------------------------------------------------- +Tue Mar 18 14:11:13 UTC 2025 - John Paul Adrian Glaubitz + +- Update to 1.16.0 + * #364 Improve get_metadata method from Parser, allowing to set headers + * Fix WantAuthnRequestsSigned parser + * Fix expired payloads used on tests + * Updated content from docs folder +- Drop fix-payloads-tests-dates.patch, merged upstream + ------------------------------------------------------------------- Thu Nov 2 08:34:04 UTC 2023 - Andreas Schneider diff --git a/python-python3-saml.spec b/python-python3-saml.spec index 2412bc6..fafceeb 100644 --- a/python-python3-saml.spec +++ b/python-python3-saml.spec @@ -1,7 +1,7 @@ # # spec file for package python-python3-saml # -# Copyright (c) 2023 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 @@ -18,16 +18,13 @@ %{?sle15_python_module_pythons} Name: python-python3-saml -Version: 1.15.0 +Version: 1.16.0 Release: 0 Summary: Python SAML support License: MIT Group: Development/Languages/Python URL: https://github.com/onelogin/python3-saml Source: https://github.com/onelogin/python3-saml/archive/v%{version}.tar.gz#/python3-saml-%{version}.tar.gz -# PATCH-FIX-UPSTREAM fix-payloads-tests-dates.patch gh#SAML-Toolkits/python3-saml#271 mcepl@suse.com -# Fix payloads of tests that had expiration dates on May 2023 -Patch0: fix-payloads-tests-dates.patch BuildRequires: %{python_module freezegun >= 0.3.11} BuildRequires: %{python_module isodate >= 0.6.1} BuildRequires: %{python_module lxml >= 3.3.5} diff --git a/python3-saml-1.15.0.tar.gz b/python3-saml-1.15.0.tar.gz deleted file mode 100644 index 5cde0d0..0000000 --- a/python3-saml-1.15.0.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:73cf5d4ba26bf9552ab7213068997304d843a040162100ff93dee4ef5e0ffe9b -size 511199 diff --git a/python3-saml-1.16.0.tar.gz b/python3-saml-1.16.0.tar.gz new file mode 100644 index 0000000..0bebfb7 --- /dev/null +++ b/python3-saml-1.16.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:41c41d986b0ef66635aa53abe51dfe0e09b1fb07a8803cbbdc861c3f82b6d15a +size 3578998