Skip to content

Conversation

@adamkells
Copy link
Contributor

The .gitignore pattern models/ was causing hatchling to exclude healthchain/models/ and healthchain/interop/models/ from the package build. Add negation patterns to explicitly include these directories.

This fixes ModuleNotFoundError when importing from healthchain.models in pip-installed versions of the package.

Description

Related Issues

Closes #

Type of Change

  • 🐛 Bug fix (non-breaking)
  • ✨ New feature (non-breaking)
  • 💥 Breaking change
  • 📚 Documentation
  • 🧪 Tests only
  • 🔴 Core change (requires RFC)

Testing

  • uv run pytest passes locally and generates no additional warnings or errors.
  • Added / updated tests to cover the changes.
  • Manually tested (describe how)

Checklist

  • I have read CONTRIBUTING.md and followed the guidelines.
  • I have linked all relevant Issues / Discussions / RFCs.
  • I have updated documentation where needed.
  • I understand all code changes and can explain the design decisions and trade-offs.
  • I am available to respond to review feedback.

The .gitignore pattern `models/` was causing hatchling to exclude
healthchain/models/ and healthchain/interop/models/ from the package
build. Add negation patterns to explicitly include these directories.

This fixes ModuleNotFoundError when importing from healthchain.models
in pip-installed versions of the package.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
@adamkells adamkells self-assigned this Jan 26, 2026
@jenniferjiangkells jenniferjiangkells merged commit e8ad238 into main Jan 26, 2026
8 checks passed
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