Commit Graph

4 Commits

Author SHA1 Message Date
Khem Raj
5bcd67a255
python3-google-auth: Skip mTLS tests from ptests
They need a cert infrastructure to execute.
Mutual TLS authentication requires client/server certificates
and a proper PKI setup that doesn't exist in the minimal qemu ptest
environment. These are integration tests that need real
certificate infrastructure.

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-11-20 18:10:36 -08:00
Khem Raj
3ed6315a49
python3-google-auth: Upgrade to 2.43.0
Skip ptests needing pyopenssl module when its not available

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-11-18 20:07:55 -08:00
Khem Raj
d390ea7766
python3-google-auth: Disable TestDecryptPrivateKey ptest
We have upgraded py3-openssl module to 24.3.0 in core, which
means this test now fails as py3-openssl has removed the APIs it uses [1]
disable until it is fixed in google-auth module

Fixes
ERROR: 'OpenSSL.crypto' has no attribute 'sign'

[1] https://github.com/googleapis/google-api-python-client/issues/2554

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-02-12 09:16:10 -08:00
alperak
dd0a156fa8
python3-google-auth: add ptest and update runtime dependencies
* Generally we want to keep images as small as possible. RDEPENDS should not contains nothing except what is absolutely needed for a recipe.

* Tested on qemux86-64 and qemuarm64

* Add ptest into PTESTS_SLOW_META_PYTHON

Ptest results:
==============
qemux86-64:

Testsuite summary
TOTAL: 1074
PASS: 1074
SKIP: 0
XFAIL: 0
FAIL: 0
XPASS: 0
ERROR: 0
DURATION: 227
END: /usr/lib/python3-google-auth/ptest
2024-03-07T21:30
STOP: ptest-runner
TOTAL: 1 FAIL: 0

qemuarm64:

Testsuite summary
TOTAL: 1074
PASS: 1074
SKIP: 0
XFAIL: 0
FAIL: 0
XPASS: 0
ERROR: 0
DURATION: 184
END: /usr/lib/python3-google-auth/ptest
2024-03-07T21:15
STOP: ptest-runner
TOTAL: 1 FAIL: 0

Signed-off-by: alperak <alperyasinak1@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-03-08 10:07:29 -08:00