With 8.2.0, attempt to import docs from niece module fails #12276
Labels
status: help wanted
developers would like help from experts on this topic
topic: collection
related to the collection phase
type: regression
indicates a problem that was introduced in a release which was working previously
Uh oh!
There was an error while loading. Please reload this page.
This issue is perhaps one of the weirdest and most obscure I've seen. My investigation began in jaraco/jaraco.xonsh#1. The summary is this:
docs/conf.py
, something outside the call stack attempts toimport jaraco.xonsh.docs
, even thoughjaraco.xonsh
is a module anddocs
is a sibling ofjaraco
.jaraco.xonsh
might not be problematic except:jaraco.xonsh
module hasn't been collected or tested (in earlier runs or with pytest 8.2 when it passes locally).As you might imagine, creating a minimal example is near impossible given the peculiarities of this scenario. The jaraco.xonsh project is nearly a minimal example in itself. The easiest way to replicate the issue is to clone the project at 249226010f9c9e5490dab851947efba2dceecb63, install act, and run the command in jaraco/jaraco.xonsh#1 (comment).
Questions for which I'm hoping to find answers:
jaraco.xonsh.docs
and why doesn't it show up in the stack trace?The text was updated successfully, but these errors were encountered: