-
Notifications
You must be signed in to change notification settings - Fork 0
Cohre/uv impl #1
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
base: main
Are you sure you want to change the base?
Conversation
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
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.
Pull Request Overview
This PR migrates the build and dependency management from Poetry to the uv tool across packaging config, CI workflows, documentation, and Makefile targets.
- Introduces a new
pyproject-uv.tomlforuv-based builds and dependencies - Updates Makefile, docs, and workflow files to replace Poetry commands with
uv - Adds setup script and adjusts CI workflows for the new build frontend
Reviewed Changes
Copilot reviewed 16 out of 16 changed files in this pull request and generated 1 comment.
Show a summary per file
| File | Description |
|---|---|
| setup.py | Standardizes extension build logic with setuptools |
| pyproject-uv.toml | New PEP 621 config for uv-based packaging |
| pyproject copy.toml | Duplicate config file (appears unintentional) |
| mkdocs/docs/contributing.md | Doc updates replacing Poetry instructions with uv |
| dev/.rat-excludes | Updated to exclude uv.lock |
| Makefile | Replaced Poetry targets with uv equivalents |
| .github/workflows/*.yml | Swapped make install-poetry & Poetry steps for uv |
| LICENSE | Removed stray leading dash |
Comments suppressed due to low confidence (3)
pyproject copy.toml:1
- The file
pyproject copy.tomlappears to be an accidental duplicate and uses a space in its filename. Consider removing or renaming it to avoid confusion and keep the repository clean.
# Licensed to the Apache Software Foundation (ASF) under one
mkdocs/docs/contributing.md:37
- This line was meant as a bullet but is missing the leading dash and space. Change to
- For the development, uv is used ...to maintain proper Markdown list formatting.
For the development, uv is used for packing and dependency management. You can install this using:
.github/workflows/nightly-pypi-build.yml:29
- [nitpick] The nightly build workflow no longer sets
CIBW_BUILD_FRONTEND: "build[uv]". If you want to mirror the artifact builds, add that env var so wheels are built with theuvfrontend.
# if: github.repository == 'apache/iceberg-python' # Only run for apache repo
| "Programming Language :: Python :: 3.12", | ||
| ] | ||
| dependencies = [ | ||
| "python=^3.9.2,!=3.9.7", |
Copilot
AI
Jun 8, 2025
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.
Python version constraints should be declared under requires-python rather than in dependencies. Move python=^3.9.2,!=3.9.7 to requires-python to follow PEP 621 conventions.
| "python=^3.9.2,!=3.9.7", |
Rationale for this change
Are these changes tested?
Are there any user-facing changes?