Skip to content

Conversation

@hanouticelina
Copy link
Contributor

PR following the 0.26.0 release to prepare for next one :)

Main Changes

  • bump version to 0.27.0.dev0
  • remove deprecated HfApi.create_commits_on_pr().
  • remove the multi commits feature from HfApi.upload_folder(), this feature was experimental and now that we have the official more robust HfApi.upload_large_folder(), the users are recommended to use this for large uploads.
  • All multi commits helpers (defined insrc/huggingface_hub/_multi_commits.py) are removed.
  • Remove the deprecated languages arg from ModelHubMixin.__init_subclass__().

a GitHub search was made to check if these deprecations were used elsewhere, it's not the case ✅

@hanouticelina hanouticelina requested a review from Wauplin October 21, 2024 15:50
@hanouticelina hanouticelina marked this pull request as draft October 21, 2024 15:51
@HuggingFaceDocBuilderDev

The docs for this PR live here. All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update.

@hanouticelina hanouticelina marked this pull request as ready for review October 21, 2024 16:01
Copy link
Contributor

@Wauplin Wauplin left a comment

Choose a reason for hiding this comment

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

780 less loc to maintain! 🎉

multi_commits_verbose: bool = False,
run_as_future: bool = False,
) -> Union[CommitInfo, str, Future[CommitInfo], Future[str]]:
) -> Union[CommitInfo, Future[CommitInfo]]:
Copy link
Contributor

Choose a reason for hiding this comment

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

That's a very much appreciated change!!

@hanouticelina hanouticelina merged commit 41b7aaf into main Oct 22, 2024
18 checks passed
@hanouticelina hanouticelina deleted the prepare-for-0.27 branch October 22, 2024 16:28
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