From 0495b05eb53d0e4109eb932de36c49190d72c371eba3dff6df64ca044bdc9133 Mon Sep 17 00:00:00 2001 From: Antoine Belvire Date: Tue, 22 Sep 2020 18:52:49 +0000 Subject: [PATCH 1/2] - Fix check section: Use double quotes when defining the list of tests since single quotes mess with the pytest macro. OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-PyFxA?expand=0&rev=21 --- python-PyFxA.changes | 6 ++++++ python-PyFxA.spec | 4 ++-- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/python-PyFxA.changes b/python-PyFxA.changes index f92cf72..b5b3b9d 100644 --- a/python-PyFxA.changes +++ b/python-PyFxA.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Tue Sep 22 18:46:00 UTC 2020 - Antoine Belvire + +- Fix check section: Use double quotes when defining the list of + tests since single quotes mess with the pytest macro. + ------------------------------------------------------------------- Sat Jul 11 13:33:33 UTC 2020 - Antoine Belvire diff --git a/python-PyFxA.spec b/python-PyFxA.spec index e42511f..138644a 100644 --- a/python-PyFxA.spec +++ b/python-PyFxA.spec @@ -70,14 +70,14 @@ find ./ -type f -exec chmod -x {} + %check # Exclude tests which require network connection + # deprecated test_monkey_patch_for_gevent -includedTests='\ +includedTests="\ not TestAuthClientAuthorizeToken and\ not TestAuthClientVerifyCode and\ not TestCachedClient and\ not TestCoreClient and\ not TestCoreClientSession and\ not TestJwtToken and\ - not test_monkey_patch_for_gevent' + not test_monkey_patch_for_gevent" %pytest -k "${includedTests}" fxa/tests/ %post From fab4ea929d17eb212170a7b670ca22728e4c675505ea146a66c7ed935465e3d4 Mon Sep 17 00:00:00 2001 From: Antoine Belvire Date: Tue, 22 Sep 2020 18:58:09 +0000 Subject: [PATCH 2/2] - Update to version 0.7.7: * Fix incorrect validation of JWKs passed to oauth.Client constructor, which was actually *preventing* the caller from setting a correct value rather than checking that they did so. OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-PyFxA?expand=0&rev=22 --- PyFxA-0.7.6.tar.gz | 3 --- PyFxA-0.7.7.tar.gz | 3 +++ python-PyFxA.changes | 4 ++++ python-PyFxA.spec | 2 +- 4 files changed, 8 insertions(+), 4 deletions(-) delete mode 100644 PyFxA-0.7.6.tar.gz create mode 100644 PyFxA-0.7.7.tar.gz diff --git a/PyFxA-0.7.6.tar.gz b/PyFxA-0.7.6.tar.gz deleted file mode 100644 index c58fc52..0000000 --- a/PyFxA-0.7.6.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:043883bdd4b5c53beecf3bcd8812712090298298e9bb1fe25c87493ca97808df -size 38806 diff --git a/PyFxA-0.7.7.tar.gz b/PyFxA-0.7.7.tar.gz new file mode 100644 index 0000000..27919b1 --- /dev/null +++ b/PyFxA-0.7.7.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:6c85cd08cf05f7138dee1cf2a8a1d68fd428b7b5ad488917c70a2a763d651cdb +size 39053 diff --git a/python-PyFxA.changes b/python-PyFxA.changes index b5b3b9d..419fbe6 100644 --- a/python-PyFxA.changes +++ b/python-PyFxA.changes @@ -1,6 +1,10 @@ ------------------------------------------------------------------- Tue Sep 22 18:46:00 UTC 2020 - Antoine Belvire +- Update to version 0.7.7: + * Fix incorrect validation of JWKs passed to oauth.Client + constructor, which was actually *preventing* the caller from + setting a correct value rather than checking that they did so. - Fix check section: Use double quotes when defining the list of tests since single quotes mess with the pytest macro. diff --git a/python-PyFxA.spec b/python-PyFxA.spec index 138644a..e2149ad 100644 --- a/python-PyFxA.spec +++ b/python-PyFxA.spec @@ -19,7 +19,7 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-PyFxA -Version: 0.7.6 +Version: 0.7.7 Release: 0 Summary: Firefox Accounts client library for Python License: MPL-2.0