mirror of
https://git.mirrors.martin98.com/https://github.com/danielgatis/rembg
synced 2025-08-15 23:05:55 +08:00
Require younger fastapi
`fastapi < 0.92.0` contained a vulnerability, see https://github.com/tiangolo/fastapi/releases/tag/0.92.0 Also, I previously set too strict dependencies, which I resolve here.
This commit is contained in:
parent
9d2cca1f4d
commit
eb00a8f94b
38
setup.py
38
setup.py
@ -37,24 +37,24 @@ setup(
|
|||||||
packages=["rembg"],
|
packages=["rembg"],
|
||||||
python_requires=">3.7, <3.11",
|
python_requires=">3.7, <3.11",
|
||||||
install_requires=[
|
install_requires=[
|
||||||
"aiohttp~=3.8.1",
|
"aiohttp>=3.8.1",
|
||||||
"asyncer~=0.0.2",
|
"asyncer>=0.0.2",
|
||||||
"click~=8.1.3",
|
"click>=8.1.3",
|
||||||
"fastapi~=0.87.0",
|
"fastapi>=0.92.0",
|
||||||
"filetype~=1.2.0",
|
"filetype>=1.2.0",
|
||||||
"pooch~=1.6.0",
|
"pooch>=1.6.0",
|
||||||
"imagehash~=4.3.1",
|
"imagehash>=4.3.1",
|
||||||
"numpy~=1.23.5",
|
"numpy>=1.23.5",
|
||||||
"onnxruntime~=1.13.1",
|
"onnxruntime>=1.13.1",
|
||||||
"opencv-python-headless~=4.6.0.66",
|
"opencv-python-headless>=4.6.0.66",
|
||||||
"pillow~=9.3.0",
|
"pillow>=9.3.0",
|
||||||
"pymatting~=1.1.8",
|
"pymatting>=1.1.8",
|
||||||
"python-multipart~=0.0.5",
|
"python-multipart>=0.0.5",
|
||||||
"scikit-image~=0.19.3",
|
"scikit-image>=0.19.3",
|
||||||
"scipy~=1.9.3",
|
"scipy>=1.9.3",
|
||||||
"tqdm~=4.64.1",
|
"tqdm>=4.64.1",
|
||||||
"uvicorn~=0.20.0",
|
"uvicorn>=0.20.0",
|
||||||
"watchdog~=2.1.9",
|
"watchdog>=2.1.9",
|
||||||
],
|
],
|
||||||
entry_points={
|
entry_points={
|
||||||
"console_scripts": [
|
"console_scripts": [
|
||||||
@ -62,7 +62,7 @@ setup(
|
|||||||
],
|
],
|
||||||
},
|
},
|
||||||
extras_require={
|
extras_require={
|
||||||
"gpu": ["onnxruntime-gpu~=1.13.1"],
|
"gpu": ["onnxruntime-gpu>=1.13.1"],
|
||||||
},
|
},
|
||||||
version=versioneer.get_version(),
|
version=versioneer.get_version(),
|
||||||
cmdclass=versioneer.get_cmdclass(),
|
cmdclass=versioneer.get_cmdclass(),
|
||||||
|
Loading…
x
Reference in New Issue
Block a user