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

[breaking] utils: cleanup copyfile #256

Merged
merged 1 commit into from
Dec 12, 2023
Merged

[breaking] utils: cleanup copyfile #256

merged 1 commit into from
Dec 12, 2023

Conversation

skshetry
Copy link
Member

Since dvc-data uses callback now on copyfile, we can cleanup unnecessary kwargs from here.

Note that this is a breaking change, as we cap only the major version in dvc-data. So this will require us to release 2.0 version.

@skshetry skshetry requested a review from efiop December 11, 2023 16:58
@skshetry skshetry marked this pull request as draft December 11, 2023 16:59
@skshetry
Copy link
Member Author

This is ready for review, but I'd wait till tomorrow for merging as it's a breaking change.

@skshetry
Copy link
Member Author

Maybe if I stick **kwargs to copyfile, it probably won't be a breaking change.

@skshetry skshetry changed the base branch from main to 1.0 December 12, 2023 02:26
@skshetry skshetry marked this pull request as ready for review December 12, 2023 02:26
@skshetry skshetry merged commit e9c0091 into 1.0 Dec 12, 2023
16 checks passed
@skshetry skshetry deleted the cleanup-copyfile branch December 12, 2023 02:26
@skshetry
Copy link
Member Author

Decided to merge this, as we have to make breaking changes anyway with Tqdm and TqdmCallback.

@skshetry skshetry mentioned this pull request Dec 12, 2023
skshetry added a commit that referenced this pull request Dec 13, 2023
* [breaking] utils: cleanup copyfile (#256)

utils: cleanup copyfile

* filesystem: remove fsspec version check (#257)

dvc-objects cannot enforce a particular version of fsspec.
It's upto dvc and dvc plugins to ensure this.

* cleanup callbacks (#259)

* rename to wrap_fn
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