Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,9 @@ are data: they can grow in any release.)

## [Unreleased]

### Added
- Migration hints for gradio 4.0: `gradio.inputs` and `gradio.outputs` → `gradio.components` (quoting the 3.x warnings in gradio's own `inputs.py` / `outputs.py`), `gradio.Variable` → `gradio.State`, and the `source` argument of `gr.Audio` / `gr.Video` → `sources`, the last three from the 4.0.0 entry of gradio's CHANGELOG.

### Added
- Migration hints for polars 2.0, taken from the removal table in its upgrade guide: `melt()` → `unpivot()`,
`with_row_count()` → `with_row_index()`, `pl.Array.width` → `size`, `read_csv_batched()` → `scan_csv()`, and the
Expand Down
37 changes: 37 additions & 0 deletions src/deptime/curated.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2862,3 +2862,40 @@ path = "polars.SQLContext.__init__(eager_execution)"
target = "eager"
quote = "pl.SQLContext(eager_execution=...) | 0.20.31 | eager=..."
url = "https://docs.pola.rs/releases/upgrade/2/"

# gradio-4
# gradio 3.x warned in its own source, and 4.0.0's CHANGELOG lists the removals:
[[hint]]
package = "gradio"
path = "gradio.inputs"
target = "gradio.components"
quote = "Usage of gradio.inputs is deprecated, and will not be supported in the future, please import your component from gradio.components"
url = "https://github.com/gradio-app/gradio/blob/gradio@3.50.2/gradio/inputs.py#L16-L19"

[[hint]]
package = "gradio"
path = "gradio.outputs"
target = "gradio.components"
quote = "Usage of gradio.outputs is deprecated, and will not be supported in the future, please import your components from gradio.components"
url = "https://github.com/gradio-app/gradio/blob/gradio@3.50.2/gradio/outputs.py#L16-L20"

[[hint]]
package = "gradio"
path = "gradio.Variable"
target = "gradio.State"
quote = "* Removes the deprecated `Variable` alias for `State`"
url = "https://github.com/gradio-app/gradio/blob/main/CHANGELOG.md"

[[hint]]
package = "gradio"
path = "gradio.Audio.__init__(source)"
target = "sources"
quote = "* Renames `source` param in `gr.Audio` and `gr.Video` to `sources`"
url = "https://github.com/gradio-app/gradio/blob/main/CHANGELOG.md"

[[hint]]
package = "gradio"
path = "gradio.Video.__init__(source)"
target = "sources"
quote = "* Renames `source` param in `gr.Audio` and `gr.Video` to `sources`"
url = "https://github.com/gradio-app/gradio/blob/main/CHANGELOG.md"
Loading