Skip to content

Commit

Permalink
chore: update versions (#8172)
Browse files Browse the repository at this point in the history
  • Loading branch information
pngwn authored May 3, 2024
1 parent 3a6f1a5 commit be2b1e1
Show file tree
Hide file tree
Showing 141 changed files with 1,011 additions and 261 deletions.
24 changes: 0 additions & 24 deletions .changeset/brave-coats-worry.md

This file was deleted.

6 changes: 0 additions & 6 deletions .changeset/calm-goats-sit.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/cold-spies-fail.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/cruel-cars-think.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/four-crabs-rescue.md

This file was deleted.

25 changes: 0 additions & 25 deletions .changeset/fuzzy-mirrors-scream.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/gentle-berries-fetch.md

This file was deleted.

6 changes: 0 additions & 6 deletions .changeset/gold-frogs-sniff.md

This file was deleted.

6 changes: 0 additions & 6 deletions .changeset/great-poets-visit.md

This file was deleted.

22 changes: 0 additions & 22 deletions .changeset/huge-rivers-cough.md

This file was deleted.

6 changes: 0 additions & 6 deletions .changeset/hungry-icons-serve.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/icy-otters-stand.md

This file was deleted.

19 changes: 0 additions & 19 deletions .changeset/long-horses-camp.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/major-zoos-read.md

This file was deleted.

6 changes: 0 additions & 6 deletions .changeset/polite-lamps-burn.md

This file was deleted.

7 changes: 0 additions & 7 deletions .changeset/public-falcons-float.md

This file was deleted.

6 changes: 0 additions & 6 deletions .changeset/real-chefs-admire.md

This file was deleted.

7 changes: 0 additions & 7 deletions .changeset/red-colts-burn.md

This file was deleted.

7 changes: 0 additions & 7 deletions .changeset/ripe-shirts-grow.md

This file was deleted.

6 changes: 0 additions & 6 deletions .changeset/shiny-toes-beam.md

This file was deleted.

6 changes: 0 additions & 6 deletions .changeset/slow-bats-sniff.md

This file was deleted.

6 changes: 0 additions & 6 deletions .changeset/spotty-toes-argue.md

This file was deleted.

7 changes: 0 additions & 7 deletions .changeset/yummy-paws-eat.md

This file was deleted.

110 changes: 110 additions & 0 deletions =23.2
Original file line number Diff line number Diff line change
@@ -0,0 +1,110 @@
Requirement already satisfied: build in ./venv/lib/python3.8/site-packages (1.2.1)
Collecting hatch
Downloading hatch-1.10.0-py3-none-any.whl.metadata (5.4 kB)
Requirement already satisfied: packaging in ./venv/lib/python3.8/site-packages (22.0)
Collecting packaging
Using cached packaging-24.0-py3-none-any.whl.metadata (3.2 kB)
Requirement already satisfied: pyproject_hooks in ./venv/lib/python3.8/site-packages (from build) (1.0.0)
Requirement already satisfied: importlib-metadata>=4.6 in ./venv/lib/python3.8/site-packages (from build) (7.0.1)
Requirement already satisfied: tomli>=1.1.0 in ./venv/lib/python3.8/site-packages (from build) (2.0.1)
Requirement already satisfied: click>=8.0.6 in ./venv/lib/python3.8/site-packages (from hatch) (8.1.7)
Collecting hatchling>=1.24.2 (from hatch)
Using cached hatchling-1.24.2-py3-none-any.whl.metadata (3.8 kB)
Requirement already satisfied: httpx>=0.22.0 in ./venv/lib/python3.8/site-packages (from hatch) (0.27.0)
Collecting hyperlink>=21.0.0 (from hatch)
Downloading hyperlink-21.0.0-py2.py3-none-any.whl.metadata (1.5 kB)
Collecting keyring>=23.5.0 (from hatch)
Downloading keyring-25.2.0-py3-none-any.whl.metadata (20 kB)
Requirement already satisfied: pexpect~=4.8 in ./venv/lib/python3.8/site-packages (from hatch) (4.8.0)
Collecting platformdirs>=2.5.0 (from hatch)
Using cached platformdirs-4.2.1-py3-none-any.whl.metadata (11 kB)
Requirement already satisfied: rich>=11.2.0 in ./venv/lib/python3.8/site-packages (from hatch) (13.7.0)
Requirement already satisfied: shellingham>=1.4.0 in ./venv/lib/python3.8/site-packages (from hatch) (1.5.4)
Collecting tomli-w>=1.0 (from hatch)
Downloading tomli_w-1.0.0-py3-none-any.whl.metadata (4.9 kB)
Requirement already satisfied: tomlkit>=0.11.1 in ./venv/lib/python3.8/site-packages (from hatch) (0.12.0)
Collecting userpath~=1.7 (from hatch)
Downloading userpath-1.9.2-py3-none-any.whl.metadata (3.0 kB)
Collecting uv>=0.1.35 (from hatch)
Downloading uv-0.1.39-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (29 kB)
Collecting virtualenv>=20.26.1 (from hatch)
Using cached virtualenv-20.26.1-py3-none-any.whl.metadata (4.4 kB)
Collecting zstandard<1 (from hatch)
Downloading zstandard-0.22.0-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (2.9 kB)
Collecting pathspec>=0.10.1 (from hatchling>=1.24.2->hatch)
Using cached pathspec-0.12.1-py3-none-any.whl.metadata (21 kB)
Requirement already satisfied: pluggy>=1.0.0 in ./venv/lib/python3.8/site-packages (from hatchling>=1.24.2->hatch) (1.0.0)
Collecting trove-classifiers (from hatchling>=1.24.2->hatch)
Using cached trove_classifiers-2024.4.10-py3-none-any.whl.metadata (2.2 kB)
Requirement already satisfied: anyio in ./venv/lib/python3.8/site-packages (from httpx>=0.22.0->hatch) (3.6.1)
Requirement already satisfied: certifi in ./venv/lib/python3.8/site-packages (from httpx>=0.22.0->hatch) (2022.6.15)
Requirement already satisfied: httpcore==1.* in ./venv/lib/python3.8/site-packages (from httpx>=0.22.0->hatch) (1.0.5)
Requirement already satisfied: idna in ./venv/lib/python3.8/site-packages (from httpx>=0.22.0->hatch) (3.3)
Requirement already satisfied: sniffio in ./venv/lib/python3.8/site-packages (from httpx>=0.22.0->hatch) (1.2.0)
Requirement already satisfied: h11<0.15,>=0.13 in ./venv/lib/python3.8/site-packages (from httpcore==1.*->httpx>=0.22.0->hatch) (0.14.0)
Requirement already satisfied: zipp>=0.5 in ./venv/lib/python3.8/site-packages (from importlib-metadata>=4.6->build) (3.17.0)
Collecting jaraco.classes (from keyring>=23.5.0->hatch)
Downloading jaraco.classes-3.4.0-py3-none-any.whl.metadata (2.6 kB)
Collecting jaraco.functools (from keyring>=23.5.0->hatch)
Downloading jaraco.functools-4.0.1-py3-none-any.whl.metadata (2.9 kB)
Collecting jaraco.context (from keyring>=23.5.0->hatch)
Downloading jaraco.context-5.3.0-py3-none-any.whl.metadata (4.0 kB)
Requirement already satisfied: importlib-resources in ./venv/lib/python3.8/site-packages (from keyring>=23.5.0->hatch) (6.1.1)
Collecting SecretStorage>=3.2 (from keyring>=23.5.0->hatch)
Downloading SecretStorage-3.3.3-py3-none-any.whl.metadata (4.0 kB)
Collecting jeepney>=0.4.2 (from keyring>=23.5.0->hatch)
Downloading jeepney-0.8.0-py3-none-any.whl.metadata (1.3 kB)
Requirement already satisfied: ptyprocess>=0.5 in ./venv/lib/python3.8/site-packages (from pexpect~=4.8->hatch) (0.7.0)
Requirement already satisfied: markdown-it-py>=2.2.0 in ./venv/lib/python3.8/site-packages (from rich>=11.2.0->hatch) (3.0.0)
Requirement already satisfied: pygments<3.0.0,>=2.13.0 in ./venv/lib/python3.8/site-packages (from rich>=11.2.0->hatch) (2.17.2)
Requirement already satisfied: typing-extensions<5.0,>=4.0.0 in ./venv/lib/python3.8/site-packages (from rich>=11.2.0->hatch) (4.9.0)
Collecting distlib<1,>=0.3.7 (from virtualenv>=20.26.1->hatch)
Using cached distlib-0.3.8-py2.py3-none-any.whl.metadata (5.1 kB)
Collecting filelock<4,>=3.12.2 (from virtualenv>=20.26.1->hatch)
Using cached filelock-3.14.0-py3-none-any.whl.metadata (2.8 kB)
Requirement already satisfied: mdurl~=0.1 in ./venv/lib/python3.8/site-packages (from markdown-it-py>=2.2.0->rich>=11.2.0->hatch) (0.1.2)
Requirement already satisfied: cryptography>=2.0 in ./venv/lib/python3.8/site-packages (from SecretStorage>=3.2->keyring>=23.5.0->hatch) (42.0.5)
Collecting more-itertools (from jaraco.classes->keyring>=23.5.0->hatch)
Downloading more_itertools-10.2.0-py3-none-any.whl.metadata (34 kB)
Collecting backports.tarfile (from jaraco.context->keyring>=23.5.0->hatch)
Downloading backports.tarfile-1.1.1-py3-none-any.whl.metadata (2.0 kB)
Requirement already satisfied: cffi>=1.12 in ./venv/lib/python3.8/site-packages (from cryptography>=2.0->SecretStorage>=3.2->keyring>=23.5.0->hatch) (1.16.0)
Requirement already satisfied: pycparser in ./venv/lib/python3.8/site-packages (from cffi>=1.12->cryptography>=2.0->SecretStorage>=3.2->keyring>=23.5.0->hatch) (2.22)
Downloading hatch-1.10.0-py3-none-any.whl (123 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 123.6/123.6 kB 21.7 MB/s eta 0:00:00
Using cached packaging-24.0-py3-none-any.whl (53 kB)
Using cached hatchling-1.24.2-py3-none-any.whl (83 kB)
Downloading hyperlink-21.0.0-py2.py3-none-any.whl (74 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 74.6/74.6 kB 17.1 MB/s eta 0:00:00
Downloading keyring-25.2.0-py3-none-any.whl (38 kB)
Using cached platformdirs-4.2.1-py3-none-any.whl (17 kB)
Downloading tomli_w-1.0.0-py3-none-any.whl (6.0 kB)
Downloading userpath-1.9.2-py3-none-any.whl (9.1 kB)
Downloading uv-0.1.39-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (12.1 MB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 12.1/12.1 MB 103.3 MB/s eta 0:00:00
Using cached virtualenv-20.26.1-py3-none-any.whl (3.9 MB)
Downloading zstandard-0.22.0-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (5.4 MB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 5.4/5.4 MB 106.8 MB/s eta 0:00:00
Using cached distlib-0.3.8-py2.py3-none-any.whl (468 kB)
Using cached filelock-3.14.0-py3-none-any.whl (12 kB)
Downloading jeepney-0.8.0-py3-none-any.whl (48 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 48.4/48.4 kB 14.5 MB/s eta 0:00:00
Using cached pathspec-0.12.1-py3-none-any.whl (31 kB)
Downloading SecretStorage-3.3.3-py3-none-any.whl (15 kB)
Downloading jaraco.classes-3.4.0-py3-none-any.whl (6.8 kB)
Downloading jaraco.context-5.3.0-py3-none-any.whl (6.5 kB)
Downloading jaraco.functools-4.0.1-py3-none-any.whl (9.8 kB)
Using cached trove_classifiers-2024.4.10-py3-none-any.whl (13 kB)
Downloading backports.tarfile-1.1.1-py3-none-any.whl (29 kB)
Downloading more_itertools-10.2.0-py3-none-any.whl (57 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 57.0/57.0 kB 7.4 MB/s eta 0:00:00
Installing collected packages: trove-classifiers, distlib, zstandard, uv, userpath, tomli-w, platformdirs, pathspec, packaging, more-itertools, jeepney, hyperlink, filelock, backports.tarfile, virtualenv, jaraco.functools, jaraco.context, jaraco.classes, hatchling, SecretStorage, keyring, hatch
Attempting uninstall: packaging
Found existing installation: packaging 22.0
Uninstalling packaging-22.0:
Successfully uninstalled packaging-22.0
Attempting uninstall: filelock
Found existing installation: filelock 3.7.1
Uninstalling filelock-3.7.1:
Successfully uninstalled filelock-3.7.1
Successfully installed SecretStorage-3.3.3 backports.tarfile-1.1.1 distlib-0.3.8 filelock-3.14.0 hatch-1.10.0 hatchling-1.24.2 hyperlink-21.0.0 jaraco.classes-3.4.0 jaraco.context-5.3.0 jaraco.functools-4.0.1 jeepney-0.8.0 keyring-25.2.0 more-itertools-10.2.0 packaging-24.0 pathspec-0.12.1 platformdirs-4.2.1 tomli-w-1.0.0 trove-classifiers-2024.4.10 userpath-1.9.2 uv-0.1.39 virtualenv-20.26.1 zstandard-0.22.0
51 changes: 51 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,56 @@
# gradio

## 4.29.0

### Highlights

#### Support custom components in gr.load ([#8200](https://github.com/gradio-app/gradio/pull/8200) [`72039be`](https://github.com/gradio-app/gradio/commit/72039be93acda856d92ceac7f21f1ec1a054fae2))

It is now possible to load a demo with a custom component with `gr.load`.

The custom component must be installed in your system and imported in your python session.

```python
import gradio as gr
import gradio_pdf

demo = gr.load("freddyaboulton/gradiopdf", src="spaces")

if __name__ == "__main__":
demo.launch()
```

<img width="1284" alt="image" src="https://github.com/gradio-app/gradio/assets/41651716/9c3e846b-f3f2-4c1c-8cb6-53a6d186aaa0">

Thanks @freddyaboulton!

### Features

- [#8121](https://github.com/gradio-app/gradio/pull/8121) [`f5b710c`](https://github.com/gradio-app/gradio/commit/f5b710c919b0ce604ea955f0d5f4faa91095ca4a) - chore(deps): update dependency eslint to v9. Thanks @renovate!
- [#8174](https://github.com/gradio-app/gradio/pull/8174) [`a81e369`](https://github.com/gradio-app/gradio/commit/a81e36967c0973012e90ec7cf03b99cf3fea88ec) - Remove hatch installation in js/app/package.json which is no longer needed. Thanks @whitphx!
- [#8209](https://github.com/gradio-app/gradio/pull/8209) [`b9afe93`](https://github.com/gradio-app/gradio/commit/b9afe93915401df5bd6737c89395c2477acfa585) - Rename `eventSource_Factory` and `fetch_implementation`. Thanks @hannahblair!
- [#8109](https://github.com/gradio-app/gradio/pull/8109) [`bed2f82`](https://github.com/gradio-app/gradio/commit/bed2f82e2297b50f7b59423a3de05af0b9910724) - Implement JS Client tests. Thanks @hannahblair!
- [#8106](https://github.com/gradio-app/gradio/pull/8106) [`d0a759f`](https://github.com/gradio-app/gradio/commit/d0a759f3df8b564e2f21421d448b24fecf287306) - Pass Error status in /dev/reload stream. Thanks @freddyaboulton!
- [#7855](https://github.com/gradio-app/gradio/pull/7855) [`611c927`](https://github.com/gradio-app/gradio/commit/611c9273a301e925b5aad93a19272dccd53c39fa) - Lite wheel optimization. Thanks @whitphx!
- [#8211](https://github.com/gradio-app/gradio/pull/8211) [`91b5cd6`](https://github.com/gradio-app/gradio/commit/91b5cd6132fb8903c92f70fce0800324836a1fc3) - remove redundant event source logic. Thanks @hannahblair!
- [#8127](https://github.com/gradio-app/gradio/pull/8127) [`24b2286`](https://github.com/gradio-app/gradio/commit/24b2286a22ed247b86ee299487174c8cea2988fe) - allow the canvas size to be set on the `ImageEditor`. Thanks @pngwn!
- [#8205](https://github.com/gradio-app/gradio/pull/8205) [`cfc272f`](https://github.com/gradio-app/gradio/commit/cfc272ff7910ffcce64a7cc9d560a020f0f6ac7d) - Set the show_api flag on Lite. Thanks @whitphx!
- [#8052](https://github.com/gradio-app/gradio/pull/8052) [`1435d1d`](https://github.com/gradio-app/gradio/commit/1435d1d2dcfd1accf742726396f2213a54ae0837) - Extend Interface.from_pipeline() to support Transformers.js.py pipelines on Lite. Thanks @whitphx!
- [#8189](https://github.com/gradio-app/gradio/pull/8189) [`68dcae5`](https://github.com/gradio-app/gradio/commit/68dcae512c0fb699304446c3b1ae2afaba1a63d2) - Use workspace version for code in _website. Thanks @aliabd!

### Fixes

- [#8179](https://github.com/gradio-app/gradio/pull/8179) [`6a218b4`](https://github.com/gradio-app/gradio/commit/6a218b4148095aaa0c58d8c20973ba01c8764fc2) - rework upload to be a class method + pass client into each component. Thanks @pngwn!
- [#8181](https://github.com/gradio-app/gradio/pull/8181) [`cf52ca6`](https://github.com/gradio-app/gradio/commit/cf52ca6a51320ece97f009a177792840b5fbc785) - Ensure connectivity to private HF spaces with SSE protocol. Thanks @hannahblair!
- [#8169](https://github.com/gradio-app/gradio/pull/8169) [`3a6f1a5`](https://github.com/gradio-app/gradio/commit/3a6f1a50b263e0a733f609a08019fc4d05480e1a) - Only connect to heartbeat if needed. Thanks @freddyaboulton!
- [#8118](https://github.com/gradio-app/gradio/pull/8118) [`7aca673`](https://github.com/gradio-app/gradio/commit/7aca673b38a087533524b2fd8dd3a03e0e4bacfe) - Add eventsource polyfill for Node.js and browser environments. Thanks @hannahblair!
- [#8158](https://github.com/gradio-app/gradio/pull/8158) [`5671ff1`](https://github.com/gradio-app/gradio/commit/5671ff129a3ad488b307f71fffe9566bd4f7f52a) - fix: handling SIGINT correctly in reload.py, single entrance of block_thread in blocks.py. Thanks @Tiger3018!
- [#8180](https://github.com/gradio-app/gradio/pull/8180) [`449d0e6`](https://github.com/gradio-app/gradio/commit/449d0e6e145686b4c6cc2cf80bbcd9acded603dd) - Refactor analytics to not use api.gradio.app. Thanks @freddyaboulton!
- [#8182](https://github.com/gradio-app/gradio/pull/8182) [`39791eb`](https://github.com/gradio-app/gradio/commit/39791eb186d3a4ce82c8c27979a28311c37a4067) - Convert sse calls in client from async to sync. Thanks @abidlabs!
- [#8170](https://github.com/gradio-app/gradio/pull/8170) [`08b4e61`](https://github.com/gradio-app/gradio/commit/08b4e6172340952460ae4947ff45c4bbef9ec285) - Add ETag to `/custom_component` route to control browser caching. Thanks @freddyaboulton!
- [#8194](https://github.com/gradio-app/gradio/pull/8194) [`2471f79`](https://github.com/gradio-app/gradio/commit/2471f79527ebae0838eabedd2a4adab6c7667608) - run python reload only if python file changed. Thanks @jameszhou02!
- [#8204](https://github.com/gradio-app/gradio/pull/8204) [`376dfaa`](https://github.com/gradio-app/gradio/commit/376dfaaa808866cc114eff3cf1635746c3c50c5d) - Specify the fastapi version on Lite to avoid ujson installation which is not available on Pyodide yet. Thanks @whitphx!

## 4.28.3

### Fixes
Expand Down
Loading

0 comments on commit be2b1e1

Please sign in to comment.