Skip to content

Fix: ship datasets.json in the wheel (0.2.1) - #2

Merged
kchandan merged 1 commit into
mainfrom
fix-package-data
Oct 23, 2026
Merged

kchandan merged 1 commit into
mainfrom
fix-package-data

Conversation

@kchandan

Copy link
Copy Markdown
Member

0.2.0 on PyPI is missing labagent/packs/rag/sources/datasets.json, the file that pins the SEC dataset. Installing from PyPI and running labagent launch rag-sec-filings fails at the build step. A clean-venv install found it. Source-tree tests and the dry run could not.

  • Add the *.json pattern to package-data.
  • Add tests/test_packaging.py: every non-Python file under labagent/ must match a package-data pattern. It fails without the fix and names the missing file.
  • Bump to 0.2.1.

After merging, tag v0.2.1. Then yank 0.2.0 on PyPI (Manage > Release 0.2.0 > Yank), since PyPI never allows replacing a version.

Generated with Claude Code

0.2.0 left the dataset registry out of the wheel, so rag-sec-filings failed when installed from PyPI.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
@kchandan
kchandan merged commit b244538 into main Oct 23, 2026
3 checks passed
@kchandan
kchandan deleted the fix-package-data branch October 23, 2026 01:36
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.

1 participant