Revert fakeredis to dev dependencies for PyPI compatibility#180
Revert fakeredis to dev dependencies for PyPI compatibility#180chrisguidry merged 1 commit intomainfrom
Conversation
The previous change moved fakeredis to main dependencies, but PyPI doesn't allow git dependencies in published packages. We need to wait for an official release (version > 2.32.0, presumably 2.33.0) before we can use it as a main dependency. Changes: - Moved fakeredis back to dev dependencies - Still using the main repo (not Nate's fork) at the commit with the fix - Updated comment to explain we're waiting for a PyPI release - Once released, we can use "fakeredis[lua]>=2.33.0" as a main dependency Related: cunla/fakeredis-py#427 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
|
Claude finished @chrisguidry's task —— View job Pull Request ReviewReview Checklist
Review SummaryThis PR correctly addresses the PyPI compatibility issue by moving ✅ Positive Aspects
🔍 Key FindingsPyPI Compatibility ✅The change correctly resolves the PyPI publishing issue. Git dependencies are only allowed in dev dependencies, not in main package dependencies. Runtime Impact ✅
Test Coverage ✅
📝 Recommendations
🔒 Security ConsiderationsNo security concerns identified. The git commit hash is pinned to a specific, reviewed commit. 🐛 Potential IssuesNone identified. The changes are minimal and focused solely on dependency organization. ⚡ Performance ConsiderationsNo performance impact. This is purely a packaging change. ✅ Overall AssessmentAPPROVED - This PR correctly addresses the PyPI compatibility issue without introducing any problems. The change is necessary, well-documented, and maintains all existing functionality. |
|
📚 Documentation has been built for this PR! You can download the documentation directly here: |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #180 +/- ##
=========================================
Coverage 100.00% 100.00%
=========================================
Files 34 34
Lines 5216 5216
Branches 265 265
=========================================
Hits 5216 5216
Flags with carried forward coverage won't be shown. Click here to find out more. 🚀 New features to boost your workflow:
|
The previous change moved fakeredis to main dependencies, but PyPI doesn't allow git dependencies in published packages. We need to wait for an official release (version > 2.32.0, presumably 2.33.0) before we can use it as a main dependency.
Changes
fakeredis[lua]>=2.33.0as a main dependencyWhy This Matters
PyPI requires all dependencies to be proper versioned packages, not git references. While the fix we need is merged into the main repo, it hasn't been released to PyPI yet. Until then, we'll keep fakeredis as a dev dependency for testing purposes only.
Related: cunla/fakeredis-py#427
🤖 Generated with Claude Code