From c6a721f3cd9a822bbc6dc6d42f9611ddd29f99640035ba49e8a7da9146380297 Mon Sep 17 00:00:00 2001 From: Matej Cepl Date: Sun, 14 May 2023 20:40:59 +0000 Subject: [PATCH] - Update to 1.15.0: - #317 Handle unicode characters gracefully in python 2 - #338 Fix WantAuthnRequestsSigned parser - #339 Add Poetry support - Remove version restriction on lxml dependency - Updated Django demo to 4.X (only py3 compatible) - Updated Travis file. Forced lxml to be installed using no-validate_binary - Removed references to OneLogin from documentation - Add fix-payloads-tests-dates.patch (gh#SAML-Toolkits/python3-saml#271). OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-python3-saml?expand=0&rev=18 --- fix-payloads-tests-dates.patch | 39 ++++++++++++++++++++++++++++++++++ python-python3-saml.changes | 15 +++++++++++++ python-python3-saml.spec | 8 +++++-- python3-saml-1.14.0.tar.gz | 3 --- python3-saml-1.15.0.tar.gz | 3 +++ 5 files changed, 63 insertions(+), 5 deletions(-) create mode 100644 fix-payloads-tests-dates.patch delete mode 100644 python3-saml-1.14.0.tar.gz create mode 100644 python3-saml-1.15.0.tar.gz diff --git a/fix-payloads-tests-dates.patch b/fix-payloads-tests-dates.patch new file mode 100644 index 0000000..cc7bf6c --- /dev/null +++ b/fix-payloads-tests-dates.patch @@ -0,0 +1,39 @@ +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 d87f801..8d7e05e 100644 --- a/python-python3-saml.changes +++ b/python-python3-saml.changes @@ -1,3 +1,18 @@ +------------------------------------------------------------------- +Sun May 14 20:32:35 UTC 2023 - Matej Cepl + +- Update to 1.15.0: + - #317 Handle unicode characters gracefully in python 2 + - #338 Fix WantAuthnRequestsSigned parser + - #339 Add Poetry support + - Remove version restriction on lxml dependency + - Updated Django demo to 4.X (only py3 compatible) + - Updated Travis file. Forced lxml to be installed using + no-validate_binary + - Removed references to OneLogin from documentation +- Add fix-payloads-tests-dates.patch + (gh#SAML-Toolkits/python3-saml#271). + ------------------------------------------------------------------- Fri Dec 30 13:03:38 UTC 2022 - Matej Cepl diff --git a/python-python3-saml.spec b/python-python3-saml.spec index 049b8d4..b008417 100644 --- a/python-python3-saml.spec +++ b/python-python3-saml.spec @@ -1,7 +1,7 @@ # # spec file for package python-python3-saml # -# 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,13 +17,16 @@ Name: python-python3-saml -Version: 1.14.0 +Version: 1.15.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} @@ -37,6 +40,7 @@ BuildRequires: python-rpm-macros # pkgconfig doesnt auto-require it. Requires: libxmlsec1-openssl1 Requires: python-isodate >= 0.6.1 +Requires: python-lxml Requires: python-xmlsec >= 1.3.9 BuildArch: noarch %python_subpackages diff --git a/python3-saml-1.14.0.tar.gz b/python3-saml-1.14.0.tar.gz deleted file mode 100644 index 32cbab2..0000000 --- a/python3-saml-1.14.0.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:d5c92def813070e360b2d32a51142d6e2333c84445ab3e4c126debb2762e6829 -size 510031 diff --git a/python3-saml-1.15.0.tar.gz b/python3-saml-1.15.0.tar.gz new file mode 100644 index 0000000..5cde0d0 --- /dev/null +++ b/python3-saml-1.15.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:73cf5d4ba26bf9552ab7213068997304d843a040162100ff93dee4ef5e0ffe9b +size 511199