Skip to content

Conversation

@dingo4dev
Copy link
Owner

Rationale for this change

Are these changes tested?

Are there any user-facing changes?

Copilot AI review requested due to automatic review settings June 8, 2025 07:35

This comment was marked as outdated.

@dingo4dev dingo4dev requested a review from Copilot June 8, 2025 08:36

This comment was marked as outdated.

dingo4dev and others added 3 commits June 8, 2025 16:42
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
@dingo4dev dingo4dev requested a review from Copilot June 8, 2025 09:05
@dingo4dev dingo4dev marked this pull request as draft June 8, 2025 09:05
Copy link

Copilot AI left a 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.toml for uv-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.toml appears 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 the uv frontend.
# if: github.repository == 'apache/iceberg-python'  # Only run for apache repo

"Programming Language :: Python :: 3.12",
]
dependencies = [
"python=^3.9.2,!=3.9.7",
Copy link

Copilot AI Jun 8, 2025

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.

Suggested change
"python=^3.9.2,!=3.9.7",

Copilot uses AI. Check for mistakes.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants