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 pydantic import #255

Merged
merged 1 commit into from
Oct 31, 2023
Merged

Fix pydantic import #255

merged 1 commit into from
Oct 31, 2023

Conversation

melissawm
Copy link
Member

References and relevant issues

Closes #254

Description

Uses napari pydantic compatibility shim in update_preference_docs.py.

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Uses napari pydantic compatibility shim.
@github-actions github-actions bot added the documentation Improvements or additions to documentation label Oct 27, 2023
@psobolewskiPhD
Copy link
Member

I think this needs to be ported to 0.4.19 branch so I tagged it. But maybe I'm wrong because 0.4.19 docs build from main repo? CC: @Czaki

@Czaki
Copy link
Contributor

Czaki commented Oct 30, 2023

This PR is only required for the simplification of the build of docs locally. For CI it is fixed by #251

@psobolewskiPhD psobolewskiPhD modified the milestones: 0.4.19, 0.5.0 Oct 30, 2023
@psobolewskiPhD psobolewskiPhD merged commit 703ca00 into napari:main Oct 31, 2023
psobolewskiPhD added a commit that referenced this pull request Dec 1, 2023
# References and relevant issues
Closes napari/napari#6392
Depends on #255

# Description
Added a sphinx gallery option to fail the docs build on example
execution failure.

Right now, this _should_ fail on CI due to one of our example failing,
but the docs build will anyway depend on the #255.

Co-authored-by: Peter Sobolewski <76622105+psobolewskiPhD@users.noreply.github.com>
@melissawm melissawm deleted the fix-pydantic branch January 9, 2024 14:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Failure to build docs from main because of pydantic's ModelMetaclass
3 participants