15
0
forked from pool/python-PyFxA

Accepting request 836145 from devel:languages:python

- 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.

OBS-URL: https://build.opensuse.org/request/show/836145
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-PyFxA?expand=0&rev=10
This commit is contained in:
2020-09-23 16:43:58 +00:00
committed by Git OBS Bridge
4 changed files with 16 additions and 6 deletions

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:043883bdd4b5c53beecf3bcd8812712090298298e9bb1fe25c87493ca97808df
size 38806

3
PyFxA-0.7.7.tar.gz Normal file
View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:6c85cd08cf05f7138dee1cf2a8a1d68fd428b7b5ad488917c70a2a763d651cdb
size 39053

View File

@@ -1,3 +1,13 @@
-------------------------------------------------------------------
Tue Sep 22 18:46:00 UTC 2020 - Antoine Belvire <antoine.belvire@opensuse.org>
- 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.
-------------------------------------------------------------------
Sat Jul 11 13:33:33 UTC 2020 - Antoine Belvire <antoine.belvire@opensuse.org>

View File

@@ -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
@@ -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