-
Notifications
You must be signed in to change notification settings - Fork 1.8k
AVRO-4232: [Python] Modernize the Python tooling #3658
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
Merged
Merged
Changes from 6 commits
Commits
Show all changes
24 commits
Select commit
Hold shift + click to select a range
6ec71fe
AVRO-4232: [Python] Modernize the Python tooling
martin-g 9902208
Ignore uv.lock for ASFv2 licence check
martin-g d81a4a7
Add librt as a dev dependency
martin-g a411989
Drop librt as dev-dep. It fails at CI with another error
martin-g 9a2ff4e
Do not test Python 3.9 since it is not supported
martin-g 34eae25
Try with mypy<1.19
martin-g a427cfb
Use uv for the Java interop tests too
martin-g d401b80
Remove the flake8 settings. Now we use ruff
martin-g 9e71d4b
Update uv.lock
martin-g d73daa5
Set cwd to lang/py for `uv sync`. Do not use uv for C# scripts
martin-g cb2b731
Update the usage. Wrap variables in quotes
martin-g 7023260
Move more entries from setup.cfg to pyproject.toml
martin-g 7ff957b
Remove typechecks dependency. It seems to be tox specific
martin-g f246a65
Do not shadow Python built-in `type`
martin-g cdedb56
Use `--frozen` for `uv sync` in CI
martin-g 78f3a5c
Update setup-uv Github action to v7
martin-g e462824
Fix the package name for AvroException
martin-g e0484b3
First declare the local variable and then assign it a value
martin-g 3c7c8c7
Use Python 3.10 for mypy
martin-g aeb32b9
Move "scripts" from setup.cfg to pyproject.toml
martin-g c15c680
Re-add the optional dependencies from setup.cfg to pyproject.toml
martin-g 4724e89
Re-add the package-data from setup.cfg to pyproject.toml
martin-g 91747aa
Use SHA for the external actions
martin-g 712fde3
No need to call `build.sh` thru `uv run`
martin-g File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Some comments aren't visible on the classic Files Changed page.
There are no files selected for viewing
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
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
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
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
Oops, something went wrong.
Oops, something went wrong.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I have no idea how this worked before
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Probably didn't. Is there evidence it was ever covered?