Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 911804 - dev-python/python-magic-0.4.27 fails tests (PYTHON-3.12-SYSTEM): AssertionError: PDF document, version 1.2, 2 page(s) not found in (PDF document, version 1.2, PDF document, version 1.2, 2 pages)
Summary: dev-python/python-magic-0.4.27 fails tests (PYTHON-3.12-SYSTEM): AssertionErr...
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: 2023-08-06 07:16 UTC by Agostino Sarubbo
Modified: 2023-11-25 17:14 UTC (History)
1 user (show)

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


Attachments
build.log (build.log,69.41 KB, text/plain)
2023-08-06 07:16 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 2023-08-06 07:16:27 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: dev-python/python-magic-0.4.27 fails tests (PYTHON-3.12-SYSTEM).
Discovered on: amd64 (internal ref: python-3.12_tinderbox)

NOTE:
(PYTHON-3.12-SYSTEM) in the summary means that the bug was found on a machine that runs python-3.12 but this bug MAY or MAY NOT BE related to the new python version
Comment 1 Agostino Sarubbo gentoo-dev 2023-08-06 07:16:30 UTC
Created attachment 867196 [details]
build.log

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


AssertionError: 'PDF document, version 1.2, 2 page(s)' not found in ('PDF document, version 1.2', 'PDF document, version 1.2, 2 pages')
FAIL
FAIL: test_descriptions (test.python_magic_test.MagicTest)
FAIL: test_detect_from_content (test.libmagic_test.MagicTestCase)
FAIL: test_detect_from_filename (test.libmagic_test.MagicTestCase)
FAIL: test_detect_from_fobj (test.libmagic_test.MagicTestCase)
FAILED (failures=4, skipped=2)
Comment 3 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2023-11-25 17:14:36 UTC
commit 78938c3eb420d3efbdbfdf11c8675cba0c83c541 (HEAD -> master, origin/master, origin/HEAD)
Author:     Michał Górny <mgorny@gentoo.org>
AuthorDate: 2023-11-25 17:57:36 +0100
Commit:     Michał Górny <mgorny@gentoo.org>
CommitDate: 2023-11-25 17:57:53 +0100

    dev-python/python-magic: Backport more test fixes
    
    Signed-off-by: Michał Górny <mgorny@gentoo.org>