Repository navigation
Modernize python tooling - #685
salman2013 wants to merge 4 commits into
Conversation
|
Thanks for the pull request, @salman2013! This repository is currently maintained by Once you've gone through the following steps feel free to tag them in a comment and let them know that your changes are ready for engineering review. 🔘 Get product approvalIf you haven't already, check this list to see if your contribution needs to go through the product review process.
🔘 Provide contextTo help your reviewers and other members of the community understand the purpose and larger context of your changes, feel free to add as much of the following information to the PR description as you can:
🔘 Get a green buildIf one or more checks are failing, continue working on your changes until this is no longer the case and your build turns green. DetailsWhere can I find more information?If you'd like to get more details on all aspects of the review process for open source pull requests (OSPRs), check out the following resources: When can I expect my changes to be merged?Our goal is to get community contributions seen and reviewed as efficiently as possible. However, the amount of time that it takes to review and merge a PR can vary significantly based on factors such as:
💡 As a result it may take up to several weeks or months to complete a review and merge your PR. |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## master #685 +/- ##
==========================================
- Coverage 97.93% 91.77% -6.17%
==========================================
Files 84 36 -48
Lines 8147 3052 -5095
Branches 0 367 +367
==========================================
- Hits 7979 2801 -5178
- Misses 168 193 +25
- Partials 0 58 +58
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
Faraz32123
left a comment
There was a problem hiding this comment.
Thanks for the PR. Once CI is green, I'll again take a look at the PR.
| python-version: | ||
| - '3.12' | ||
| toxenv: [django52, quality] | ||
| toxenv: [django42, django52, quality] |
There was a problem hiding this comment.
django42 testing was already dropped. Let's only support django5.2.
There was a problem hiding this comment.
Already done — current ci.yml matrix is [django52, quality], no django42.
|
👋 Reviewed this against the same checklist we've been applying across the modernization effort. One shared issue, one non-blocking note:
Minor/non-blocking: |
10e707e to
9e15933
Compare
6c30241 to
9a92bec
Compare
|
@Faraz32123 You can review the PR, thanks. |
@salman2013 Unfortunately, I’ve been quite busy lately and missed your message. Could you please resolve the conflicts and tag me again once they’re resolved? |
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
- Add NOTICE to license-files so it ships in wheel dist-info - Exclude test subpackages from wheel via packages.find - Add default-groups = [] to [tool.uv] - Fix release.yml: concurrency group, PSR v10.6.2, vcs_release=false, gh release create step, released output fallback, publish_to_pypi if-condition, pin pypa/gh-action-pypi-publish to SHA Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
9a92bec to
01f0ba5
Compare
|
@Faraz32123 conflicts have been resolved. |
|
A few things from a modernize-python-tooling review pass:
|
- Use AGPL-3.0-only SPDX identifier to match the original "no or later" classifier, instead of the deprecated bare AGPL-3.0 form. - Reuse python-semantic-release's tag output in release.yml instead of hardcoding a v-prefixed version string, matching the pattern used in sample-plugin. - Fix make test to pass the lti_consumer label explicitly. After the src-layout migration, unittest's discovery can no longer recurse into src/ (no __init__.py), so the bare ./test.py --noinput invocation was silently running 0 tests while still exiting 0. This is what caused the codecov/project coverage drop from 97.93% to 33.28%. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Modernizes the Python tooling for xblock-lti-consumer in three phases, aligning with the Open edX org standard established in openedx/sample-plugin.
Ticket: openedx/public-engineering#511
Parent ticket: openedx/public-engineering#506
Changes generated by Claude Sonnet 4.6 using the modernize-python-tooling skill, reviewed by human.