Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 938210 - dev-python/path-17.0.0 fails tests: "AttributeError: 'builtin_function_or_method' object has no attribute '__code__'. Did you mean: '__call__'?"
Summary: dev-python/path-17.0.0 fails tests: "AttributeError: 'builtin_function_or_met...
Status: UNCONFIRMED
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: 2024-08-20 00:31 UTC by Jonathan Lovelace
Modified: 2024-08-28 02:29 UTC (History)
2 users (show)

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


Attachments
dev-python:path-17.0.0:20240819-133450.log (dev-python:path-17.0.0:20240819-133450.log,484.32 KB, text/plain; charset=utf-8)
2024-08-20 00:31 UTC, Jonathan Lovelace
Details
emerge-info.txt (emerge-info.txt,8.60 KB, text/plain; charset=utf-8)
2024-08-20 00:31 UTC, Jonathan Lovelace
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jonathan Lovelace 2024-08-20 00:31:04 UTC
Created attachment 900727 [details]
dev-python:path-17.0.0:20240819-133450.log

=dev-python/path-17.0.0 fails its test suite for me. The full error output is very long, but here's the shortlog:

=========================================================================== short test summary info ============================================================================
ERROR path/__init__.py - AttributeError: 'builtin_function_or_method' object has no attribute '__code__'. Did you mean: '__call__'?
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! Interrupted: 1 error during collection !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
=============================================================================== 1 error in 1.13s ===============================================================================
Comment 1 Jonathan Lovelace 2024-08-20 00:31:47 UTC
Created attachment 900728 [details]
emerge-info.txt
Comment 2 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2024-08-27 19:09:07 UTC
Could you try running with PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 and tell me if that helps?
Comment 3 Jonathan Lovelace 2024-08-28 02:29:33 UTC
I tried both "PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 ebuild /usr/portage/dev-python/path/path-17.0.0.ebuild clean install" and setting PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 in /etc/portage/env/dev-python/path-17.0.0, with no visible difference in results in either attempt.