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

Pinning dependencies in requirements.txt #4885

Merged
merged 8 commits into from
Jul 13, 2023
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
4 changes: 3 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,12 @@
## Other Changes:

- Warning on mobile that if a user leaves the tab, websocket connection may break. On broken connection, tries to rejoin queue and displays error conveying connection broke. By [@aliabid94](https://github.com/aliabid94) in [PR 4742](https://github.com/gradio-app/gradio/pull/4742)
* Pinned dependencies to major versions to reduce the likelihood of a broken `gradio` due to changes in downstream dependencies by [@abidlabs](https://github.com/abidlabs) in [PR 4885](https://github.com/gradio-app/gradio/pull/4885)


## Breaking Changes:

No changes to highlight.
Motivated by the release of `pydantic==2.0`, which included breaking changes that broke a large number of Gradio apps, we've pinned many gradio dependencies. Note that pinned dependencies can cause downstream conflicts, so this may be a breaking change. That being said, we've kept the pins pretty loose, and we're expecting change to be better for the long-term stability of Gradio apps.

# Version 3.36.1

Expand Down
2 changes: 1 addition & 1 deletion client/python/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ No changes to highlight.

## Full Changelog:

No changes to highlight.
* Pinned dependencies to major versions to reduce the likelihood of a broken `gradio_client` due to changes in downstream dependencies by [@abidlabs](https://github.com/abidlabs) in [PR 4885](https://github.com/gradio-app/gradio/pull/4885)

# Version 0.2.8

Expand Down
10 changes: 5 additions & 5 deletions client/python/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
requests
websockets
packaging
fsspec
httpx
huggingface_hub>=0.13.0
typing_extensions
httpx
packaging
requests~=2.0
typing_extensions~=4.0
websockets>=10.0,<12.0
35 changes: 18 additions & 17 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -1,26 +1,27 @@
aiofiles
aiohttp
altair>=4.2.0
aiofiles>=22.0,<24.0
aiohttp~=3.0
altair>=4.2.0,<6.0
fastapi
ffmpy
gradio_client>=0.2.7
httpx
huggingface_hub>=0.14.0
Jinja2
Jinja2<4.0
markdown-it-py[linkify]>=2.0.0
pygments>=2.12.0
abidlabs marked this conversation as resolved.
Show resolved Hide resolved
mdit-py-plugins<=0.3.3
markupsafe
matplotlib
numpy
orjson
pandas
pillow
pydantic
python-multipart
markupsafe~=2.0
abidlabs marked this conversation as resolved.
Show resolved Hide resolved
matplotlib~=3.0
numpy~=1.0
orjson~=3.0
packaging
pandas>=1.0,<3.0
pillow>=8.0,<11.0
pydantic>=1.7.4,!=1.8,!=1.8.1,!=2.0.0,!=2.0.1,<3.0.0
python-multipart # required for fastapi forms
abidlabs marked this conversation as resolved.
Show resolved Hide resolved
pydub
pyyaml
requests
semantic_version
pyyaml>=5.0,<7.0
requests~=2.0
semantic_version~=2.0
typing_extensions~=4.0
uvicorn>=0.14.0
websockets>=10.0
websockets>=10.0,<12.0
2 changes: 0 additions & 2 deletions test/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -149,8 +149,6 @@ pydantic==1.9.1
# via
# -r requirements.in
# fastapi
pygments==2.12.0
# via ipython
pyparsing==3.0.9
# via packaging
pyrsistent==0.18.1
Expand Down