Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix #8350: autosummary_mock_imports causes slow down builds #8412

Conversation

tk0miya
Copy link
Member

@tk0miya tk0miya commented Nov 11, 2020

Feature or Bugfix

  • Bugfix

Purpose

The mock objects set up via `autosummary_mock_imports` causes slow down
of autosummary stub generation because AttributeDocumenter falls into
infinite recursion call to unwrap decorators of mocked objects.

To avoid the trouble, this blocks unwrapping decorators of mocked
objects.
@tk0miya tk0miya force-pushed the 8164_autosummary_mock_imports_causes_slowdown branch from 448bd97 to 953a5ec Compare November 11, 2020 16:55
@tk0miya tk0miya changed the title Fix #8164: autosummary_mock_imports causes slow down builds Fix #8350: autosummary_mock_imports causes slow down builds Nov 11, 2020
@tk0miya tk0miya merged commit 5cabdec into sphinx-doc:3.3.x Nov 12, 2020
@tk0miya tk0miya deleted the 8164_autosummary_mock_imports_causes_slowdown branch November 12, 2020 14:09
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jul 21, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant