-
-
Notifications
You must be signed in to change notification settings - Fork 1
✨ add PyPy support #33
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
…g_list for compatibility with PyPy
…e dates correctly
WalkthroughAdds PyPy 3.8–3.11 support across CI and tox, documents compatibility, updates project classifiers, and tweaks tests for PyPy-specific behaviors (string sizing fallback, gc collection, and naive-datetime normalization). Changes
Estimated code review effort🎯 3 (Moderate) | ⏱️ ~25 minutes
Possibly related PRs
Suggested labels
Poem
Pre-merge checks and finishing touches✅ Passed checks (3 passed)
✨ Finishing touches
🧪 Generate unit tests (beta)
📜 Recent review detailsConfiguration used: CodeRabbit UI Review profile: CHILL Plan: Pro 📒 Files selected for processing (2)
🚧 Files skipped from review as they are similar to previous changes (1)
🧰 Additional context used📓 Path-based instructions (3){src,tests}/**/*.py📄 CodeRabbit inference engine (.github/copilot-instructions.md)
Files:
tests/unit/**/*.py📄 CodeRabbit inference engine (.github/copilot-instructions.md)
Files:
{src/qs_codec/enums/**/*.py,tests/unit/**/*.py}📄 CodeRabbit inference engine (.github/copilot-instructions.md)
Files:
⏰ Context from checks skipped due to timeout of 90000ms. You can increase the timeout in your CodeRabbit configuration to a maximum of 15 minutes (900000ms). (2)
🔇 Additional comments (2)
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 |
Coverage summary from CodacySee diff coverage on Codacy
Coverage variation details
Coverage variation is the difference between the coverage for the head and common ancestor commits of the pull request branch: Diff coverage details
Diff coverage is the percentage of lines that are covered by tests out of the coverable lines that the pull request added or modified: See your quality gate settings Change summary preferences |
Coverage summary from CodacySee diff coverage on Codacy
Coverage variation details
Coverage variation is the difference between the coverage for the head and common ancestor commits of the pull request branch: Diff coverage details
Diff coverage is the percentage of lines that are covered by tests out of the coverable lines that the pull request added or modified: See your quality gate settings Change summary preferences |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #33 +/- ##
=========================================
Coverage 100.00% 100.00%
=========================================
Files 16 16
Lines 1162 1162
=========================================
Hits 1162 1162 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
This pull request adds official support for PyPy 3.8–3.11 across the project, updating configuration, documentation, and tests to ensure compatibility. It also makes minor improvements to test reliability and metadata.
PyPy Compatibility and CI Integration
tox.iniconfiguration and GitHub Actions workflow for automated testing and local development. (tox.ini,.github/workflows/test.yml) [1] [2] [3] [4]README.rst,docs/index.rst) to reflect support for CPython 3.8–3.14 and PyPy 3.8–3.11. [1] [2]Metadata and Classifiers
PyPyas a supported Python implementation and expanded topic classifiers for better discoverability inpyproject.toml.Test Adjustments for PyPy
getsizeof(fallback tolen) and explicitgc.collect()calls to ensure weak reference behavior matches CPython. (tests/unit/decode_test.py,tests/unit/weakref_test.py) [1] [2] [3]Minor Improvements
tests/unit/example_test.py) [1] [2]Summary by CodeRabbit
New Features
Documentation
Tests
Chores