Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 885807 - app-containers/docker-compose-1.29.2-r1 fails tests (DASH-SYSTEM): AttributeError: module py has no attribute _path
Summary: app-containers/docker-compose-1.29.2-r1 fails tests (DASH-SYSTEM): AttributeE...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Sebastian Pipping
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-12-13 18:42 UTC by Agostino Sarubbo
Modified: 2022-12-15 17:27 UTC (History)
0 users

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


Attachments
build.log (build.log,163.27 KB, text/plain)
2022-12-13 18:42 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 2022-12-13 18:42:30 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: app-containers/docker-compose-1.29.2-r1 fails tests (DASH-SYSTEM).
Discovered on: amd64 (internal ref: dash_tinderbox)

NOTE:
(DASH-SYSTEM) in the summary means that the bug was found on a machine that runs /bin/sh as dash but this bug MAY or MAY NOT BE related to dash.
Comment 1 Agostino Sarubbo gentoo-dev 2022-12-13 18:42:33 UTC
Created attachment 842505 [details]
build.log

build log and emerge --info
Comment 2 Agostino Sarubbo gentoo-dev 2022-12-13 18:42:34 UTC
Error(s) that match a know pattern in addition to what has been reported in the summary:


  AttributeError: 'str' object has no attribute 'put'
  TypeError: 'Mock' object is not iterable
E   AttributeError: module 'py' has no attribute '_path'
FAILED tests/unit/cli_test.py::CLITestCase::test_default_project_name - Attri...
Comment 3 Sebastian Pipping gentoo-dev 2022-12-15 17:03:03 UTC
Cannot confirm or reproduce so far, even after "sudo eselect sh set dash".
Comment 4 Larry the Git Cow gentoo-dev 2022-12-15 17:27:55 UTC
The bug has been closed via the following commit(s):

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

commit 41a920ba3bd67514061ad04dac0699c9c48b6cc0
Author:     Sebastian Pipping <sping@gentoo.org>
AuthorDate: 2022-12-15 17:20:03 +0000
Commit:     Sebastian Pipping <sping@gentoo.org>
CommitDate: 2022-12-15 17:27:21 +0000

    app-containers/docker-compose: 1.x.x: Fix tests + EAPI 8 + PythonGHDistfileSuffix
    
    Closes: https://bugs.gentoo.org/885807
    Signed-off-by: Sebastian Pipping <sping@gentoo.org>

 app-containers/docker-compose/Manifest             |  2 +-
 .../docker-compose/docker-compose-1.29.2-r1.ebuild |  2 +-
 .../docker-compose/docker-compose-1.29.2-r2.ebuild | 72 ++++++++++++++++++++++
 ...ker-compose-1.29.2-tests-unit-cli-test-py.patch | 33 ++++++++++
 4 files changed, 107 insertions(+), 2 deletions(-)