Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 887983 - dev-python/iniconfig-1.1.1-r1 fails tests (DASH-SYSTEM): AttributeError: module py has no attribute test
Summary: dev-python/iniconfig-1.1.1-r1 fails tests (DASH-SYSTEM): AttributeError: modu...
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:
Depends on:
Blocks:
 
Reported: 2022-12-22 14:55 UTC by Agostino Sarubbo
Modified: 2022-12-23 18:03 UTC (History)
1 user (show)

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


Attachments
build.log (build.log,71.80 KB, text/plain)
2022-12-22 14:55 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-22 14:55:31 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: dev-python/iniconfig-1.1.1-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-22 14:55:33 UTC
Created attachment 844727 [details]
build.log

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


E   AttributeError: module 'py' has no attribute 'test'
ERROR testing/test_iniconfig.py - AttributeError: module 'py' has no attribut...
Comment 3 Larry the Git Cow gentoo-dev 2022-12-23 18:03:52 UTC
The bug has been closed via the following commit(s):

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

commit f7d4df563d424b8de27b30a1a67477b71092eb7c
Author:     Michał Górny <mgorny@gentoo.org>
AuthorDate: 2022-12-23 18:02:22 +0000
Commit:     Michał Górny <mgorny@gentoo.org>
CommitDate: 2022-12-23 18:02:22 +0000

    dev-python/iniconfig: Fix compatibility with pytest-7.2+
    
    Closes: https://bugs.gentoo.org/887983
    Signed-off-by: Michał Górny <mgorny@gentoo.org>

 .../iniconfig/files/iniconfig-1.1.1-py.patch       | 41 ++++++++++++++++++++++
 dev-python/iniconfig/iniconfig-1.1.1-r1.ebuild     |  4 +++
 2 files changed, 45 insertions(+)