Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 928408 - dev-python/fastjsonschema-2.19.1 fails tests: FAILED test_pattern_properties.py::test_pattern_with_escape_no_warnings - TypeError: exceptions must be derived from Warning, not <class NoneType>
Summary: dev-python/fastjsonschema-2.19.1 fails tests: FAILED test_pattern_properties....
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-04-02 07:10 UTC by Agostino Sarubbo
Modified: 2024-04-02 16:18 UTC (History)
0 users

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


Attachments
build.log (build.log,130.79 KB, text/plain)
2024-04-02 07:10 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-04-02 07:10:54 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: dev-python/fastjsonschema-2.19.1 fails tests.
Discovered on: amd64 (internal ref: gcc14_tinderbox)
System: GCC-14-SYSTEM (https://wiki.gentoo.org/wiki/Project:Tinderbox/Common_Issues_Helper#GCC-14)

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

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


E           TypeError: exceptions must be derived from Warning, not <class 'NoneType'>
FAILED tests/test_pattern_properties.py::test_pattern_with_escape_no_warnings - TypeError: exceptions must be derived from Warning, not <class 'NoneType'>
FAILED tests/test_string.py::test_pattern_with_escape_no_warnings - TypeError: exceptions must be derived from Warning, not <class 'NoneType'>
tests/test_composition.py::test_ref_is_expanded_on_composition_error[allOf-3] PASSED [127/436]
tests/test_composition.py::test_ref_is_expanded_on_composition_error[anyOf-2] PASSED [126/436]
tests/test_composition.py::test_ref_is_expanded_on_composition_error[oneOf-2] PASSED [125/436]
tests/test_pattern_properties.py::test_pattern_with_escape_no_warnings FAILED [387/436]
tests/test_string.py::test_pattern_with_escape_no_warnings FAILED     [434/436]
Comment 3 Larry the Git Cow gentoo-dev 2024-04-02 16:18:46 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1cf80c25fdea65c399018f856f430fe208e95294

commit 1cf80c25fdea65c399018f856f430fe208e95294
Author:     Michał Górny <mgorny@gentoo.org>
AuthorDate: 2024-04-02 14:06:22 +0000
Commit:     Michał Górny <mgorny@gentoo.org>
CommitDate: 2024-04-02 16:18:28 +0000

    dev-python/fastjsonschema: Backport pytest-8 fix
    
    Closes: https://bugs.gentoo.org/928408
    Signed-off-by: Michał Górny <mgorny@gentoo.org>

 .../fastjsonschema/fastjsonschema-2.19.1.ebuild    |  5 ++
 .../files/fastjsonschema-2.19.1-pytest-8.patch     | 67 ++++++++++++++++++++++
 2 files changed, 72 insertions(+)