Skip to content
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

chore: bump versions for next release(s) #3061

Merged
merged 3 commits into from
Dec 17, 2024

Conversation

rtyler
Copy link
Member

@rtyler rtyler commented Dec 16, 2024

This change also removes uv.lock. From the documentation

Unlike the pyproject.toml, which is used to specify the broad requirements of your project, the lockfile contains the exact resolved versions that are installed in the project environment. This file should be checked into version control, allowing for consistent and reproducible installations across machines.

A lockfile ensures that developers working on the project are using a consistent set of package versions. Additionally, it ensures when deploying the project as an application that the exact set of used package versions is known.

The problem with the presence of this uv.lock for purposes of development of a library like deltalake is that pip installations of the released package will not have the contents of that uv.lock file.

Therefore I want it to be removed so that our local installations, and CI, are always using pyproject.toml to resolve their dependencies in a manner which is consistent with the users of the installed package.

@github-actions github-actions bot added binding/python Issues for the Python package binding/rust Issues for the Rust crate labels Dec 16, 2024
@rtyler rtyler marked this pull request as ready for review December 16, 2024 15:03
@rtyler rtyler enabled auto-merge December 16, 2024 15:07
@rtyler rtyler force-pushed the you-minor-im-major branch from 25f0314 to 9b86df0 Compare December 16, 2024 16:37
@ion-elgreco
Copy link
Collaborator

I am fine with removing it, but we should remove the checkout of the lockfile in the CI now, so that it can pass

@rtyler rtyler force-pushed the you-minor-im-major branch from 9b86df0 to cab44f2 Compare December 16, 2024 17:52
From the [documentation](https://docs.astral.sh/uv/concepts/projects/layout/#the-lockfile)

> Unlike the pyproject.toml, which is used to specify the broad requirements of your project, the lockfile contains the exact resolved versions that are installed in the project environment. This file should be checked into version control, allowing for consistent and reproducible installations across machines.
>
> A lockfile ensures that developers working on the project are using a consistent set of package versions. Additionally, it ensures when deploying the project as an application that the exact set of used package versions is known.

The problem with the presence of this `uv.lock` for purposes of development of a library like `deltalake` is that `pip` installations of the released package will _not_ have the contents of that `uv.lock` file.

Therefore I want it to be removed so that our local installations, and CI, are always using `pyproject.toml` to resolve their dependencies in a manner which is consistent with the users of the installed package.

Signed-off-by: R. Tyler Croy <[email protected]>
@rtyler rtyler force-pushed the you-minor-im-major branch from cab44f2 to 951f814 Compare December 17, 2024 13:49
Copy link

codecov bot commented Dec 17, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 72.42%. Comparing base (a51d75a) to head (fb95219).
Report is 7 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #3061      +/-   ##
==========================================
- Coverage   72.65%   72.42%   -0.23%     
==========================================
  Files         129      128       -1     
  Lines       41584    41314     -270     
  Branches    41584    41314     -270     
==========================================
- Hits        30211    29921     -290     
- Misses       9405     9425      +20     
  Partials     1968     1968              

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Copy link
Collaborator

@roeap roeap left a comment

Choose a reason for hiding this comment

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

LGTM!

@rtyler rtyler added this pull request to the merge queue Dec 17, 2024
Merged via the queue into delta-io:main with commit 99e39ca Dec 17, 2024
24 checks passed
@rtyler rtyler deleted the you-minor-im-major branch December 17, 2024 15:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
binding/python Issues for the Python package binding/rust Issues for the Rust crate
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants