build: modernize repo-tools-data-schema to use uv and pyproject.toml - #42
Open
farhan wants to merge 7 commits into
Open
build: modernize repo-tools-data-schema to use uv and pyproject.toml#42farhan wants to merge 7 commits into
farhan wants to merge 7 commits into
Conversation
- Migrate from setup.py/setup.cfg to pyproject.toml (PEP 621) - Switch from pip-compile to uv with PEP 735 dependency groups - Update CI to use astral-sh/setup-uv - Drop Python <3.12 support - Commit uv.lock - No src/ layout or release.yml (non-PyPI repo) Part of openedx/public-engineering#520 Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #42 +/- ##
=======================================
Coverage ? 35.59%
=======================================
Files ? 2
Lines ? 59
Branches ? 0
=======================================
Hits ? 21
Misses ? 38
Partials ? 0
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:
|
6 tasks
- Use quality/py312 as standard tox env names (not lint/py) - Restore quality as the primary Makefile linting target; drop the introduced lint target which had no master equivalent - Remove doc dependency group and testenv:docs — repo has no docs infrastructure on master - Fix __init__.py import ordering so relative import is at the top alongside other imports, removing the pylint disable comment - Update ci.yml Codecov condition to match py312 toxenv name Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
- tox.ini envlist: py312 -> py - ci.yml toxenv matrix: py312 -> py - Codecov upload condition: compound check on both toxenv and python-version to pin the exact job Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Important
PR implemented with the assistance of Claude Code. Refined and validated before being submitted for code review.
Modernize `openedx-webhooks-data-schema`
Part of openedx/public-engineering#506
Summary
Removed/Updated
Deleted files: `setup.py`, `setup.cfg`, `requirements/`
Updated Makefile targets:
Versioning
`version = "2.0"` declared directly in `pyproject.toml` — master had no PyPI publish workflow, so `setuptools-scm` is not used and the version is bumped manually on each release tag.
Important Notes
Testing Notes
This PR has not been manually tested against the repo's own features. Testing relied on CI checks and local agent tooling (`make requirements`, `make lint`, `make test`). Repo-owner is encouraged to run the repo's feature tests before merging.
🤖 Generated with Claude Code