Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 740128

Summary: dev-python/flexmock-0.10.4 expects sys.stdout.write() to take 2 arguments
Product: Gentoo Linux Reporter: Agostino Sarubbo <ago>
Component: Current packagesAssignee: Nelo-T. Wallus (ntnn) <nelo>
Status: RESOLVED FIXED    
Severity: normal CC: marecki, polynomial-c, proxy-maint
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
URL: https://github.com/flexmock/flexmock/issues/37
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: build.log

Description Agostino Sarubbo gentoo-dev 2020-09-03 05:56:40 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: app-backup/borgmatic-1.5.10 fails tests.
Discovered on: amd64 (internal ref: ci)

NOTE:
This machine uses GLIBC-2.32. If you think that this issue is strictly related to GLIBC please block bug 736174.
Comment 1 Agostino Sarubbo gentoo-dev 2020-09-03 05:56:42 UTC
Created attachment 657994 [details]
build.log

build log and emerge --info
Comment 2 Marek Szuba archtester gentoo-dev 2020-09-03 15:06:38 UTC
If anything, this is a problem with dev-python/flexmock - sys.stdout.write(), and all other Object.write() methods, have expected a single argument for as long as I can remember. I say "if anything" because having just tried emerging =app-backup/borgmatic-1.5.10 with FEATURES=test again for each of the supported Python implementations, I continue to be unable to reproduce this problem.
Comment 3 Nelo-T. Wallus (ntnn) 2020-09-03 16:05:15 UTC
I was able to reproduce the test failure with borgmatic 1.5.10 and python 3.6, 3.7 and 3.8.
I've opened a bug report upstream: https://github.com/bkabrda/flexmock/issues/37
Comment 4 Nelo-T. Wallus (ntnn) 2020-09-03 16:13:22 UTC
Note: I also was able to reproduce the issue with the current HEAD from flexmock.
Comment 5 Marek Szuba archtester gentoo-dev 2020-09-08 10:20:45 UTC
*** Bug 741048 has been marked as a duplicate of this bug. ***
Comment 6 Marek Szuba archtester gentoo-dev 2020-09-24 07:55:31 UTC
*** Bug 744466 has been marked as a duplicate of this bug. ***
Comment 7 Marek Szuba archtester gentoo-dev 2021-07-27 11:43:44 UTC
Upstream has switched to a new repo without deleting the old one. No response to the issue in the new one either though, and the problem is still present in 0.10.5.
Comment 8 Marek Szuba archtester gentoo-dev 2021-07-27 11:46:18 UTC
(In reply to Marek Szuba from comment #7)

> Upstream has switched to a new repo without deleting the old one.

Ignore this bit, I can't read.
Comment 9 Larry the Git Cow gentoo-dev 2021-08-19 17:46:05 UTC
The bug has been closed via the following commit(s):

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

commit b62ed597a209744882d3e4a9e777bad39351cbd9
Author:     Arthur Zamarin <arthurzam@gentoo.org>
AuthorDate: 2021-08-19 17:43:52 +0000
Commit:     Arthur Zamarin <arthurzam@gentoo.org>
CommitDate: 2021-08-19 17:45:19 +0000

    dev-python/flexmock: add 0.10.6, fix for borgmatic
    
    Closes: https://bugs.gentoo.org/740128
    Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>

 dev-python/flexmock/Manifest                       |  1 +
 ...ock-0.10.6-fix-with_args-sys.stdout.write.patch | 60 ++++++++++++++++++++++
 dev-python/flexmock/flexmock-0.10.6.ebuild         | 27 ++++++++++
 3 files changed, 88 insertions(+)