Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 937713 - dev-python/oauthlib-3.2.2 fails tests: ERROR: test_rsa_bad_keys (tests.oauth1.rfc5849.test_signatures.SignatureTests)
Summary: dev-python/oauthlib-3.2.2 fails tests: ERROR: test_rsa_bad_keys (tests.oauth1...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Python Gentoo Team
URL:
Whiteboard:
Keywords: TESTFAILURE
Depends on:
Blocks:
 
Reported: 2024-08-10 13:04 UTC by Agostino Sarubbo
Modified: 2024-08-11 16:19 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
build.log (build.log,178.06 KB, text/plain)
2024-08-10 13:04 UTC, Agostino Sarubbo
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Agostino Sarubbo gentoo-dev 2024-08-10 13:04:28 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: dev-python/oauthlib-3.2.2 fails tests.
Discovered on: amd64 (internal ref: gcc15_tinderbox)
System: GCC-15-SYSTEM (https://wiki.gentoo.org/wiki/Project:Tinderbox/Common_Issues_Helper#GCC-15)

Info about the issue:
https://wiki.gentoo.org/wiki/Project:Tinderbox/Common_Issues_Helper#CF0015
Comment 1 Agostino Sarubbo gentoo-dev 2024-08-10 13:04:30 UTC
Created attachment 899767 [details]
build.log

build log and emerge --info
Comment 2 Agostino Sarubbo gentoo-dev 2024-08-10 13:04:31 UTC
Error(s) that match a know pattern in addition to what has been reported in the summary:


ERROR setuptools_scm._file_finders.git listing git files failed - pretending there aren't any
ERROR: test_rsa_bad_keys (tests.oauth1.rfc5849.test_signatures.SignatureTests)
FAILED (errors=1, skipped=2)
ValueError: ('Could not deserialize key data. The data may be in an incorrect format, the provided password may be incorrect, it may be encrypted with an unsupported algorithm, or it may be an unsupported key type (e.g. EC curves with explicit parameters).', [<OpenSSLError(code=503841036, lib=60, reason=524556, reason_text=unsupported)>])
ValueError: Unable to load PEM file. See https://cryptography.io/en/latest/faq/#why-can-t-i-import-my-pem-file for more details. MalformedFraming
jwt.exceptions.InvalidKeyError: Could not parse the provided public key.
Comment 3 Larry the Git Cow gentoo-dev 2024-08-11 16:19:01 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3486fc644d062247cd577c7ee801306cdf99b6d4

commit 3486fc644d062247cd577c7ee801306cdf99b6d4
Author:     Michał Górny <mgorny@gentoo.org>
AuthorDate: 2024-08-11 15:46:01 +0000
Commit:     Michał Górny <mgorny@gentoo.org>
CommitDate: 2024-08-11 16:18:53 +0000

    dev-python/oauthlib: Deselect failing test
    
    Closes: https://bugs.gentoo.org/937713
    Signed-off-by: Michał Górny <mgorny@gentoo.org>

 dev-python/oauthlib/oauthlib-3.2.2.ebuild | 8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)