fix: restrict usage of difficult protobuf versions

This commit is contained in:
Bryce 2022-09-16 08:18:50 -07:00
parent 6b4c348132
commit af3dc6bacd
2 changed files with 13 additions and 8 deletions

View File

@ -32,7 +32,7 @@ black==22.8.0
# via -r requirements-dev.in # via -r requirements-dev.in
cachetools==5.2.0 cachetools==5.2.0
# via google-auth # via google-auth
certifi==2022.6.15.2 certifi==2022.9.14
# via requests # via requests
charset-normalizer==2.1.1 charset-normalizer==2.1.1
# via # via
@ -42,6 +42,8 @@ click==8.1.3
# via # via
# black # black
# imaginAIry (setup.py) # imaginAIry (setup.py)
contourpy==1.0.5
# via matplotlib
coverage==6.4.4 coverage==6.4.4
# via -r requirements-dev.in # via -r requirements-dev.in
cycler==0.11.0 cycler==0.11.0
@ -63,7 +65,7 @@ filelock==3.8.0
# transformers # transformers
filterpy==1.4.5 filterpy==1.4.5
# via facexlib # via facexlib
fonttools==4.37.1 fonttools==4.37.2
# via matplotlib # via matplotlib
frozenlist==1.3.1 frozenlist==1.3.1
# via # via
@ -77,7 +79,7 @@ future==0.18.2
# via # via
# basicsr # basicsr
# pytorch-lightning # pytorch-lightning
gfpgan==1.3.7 gfpgan==1.3.8
# via # via
# imaginAIry (setup.py) # imaginAIry (setup.py)
# realesrgan # realesrgan
@ -90,7 +92,7 @@ google-auth-oauthlib==0.4.6
# via # via
# tb-nightly # tb-nightly
# tensorboard # tensorboard
grpcio==1.48.1 grpcio==1.49.0
# via # via
# tb-nightly # tb-nightly
# tensorboard # tensorboard
@ -132,7 +134,7 @@ markdown==3.4.1
# tensorboard # tensorboard
markupsafe==2.1.1 markupsafe==2.1.1
# via werkzeug # via werkzeug
matplotlib==3.5.3 matplotlib==3.6.0
# via filterpy # via filterpy
mccabe==0.7.0 mccabe==0.7.0
# via # via
@ -151,6 +153,7 @@ numba==0.56.2
numpy==1.23.3 numpy==1.23.3
# via # via
# basicsr # basicsr
# contourpy
# diffusers # diffusers
# facexlib # facexlib
# filterpy # filterpy
@ -209,8 +212,9 @@ platformdirs==2.5.2
# pylint # pylint
pluggy==1.0.0 pluggy==1.0.0
# via pytest # via pytest
protobuf==3.19.5 protobuf==3.19.4
# via # via
# imaginAIry (setup.py)
# tb-nightly # tb-nightly
# tensorboard # tensorboard
py==1.11.0 py==1.11.0
@ -245,7 +249,7 @@ python-dateutil==2.8.2
# via matplotlib # via matplotlib
pytorch-lightning==1.4.2 pytorch-lightning==1.4.2
# via imaginAIry (setup.py) # via imaginAIry (setup.py)
pywavelets==1.3.0 pywavelets==1.4.1
# via scikit-image # via scikit-image
pyyaml==6.0 pyyaml==6.0
# via # via
@ -293,7 +297,7 @@ six==1.16.0
# python-dateutil # python-dateutil
snowballstemmer==2.2.0 snowballstemmer==2.2.0
# via pydocstyle # via pydocstyle
tb-nightly==2.11.0a20220913 tb-nightly==2.11.0a20220916
# via # via
# basicsr # basicsr
# gfpgan # gfpgan

View File

@ -22,6 +22,7 @@ setup(
package_data={"imaginairy": ["configs/*.yaml", "vendored/clip/*.txt.gz"]}, package_data={"imaginairy": ["configs/*.yaml", "vendored/clip/*.txt.gz"]},
install_requires=[ install_requires=[
"click", "click",
"protobuf != 3.20.2, != 3.19.5",
"ftfy", # for vendored clip "ftfy", # for vendored clip
"torch>=1.2.0", "torch>=1.2.0",
"numpy", "numpy",