Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 930257 - dev-python/mechanize-0.4.9 fails tests: AssertionError: gif != None
Summary: dev-python/mechanize-0.4.9 fails tests: AssertionError: gif != None
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Python Gentoo Team
URL:
Whiteboard:
Keywords: TESTFAILURE
Depends on:
Blocks:
 
Reported: 2024-04-19 19:47 UTC by Agostino Sarubbo
Modified: 2024-04-22 07:39 UTC (History)
1 user (show)

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


Attachments
build.log (build.log,101.50 KB, text/plain)
2024-04-19 19:47 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-19 19:47:15 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: dev-python/mechanize-0.4.9 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-19 19:47:17 UTC
Created attachment 891130 [details]
build.log

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


AssertionError: 'image/gif' != None
ERROR setuptools_scm._file_finders.git listing git files failed - pretending there aren't any
FAIL: test_ftp (test.test_urllib2.HandlerTests.test_ftp)
FAILED (failures=1, skipped=35)
Comment 3 Larry the Git Cow gentoo-dev 2024-04-21 11:57:14 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=07a32969d5e4a1e81f5e6cee1ec2d0d0e44fedd8

commit 07a32969d5e4a1e81f5e6cee1ec2d0d0e44fedd8
Author:     Michał Górny <mgorny@gentoo.org>
AuthorDate: 2024-04-21 11:56:18 +0000
Commit:     Michał Górny <mgorny@gentoo.org>
CommitDate: 2024-04-21 11:57:10 +0000

    dev-python/mechanize: Backport a test fix
    
    Closes: https://bugs.gentoo.org/930257
    Signed-off-by: Michał Górny <mgorny@gentoo.org>

 .../mechanize/files/mechanize-0.4.9-test.patch     | 23 ++++++++++++++++++++++
 dev-python/mechanize/mechanize-0.4.9.ebuild        |  9 +++++++--
 2 files changed, 30 insertions(+), 2 deletions(-)