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

Update gradio requirement from <=3.45.2 to <4.1 #57

Draft
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Nov 1, 2023

Updates the requirements on gradio to permit the latest version.

Changelog

Sourced from gradio's changelog.

4.0.2

Fixes

4.0.1

Features

4.0.0

v4.0 is a big release, so here are the main highlights: (full list of changes below)

Custom Components: We've introduced the ability to create and publish you own custom gradio components.

Redesigned Media Components and Accessaibility: We redesigned our media components from scratch and improved accessibilty across the board.

Server Side Events: We now use Server Side Events instead of Websockets. SSE means everything is served over HTTP: better device support and better scaling.

Custom Share Servers: We now support using any custom share server for your gradio share links.

Here's a list of all the breaking changes:

Components:

  • Removes **kwarg from every component, meaning that components cannot accept arbitrary (unused) parameters. Previously, warnings would be thrown.
  • Removes deprecated parameters. For example, plain is no longer an alias for secondary for the variant argument in the gr.Button class
  • Removes the deprecated Carousel class and StatusTracker class and Box layout class
  • Removes the deprecated Variable alias for State
  • Removes the deprecated .style() methods from component classes
  • Removes the deprecated .update() method from component classes
  • Removes get_interpretation_neighbors() and get_interpretation_scores() from component classes
  • Removes deprecation.py -- this was designed for internal usage so unlikely to break gradio apps
  • Moves save to cache methods from component methods to standalone functions in processing_utils
  • Renames source param in gr.Audio and gr.Video to sources
  • Removes show_edit_button param from gr.Audio

... (truncated)

Commits

You can trigger a rebase of this PR by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Note
Automatic rebases have been disabled on this pull request as it has been open for over 30 days.

Updates the requirements on [gradio](https://github.com/gradio-app/gradio) to permit the latest version.
- [Release notes](https://github.com/gradio-app/gradio/releases)
- [Changelog](https://github.com/gradio-app/gradio/blob/main/CHANGELOG.md)
- [Commits](https://github.com/gradio-app/gradio/commits)

---
updated-dependencies:
- dependency-name: gradio
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot requested a review from tchaton as a code owner November 1, 2023 14:06
@dependabot dependabot bot added the enhancement New feature or request label Nov 1, 2023
@dependabot dependabot bot requested a review from a team November 1, 2023 14:06
requirements.txt Outdated Show resolved Hide resolved
@Borda Borda changed the title Update gradio requirement from <=3.45.2 to <=4.0.2 Update gradio requirement from <=3.45.2 to <4.1 Nov 1, 2023
@Borda
Copy link
Member

Borda commented Nov 1, 2023

requires API update/chnages

@Borda Borda marked this pull request as draft November 1, 2023 14:39
Copy link
Contributor Author

dependabot bot commented on behalf of github Dec 1, 2023

A newer version of gradio exists, but since this PR has been edited by someone other than Dependabot I haven't updated it. You'll get a PR for the updated version as normal once this PR is merged.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant