Skip to content

Conversation

@jhnwu3
Copy link
Collaborator

@jhnwu3 jhnwu3 commented Jul 12, 2025

The doc strings aren't updating properly due to the pydantic import that doesn't exist when running the readthedocs pipeline.

@jhnwu3 jhnwu3 requested a review from Copilot July 12, 2025 23:44
@jhnwu3 jhnwu3 self-assigned this Jul 12, 2025
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR adds the missing pydantic dependency to the ReadTheDocs build requirements to fix import errors in the documentation pipeline.

  • Adds pydantic to docs/requirements.txt
  • Ensures Sphinx builds can import Pydantic-based docstrings

Jinja2==3.1.4
flask==2.2.5
flask==2.2.5
pydantic
Copy link

Copilot AI Jul 12, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[nitpick] Pin the pydantic version to ensure reproducible documentation builds (e.g., pydantic==1.10.7).

Suggested change
pydantic
pydantic==1.10.7

Copilot uses AI. Check for mistakes.
@zzachw zzachw self-requested a review July 14, 2025 05:51
Copy link
Collaborator

@zzachw zzachw left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. Thanks!

@jhnwu3 jhnwu3 merged commit 310a55d into master Jul 14, 2025
1 check passed
@jhnwu3 jhnwu3 deleted the doc_req_fix branch July 14, 2025 23:20
dalloliogm pushed a commit to dalloliogm/PyHealth that referenced this pull request Nov 26, 2025
Co-authored-by: John Wu <johnwu3@sunlab-work-01.cs.illinois.edu>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants