You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
AVRO-4232: [Python] Modernize the Python tooling (#3658)
* AVRO-4232: [Python] Modernize the Python tooling
Use `uv` for management and `ruff` for linting and formatting
* Ignore uv.lock for ASFv2 licence check
* Add librt as a dev dependency
* Drop librt as dev-dep. It fails at CI with another error
* Do not test Python 3.9 since it is not supported
Test 3.14 instead
* Try with mypy<1.19
python/mypy#20454
* Use uv for the Java interop tests too
* Remove the flake8 settings. Now we use ruff
* Update uv.lock
* Set cwd to lang/py for `uv sync`. Do not use uv for C# scripts
* Update the usage. Wrap variables in quotes
* Move more entries from setup.cfg to pyproject.toml
* Remove typechecks dependency. It seems to be tox specific
* Do not shadow Python built-in `type`
* Use `--frozen` for `uv sync` in CI
* Update setup-uv Github action to v7
* Fix the package name for AvroException
* First declare the local variable and then assign it a value
* Use Python 3.10 for mypy
* Move "scripts" from setup.cfg to pyproject.toml
* Re-add the optional dependencies from setup.cfg to pyproject.toml
* Re-add the package-data from setup.cfg to pyproject.toml
* Use SHA for the external actions
Policy by Infra: https://infra.apache.org/github-actions-policy.html > External actions
Last allowed version: 7.1.6 (https://github.com/apache/infrastructure-actions/blob/2943971f47fadefa6d86af85c2c24c2cee262ee1/actions.yml#L25-L26)
Co-authored-by: Ryan Skraba <ryan@skraba.com>
* No need to call `build.sh` thru `uv run`
---------
Co-authored-by: Ryan Skraba <ryan@skraba.com>
0 commit comments