mirror of
https://github.com/gradio-app/gradio.git
synced 2025-02-23 11:39:17 +08:00
Separate dependencies for python 3.7 and 3.9 (#3548)
* Separate dependencies * Lint * Install in dep + revert * Typo
This commit is contained in:
parent
8ec2b0b98a
commit
ce1837f68c
14
.github/workflows/backend.yml
vendored
14
.github/workflows/backend.yml
vendored
@ -44,12 +44,22 @@ jobs:
|
||||
cache-dependency-path: ui/pnpm-lock.yaml
|
||||
- name: Install pip
|
||||
run: python -m pip install build requests virtualenv
|
||||
- name: Install Gradio + Python Deps
|
||||
- name: Install Gradio
|
||||
run: |
|
||||
python -m virtualenv venv
|
||||
. venv/bin/activate
|
||||
bash scripts/install_gradio.sh
|
||||
bash scripts/install_test_requirements.sh
|
||||
pip install --upgrade pip
|
||||
- name: Install 3.9 Test Dependencies
|
||||
if: ${{ matrix.python-version == '3.9' }}
|
||||
run: |
|
||||
. venv/bin/activate
|
||||
pip install -r test/requirements.txt
|
||||
- name: Install 3.7 Test Dependencies
|
||||
if: ${{ matrix.python-version == '3.7' }}
|
||||
run: |
|
||||
. venv/bin/activate
|
||||
pip install -r test/requirements-37.txt
|
||||
- name: Lint
|
||||
run: |
|
||||
. venv/bin/activate
|
||||
|
406
test/requirements-37.txt
Normal file
406
test/requirements-37.txt
Normal file
@ -0,0 +1,406 @@
|
||||
#
|
||||
# This file is autogenerated by pip-compile with Python 3.9
|
||||
# by the following command:
|
||||
#
|
||||
# pip-compile --output-file=requirements.txt
|
||||
#
|
||||
alembic==1.8.1
|
||||
# via mlflow
|
||||
altair==4.2.0
|
||||
# via -r requirements.in
|
||||
anyio==3.6.1
|
||||
# via
|
||||
# httpcore
|
||||
# starlette
|
||||
appnope==0.1.3
|
||||
# via ipython
|
||||
asyncio==3.4.3
|
||||
# via -r requirements.in
|
||||
attrs==21.4.0
|
||||
# via
|
||||
# jsonschema
|
||||
# pytest
|
||||
backcall==0.2.0
|
||||
# via ipython
|
||||
black==22.6.0
|
||||
# via -r requirements.in
|
||||
boto3==1.26.65
|
||||
# via -r requirements.in
|
||||
botocore==1.29.87
|
||||
# via
|
||||
# boto3
|
||||
# s3transfer
|
||||
certifi==2022.6.15
|
||||
# via
|
||||
# dulwich
|
||||
# httpcore
|
||||
# httpx
|
||||
# requests
|
||||
# sentry-sdk
|
||||
charset-normalizer==2.1.0
|
||||
# via requests
|
||||
click==8.1.3
|
||||
# via
|
||||
# black
|
||||
# databricks-cli
|
||||
# flask
|
||||
# mlflow
|
||||
# wandb
|
||||
cloudpickle==2.1.0
|
||||
# via
|
||||
# mlflow
|
||||
# shap
|
||||
comet-ml==3.31.6
|
||||
# via -r requirements.in
|
||||
configobj==5.0.6
|
||||
# via everett
|
||||
coverage[toml]==6.4.2
|
||||
# via
|
||||
# -r requirements.in
|
||||
# pytest-cov
|
||||
databricks-cli==0.17.0
|
||||
# via mlflow
|
||||
decorator==5.1.1
|
||||
# via ipython
|
||||
docker==5.0.3
|
||||
# via mlflow
|
||||
docker-pycreds==0.4.0
|
||||
# via wandb
|
||||
dulwich==0.20.45
|
||||
# via comet-ml
|
||||
entrypoints==0.4
|
||||
# via
|
||||
# altair
|
||||
# mlflow
|
||||
everett[ini]==3.0.0
|
||||
# via comet-ml
|
||||
fastapi==0.87.0
|
||||
# via -r requirements.in
|
||||
filelock==3.7.1
|
||||
# via
|
||||
# huggingface-hub
|
||||
# transformers
|
||||
flake8==4.0.1
|
||||
# via -r requirements.in
|
||||
flask==2.1.3
|
||||
# via
|
||||
# mlflow
|
||||
# prometheus-flask-exporter
|
||||
gitdb==4.0.9
|
||||
# via gitpython
|
||||
gitpython==3.1.27
|
||||
# via
|
||||
# mlflow
|
||||
# wandb
|
||||
gunicorn==20.1.0
|
||||
# via mlflow
|
||||
h11==0.12.0
|
||||
# via httpcore
|
||||
httpcore==0.15.0
|
||||
# via httpx
|
||||
httpx==0.23.0
|
||||
# via
|
||||
# -r requirements.in
|
||||
# respx
|
||||
huggingface-hub==0.13.0
|
||||
# via
|
||||
# -r requirements.in
|
||||
# transformers
|
||||
idna==3.3
|
||||
# via
|
||||
# anyio
|
||||
# requests
|
||||
# rfc3986
|
||||
imageio==2.19.5
|
||||
# via scikit-image
|
||||
importlib-metadata==4.2.0
|
||||
# via
|
||||
# flask
|
||||
# mlflow
|
||||
iniconfig==1.1.1
|
||||
# via pytest
|
||||
ipython==7.34.0
|
||||
# via -r requirements.in
|
||||
isort==5.10.1
|
||||
# via -r requirements.in
|
||||
itsdangerous==2.1.2
|
||||
# via flask
|
||||
jedi==0.18.1
|
||||
# via ipython
|
||||
jinja2==3.1.2
|
||||
# via
|
||||
# altair
|
||||
# flask
|
||||
jmespath==1.0.1
|
||||
# via
|
||||
# boto3
|
||||
# botocore
|
||||
joblib==1.1.0
|
||||
# via scikit-learn
|
||||
jsonschema==4.7.2
|
||||
# via
|
||||
# altair
|
||||
# comet-ml
|
||||
llvmlite==0.38.1
|
||||
# via numba
|
||||
mako==1.2.1
|
||||
# via alembic
|
||||
markupsafe==2.1.1
|
||||
# via
|
||||
# jinja2
|
||||
# mako
|
||||
matplotlib-inline==0.1.3
|
||||
# via ipython
|
||||
mccabe==0.6.1
|
||||
# via flake8
|
||||
mlflow==1.27.0
|
||||
# via -r requirements.in
|
||||
mypy-extensions==0.4.3
|
||||
# via black
|
||||
networkx==2.6.3
|
||||
# via scikit-image
|
||||
numba==0.55.2
|
||||
# via shap
|
||||
numpy==1.21.6
|
||||
# via
|
||||
# altair
|
||||
# imageio
|
||||
# mlflow
|
||||
# numba
|
||||
# pandas
|
||||
# pywavelets
|
||||
# scikit-image
|
||||
# scikit-learn
|
||||
# scipy
|
||||
# shap
|
||||
# tifffile
|
||||
# transformers
|
||||
nvidia-ml-py3==7.352.0
|
||||
# via comet-ml
|
||||
oauthlib==3.2.0
|
||||
# via databricks-cli
|
||||
packaging==21.3
|
||||
# via
|
||||
# huggingface-hub
|
||||
# mlflow
|
||||
# pytest
|
||||
# scikit-image
|
||||
# shap
|
||||
# transformers
|
||||
pandas==1.3.5
|
||||
# via
|
||||
# altair
|
||||
# mlflow
|
||||
# shap
|
||||
# vega-datasets
|
||||
parso==0.8.3
|
||||
# via jedi
|
||||
pathspec==0.9.0
|
||||
# via black
|
||||
pathtools==0.1.2
|
||||
# via wandb
|
||||
pexpect==4.8.0
|
||||
# via ipython
|
||||
pickleshare==0.7.5
|
||||
# via ipython
|
||||
pillow==9.2.0
|
||||
# via
|
||||
# imageio
|
||||
# scikit-image
|
||||
platformdirs==2.5.2
|
||||
# via black
|
||||
pluggy==1.0.0
|
||||
# via pytest
|
||||
prometheus-client==0.14.1
|
||||
# via prometheus-flask-exporter
|
||||
prometheus-flask-exporter==0.20.2
|
||||
# via mlflow
|
||||
promise==2.3
|
||||
# via wandb
|
||||
prompt-toolkit==3.0.30
|
||||
# via ipython
|
||||
protobuf==3.20.1
|
||||
# via
|
||||
# mlflow
|
||||
# wandb
|
||||
psutil==5.9.1
|
||||
# via wandb
|
||||
ptyprocess==0.7.0
|
||||
# via pexpect
|
||||
py==1.11.0
|
||||
# via pytest
|
||||
pycodestyle==2.8.0
|
||||
# via flake8
|
||||
pydantic==1.9.1
|
||||
# via
|
||||
# -r requirements.in
|
||||
# fastapi
|
||||
pyflakes==2.4.0
|
||||
# via flake8
|
||||
pygments==2.12.0
|
||||
# via ipython
|
||||
pyjwt==2.4.0
|
||||
# via databricks-cli
|
||||
pyparsing==3.0.9
|
||||
# via packaging
|
||||
pyrsistent==0.18.1
|
||||
# via jsonschema
|
||||
pytest==7.1.2
|
||||
# via
|
||||
# -r requirements.in
|
||||
# pytest-asyncio
|
||||
# pytest-cov
|
||||
pytest-asyncio==0.19.0
|
||||
# via -r requirements.in
|
||||
pytest-cov==3.0.0
|
||||
# via -r requirements.in
|
||||
python-dateutil==2.8.2
|
||||
# via
|
||||
# botocore
|
||||
# pandas
|
||||
pytz==2022.1
|
||||
# via
|
||||
# mlflow
|
||||
# pandas
|
||||
pywavelets==1.3.0
|
||||
# via scikit-image
|
||||
pyyaml==6.0
|
||||
# via
|
||||
# huggingface-hub
|
||||
# mlflow
|
||||
# transformers
|
||||
# wandb
|
||||
querystring-parser==1.2.4
|
||||
# via mlflow
|
||||
regex==2022.7.9
|
||||
# via transformers
|
||||
requests==2.28.1
|
||||
# via
|
||||
# comet-ml
|
||||
# databricks-cli
|
||||
# docker
|
||||
# huggingface-hub
|
||||
# mlflow
|
||||
# requests-toolbelt
|
||||
# transformers
|
||||
# wandb
|
||||
requests-toolbelt==0.9.1
|
||||
# via comet-ml
|
||||
respx==0.19.2
|
||||
# via -r requirements.in
|
||||
rfc3986[idna2008]==1.5.0
|
||||
# via httpx
|
||||
s3transfer==0.6.0
|
||||
# via boto3
|
||||
scikit-image==0.19.3
|
||||
# via -r requirements.in
|
||||
scikit-learn==1.0.2
|
||||
# via shap
|
||||
scipy==1.7.3
|
||||
# via
|
||||
# mlflow
|
||||
# scikit-image
|
||||
# scikit-learn
|
||||
# shap
|
||||
semantic-version==2.10.0
|
||||
# via comet-ml
|
||||
sentry-sdk==1.7.2
|
||||
# via
|
||||
# comet-ml
|
||||
# wandb
|
||||
setproctitle==1.2.3
|
||||
# via wandb
|
||||
shap==0.41.0
|
||||
# via -r requirements.in
|
||||
shortuuid==1.0.9
|
||||
# via wandb
|
||||
six==1.16.0
|
||||
# via
|
||||
# comet-ml
|
||||
# configobj
|
||||
# databricks-cli
|
||||
# docker-pycreds
|
||||
# promise
|
||||
# python-dateutil
|
||||
# querystring-parser
|
||||
# wandb
|
||||
slicer==0.0.7
|
||||
# via shap
|
||||
smmap==5.0.0
|
||||
# via gitdb
|
||||
sniffio==1.2.0
|
||||
# via
|
||||
# anyio
|
||||
# httpcore
|
||||
# httpx
|
||||
sqlalchemy==1.4.39
|
||||
# via
|
||||
# alembic
|
||||
# mlflow
|
||||
sqlparse==0.4.2
|
||||
# via mlflow
|
||||
starlette==0.21.0
|
||||
# via fastapi
|
||||
tabulate==0.8.10
|
||||
# via databricks-cli
|
||||
threadpoolctl==3.1.0
|
||||
# via scikit-learn
|
||||
tifffile==2021.11.2
|
||||
# via scikit-image
|
||||
tokenizers==0.12.1
|
||||
# via transformers
|
||||
tomli==2.0.1
|
||||
# via
|
||||
# black
|
||||
# coverage
|
||||
# pytest
|
||||
toolz==0.12.0
|
||||
# via altair
|
||||
torch==1.12.0
|
||||
# via -r requirements.in
|
||||
tqdm==4.64.0
|
||||
# via
|
||||
# -r requirements.in
|
||||
# huggingface-hub
|
||||
# shap
|
||||
# transformers
|
||||
traitlets==5.3.0
|
||||
# via
|
||||
# ipython
|
||||
# matplotlib-inline
|
||||
transformers==4.20.1
|
||||
# via -r requirements.in
|
||||
typing-extensions==4.3.0
|
||||
# via
|
||||
# black
|
||||
# huggingface-hub
|
||||
# pydantic
|
||||
# starlette
|
||||
# torch
|
||||
urllib3==1.26.10
|
||||
# via
|
||||
# botocore
|
||||
# dulwich
|
||||
# requests
|
||||
# sentry-sdk
|
||||
vega-datasets==0.9.0
|
||||
# via -r requirements.in
|
||||
wandb==0.12.21
|
||||
# via -r requirements.in
|
||||
wcwidth==0.2.5
|
||||
# via prompt-toolkit
|
||||
websocket-client==1.3.3
|
||||
# via
|
||||
# comet-ml
|
||||
# docker
|
||||
werkzeug==2.1.2
|
||||
# via flask
|
||||
wrapt==1.14.1
|
||||
# via comet-ml
|
||||
wurlitzer==3.0.2
|
||||
# via comet-ml
|
||||
zipp==3.8.1
|
||||
# via importlib-metadata
|
||||
|
||||
# The following packages are considered to be unsafe in a requirements file:
|
||||
# setuptools
|
Loading…
Reference in New Issue
Block a user