Closed timmens closed 9 months ago
All modified and coverable lines are covered by tests :white_check_mark:
Project coverage is 92.98%. Comparing base (
656319d
) to head (f77fa22
).
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
In this PR, we fix the API section of the documentation.
What happened?
In our documentation, we use mock imports. From the sphinx docs:
However, mocked modules cannot be used during build time. This was not a problem until a few weeks ago when
plotly
started checkingpandas
version numbers (mocked for our documentation), which requires the execution ofpandas
code --- namelypandas.__version__
--- during build time. My unawareness of what was actually happening led me to restrict theplotly
version (see #480).In #482, I added code to estimagic that also checked the
pandas
version numbers, leading to the same problem as before.Fix
Remove
pandas
from the list of mock imports.