Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package python-pysaml2 for openSUSE:Factory checked in at 2022-04-08 00:28:23 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-pysaml2 (Old) and /work/SRC/openSUSE:Factory/.python-pysaml2.new.1900 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-pysaml2" Fri Apr 8 00:28:23 2022 rev:26 rq:967522 version:7.1.2 Changes: -------- --- /work/SRC/openSUSE:Factory/python-pysaml2/python-pysaml2.changes 2021-07-03 20:51:31.060460104 +0200 +++ /work/SRC/openSUSE:Factory/.python-pysaml2.new.1900/python-pysaml2.changes 2022-04-08 00:28:59.085468182 +0200 @@ -1,0 +2,50 @@ +Thu Apr 7 08:37:47 UTC 2022 - pgaj...@suse.com + +- version update to 7.1.2 + ## 7.1.2 (2022-03-04) + - fix assertion policy filter to try to resolve the local_name using the friendly name if it failed with the name_format + - reload metadata in-place to avoid memory leak + - tests: Restrict pymongo to v3 + - docs: highlight installation command + ## 7.1.1 (2022-02-22) + - Process and verify the metadata signature for EntitiesDescriptor and EntityDescriptor + - Fix client to be able to retry creating an AuthnRequest with a different binding + - Allow requested_authn_context to be an object + - AttributeValues are optional; allow Attributes to not have values + - Update SWAMID entity category to support https://myacademicid.org/entity-categories/esi + - Fix signing for requests with the SOAP binding + - tests: new test case for signed SOAP LogoutRequests + - docs: document the metadata node_name option for the remote source + - examples: align with latest updates + - deps: declare setuptools as a requirement for processing the package version + - build: add python 3.9 and 3.10 to classifiers + - misc: linter fixes + ## 7.1.0 (2021-11-16) + - Fix signature verification for the redirect binding for AuthnRequest and + LogoutRequest. + - Include encryption KeyName in encrypted assertions. + - Add "reason" field in invalid signature errors due to invalid document format. + - New SP configuration option requested_authn_context to set the preferred + RequestedAuthnContext class reference. + - Add support for metadata refresh by adding a metadata_reload method into saml2.Entity. + This method is to be externally invoked, and to receive the same metadata + configuration as what was passed under the metadata key to saml2.Config. The method + loads a new metadata configuration and swaps it in (replacing the references across + several objects that hold a metadata reference). + - Fix SessionIndex resolution during logout. + - Fix AuthnResponse::get_subject to be able to decrypt a NameID with the given keys. + - Refactor AuthnResponse::authn_info to consider DeclRef equivalent to ClassRef. + - Ensure creation of multiple ePTIDs is handled correctly. + - Improve signature checks by ensuring the Object element is absent, enforcing allowed + transform aglorithms, enforcing allowed canonicalization methods and requiring the + enveloped-signature transform to be present. + - mdstore: Make unknown metadata extensions available through the internal metadata. + - mdstore: Fix the exception handler of the InMemoryMetaData object. + - mdstore: Fix the serialization of the MetadataStore object. + - examples: Fix code to catter changes in interfaces. + - examples: Update certificates to avoid SSL KEY TO SMALL errors. + - docs: Significant improvement on the configuration options documentation. + - docs: Fix typos. +- python-mock is not required for build + +------------------------------------------------------------------- Old: ---- v7.0.1.tar.gz New: ---- v7.1.2.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-pysaml2.spec ++++++ --- /var/tmp/diff_new_pack.c9MIXi/_old 2022-04-08 00:29:02.225432778 +0200 +++ /var/tmp/diff_new_pack.c9MIXi/_new 2022-04-08 00:29:02.225432778 +0200 @@ -1,7 +1,7 @@ # # spec file for package python-pysaml2 # -# Copyright (c) 2021 SUSE LLC +# Copyright (c) 2022 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -20,7 +20,7 @@ %global modname pysaml2 %global skip_python2 1 Name: python-pysaml2 -Version: 7.0.1 +Version: 7.1.2 Release: 0 Summary: Python implementation of SAML Version 2 to be used in a WSGI environment License: Apache-2.0 @@ -31,7 +31,6 @@ BuildRequires: %{python_module dbm} BuildRequires: %{python_module defusedxml} BuildRequires: %{python_module importlib-resources} -BuildRequires: %{python_module mock} BuildRequires: %{python_module pyOpenSSL} BuildRequires: %{python_module pymongo} BuildRequires: %{python_module pytest} @@ -93,6 +92,9 @@ %python_expand %fdupes %{buildroot}%{$python_sitelib} %check +# https://github.com/IdentityPython/pysaml2/issues/858 +sed -i 's:import mock:from unittest import mock:' tests/test_41_response.py +sed -i 's:mock.mock:unittest.mock:' tests/test_52_default_sign_alg.py # Excluded tests for i586 gh#IdentityPython/pysaml2#682 and gh#IdentityPython/pysaml2#759 %ifarch %{ix86} %pytest -k "not (test_assertion_consumer_service or test_swamid_sp or test_swamid_idp or test_other_response or test_mta or test_unknown_subject or test_filter_ava_registration_authority_1)" tests ++++++ v7.0.1.tar.gz -> v7.1.2.tar.gz ++++++ ++++ 4251 lines of diff (skipped)