-
-
Notifications
You must be signed in to change notification settings - Fork 3.1k
With 8.2.0, attempt to import docs from niece module fails #12276
Copy link
Copy link
Open
Labels
status: help wanteddevelopers would like help from experts on this topicdevelopers would like help from experts on this topictopic: collectionrelated to the collection phaserelated to the collection phasetype: regressionindicates a problem that was introduced in a release which was working previouslyindicates a problem that was introduced in a release which was working previously
Metadata
Metadata
Assignees
Labels
status: help wanteddevelopers would like help from experts on this topicdevelopers would like help from experts on this topictopic: collectionrelated to the collection phaserelated to the collection phasetype: regressionindicates a problem that was introduced in a release which was working previouslyindicates a problem that was introduced in a release which was working previously
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.xonshis a module anddocsis a sibling ofjaraco.jaraco.xonshmight not be problematic except:jaraco.xonshmodule 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.docsand why doesn't it show up in the stack trace?