Limit PyPI deployments#466
Conversation
|
Warning Review limit reached
More reviews will be available in 46 minutes and 37 seconds. Learn how PR review limits work. Your organization has run out of usage credits. Purchase more credits in the billing tab to continue. ⌛ How to resolve this issue?After more reviews become available, a review can be triggered using the We recommend that you space out your commits to avoid hitting the rate limit. 🚦 How do rate limits work?CodeRabbit enforces hourly rate limits for each developer per organization. Our paid plans include higher PR review limits than trial, open-source, and free plans. In all cases, reviews become available again over time. During sustained high-volume PR review activity, CodeRabbit may temporarily slow when the next review becomes available. Please see our Fair Usage Limits Policy for further information. 📝 WalkthroughWalkthroughMANIFEST.in is updated with packaging rules to exclude test data directories, documentation, example directories, and parquet files from Python source distributions, reducing distribution size and removing non-essential content. ChangesSource Distribution Packaging
Estimated code review effort🎯 1 (Trivial) | ⏱️ ~3 minutes Poem
🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
There was a problem hiding this comment.
Actionable comments posted: 1
🧹 Nitpick comments (1)
MANIFEST.in (1)
5-5: MANIFEST.in:exclude *.parquetandprune examplehuman_warehouse_with_images
MANIFEST.inline 5 (exclude *.parquet): no.parquetfiles exist anywhere in the repo (outside.git), so the non-recursive nature won’t currently matter; keep only if you expect future parquet assets under subdirectories (otherwise it’s effectively redundant).MANIFEST.inline 6 (prune examplehuman_warehouse_with_images): that directory isn’t present anywhere in the repo and appears to be a potentially stale/typo path; verify intent and remove/correct if needed.🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the rest with a brief reason, keep changes minimal, and validate. In `@MANIFEST.in` at line 5, Remove or update the two stale MANIFEST.in entries: either delete the "exclude *.parquet" line (or change it to a recursive pattern like "global-exclude *.parquet") only if you don't expect parquet assets in subdirectories, and remove or correct the "prune examplehuman_warehouse_with_images" entry if that directory does not exist (or replace it with the intended directory name). Verify intent and commit the minimal change: remove redundant entries if not needed, or make the patterns/paths accurate.
🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.
Inline comments:
In `@MANIFEST.in`:
- Line 6: The prune directive "prune examplehuman_warehouse_with_images" in
MANIFEST.in is stale because no such directory exists; remove that line or
replace it with the correct existing path if you intended to exclude a real
directory (e.g., the actual example directory name), ensuring the directive
exactly matches the target directory name; update MANIFEST.in so that only valid
prune/include/exclude targets remain and run packaging checks to confirm no
missing/unused entries.
---
Nitpick comments:
In `@MANIFEST.in`:
- Line 5: Remove or update the two stale MANIFEST.in entries: either delete the
"exclude *.parquet" line (or change it to a recursive pattern like
"global-exclude *.parquet") only if you don't expect parquet assets in
subdirectories, and remove or correct the "prune
examplehuman_warehouse_with_images" entry if that directory does not exist (or
replace it with the intended directory name). Verify intent and commit the
minimal change: remove redundant entries if not needed, or make the
patterns/paths accurate.
🪄 Autofix (Beta)
Fix all unresolved CodeRabbit comments on this PR:
- Push a commit to this branch (recommended)
- Create a new PR with the fixes
|
Thanks @gwaybio ! |
Description
This PR helps address package deployment issues by limiting the amount of data transfered.
What is the nature of your change?
Checklist
Please ensure that all boxes are checked before indicating that a pull request is ready for review.
Summary by CodeRabbit