Skip to content

Conversation

@kevinjqliu
Copy link
Contributor

@kevinjqliu kevinjqliu commented Jan 20, 2026

Rationale for this change

Update pyiceberg-core to the latest release, 0.8.0
Also update datafusion to match the version iceberg-rust uses, v51
https://github.com/apache/iceberg-rust/blob/v0.8.0/Cargo.toml#L65

Pulled in #2749 as well. Otherwise CI will fail. register_table_provider has been deprecated: https://datafusion.apache.org/python/autoapi/datafusion/context/index.html#datafusion.context.SessionContext.register_table_provider

Are these changes tested?

Are there any user-facing changes?

@kevinjqliu kevinjqliu added this to the PyIceberg 0.11.0 milestone Jan 20, 2026
@kevinjqliu kevinjqliu changed the title dep: upgrade pyiceberg-core dep: upgrade pyiceberg-core to 0.8.0 and datafusion to 51 Jan 20, 2026
@kevinjqliu kevinjqliu requested a review from Fokko January 20, 2026 01:53
Copy link
Contributor

@geruh geruh left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Awesome looks good Kevin!

Copy link
Contributor

@Fokko Fokko left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sweet! Thanks @kevinjqliu for fixing this right away, and thanks @nssalian and @geruh for the quick review 🚀

@Fokko Fokko merged commit 287f679 into apache:main Jan 20, 2026
11 checks passed
@kevinjqliu kevinjqliu deleted the upgrade-pyiceberg-core-0.8.0 branch January 20, 2026 15:24
kevinjqliu pushed a commit that referenced this pull request Jan 20, 2026
<!--
Thanks for opening a pull request!
-->

<!-- In the case this PR will resolve an issue, please replace
${GITHUB_ISSUE_ID} below with the actual Github issue id. -->
<!-- Closes #${GITHUB_ISSUE_ID} -->

# Rationale for this change
In #2928, the `uv.lock` wasn't generated correctly after a dependency
change.
Adding the following changes:
1. `make uv-lock` to generate one when modifying dependencies
2. `make uv-lock-check` to check if the `uv.lock` is up to date
3. Adding a pre-commit config to check the `uv.lock` and fail if not
updated correctly (uses 2.)
4. Documentation change in `mkdocs/docs/contributing.md` to add
instructions for contributors.

## Are these changes tested?
Locally.
Added some of the dependencies in #2928 without modifying the lock file
and ran `pre-commit run --all-files` to observe the following failure
message
```
uv lock file check.......................................................Failed
- hook id: uv-lock-check
- exit code: 2

uv lock --check 
Resolved 221 packages in 93ms
The lockfile at `uv.lock` needs to be updated, but `--check` was provided. To update the lockfile, run `uv lock`.
make: *** [uv-lock-check] Error 1
```

## Are there any user-facing changes?
No. Useful for contributions that change versions/ dependencies.
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.

4 participants