forked from pool/python-python3-saml
- 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
This commit is contained in:
39
fix-payloads-tests-dates.patch
Normal file
39
fix-payloads-tests-dates.patch
Normal file
@@ -0,0 +1,39 @@
|
||||
From bd65578e5a21494c89320094c61c1c77250bea33 Mon Sep 17 00:00:00 2001
|
||||
From: Sixto Martin <pitbulk@gmail.com>
|
||||
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"
|
||||
>
|
||||
<saml:Issuer>https://example.hello.com/access/saml</saml:Issuer>
|
||||
<saml:NameID SPNameQualifier="https://example.hello.com/access/saml"
|
||||
--- a/tests/data/logout_requests/invalids/invalid_issuer.xml.base64
|
||||
+++ b/tests/data/logout_requests/invalids/invalid_issuer.xml.base64
|
||||
@@ -1 +1 @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ids/no_nameId.xml
|
||||
+++ b/tests/data/logout_requests/invalids/no_nameId.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"
|
||||
>
|
||||
<saml:Issuer>https://example.hello.com/access/saml</saml:Issuer>
|
||||
</samlp:LogoutRequest>
|
@@ -1,3 +1,18 @@
|
||||
-------------------------------------------------------------------
|
||||
Sun May 14 20:32:35 UTC 2023 - Matej Cepl <mcepl@suse.com>
|
||||
|
||||
- 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 <mcepl@suse.com>
|
||||
|
||||
|
@@ -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
|
||||
|
@@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:d5c92def813070e360b2d32a51142d6e2333c84445ab3e4c126debb2762e6829
|
||||
size 510031
|
3
python3-saml-1.15.0.tar.gz
Normal file
3
python3-saml-1.15.0.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:73cf5d4ba26bf9552ab7213068997304d843a040162100ff93dee4ef5e0ffe9b
|
||||
size 511199
|
Reference in New Issue
Block a user