Skip to content

Commit

Permalink
chore: remove minimum version pins for pins older than 6 mo (#3577)
Browse files Browse the repository at this point in the history
Remove a number of pins in `requirements/deps/constraints.txt` and `make
pip-compile`
  • Loading branch information
Coniferish authored Aug 29, 2024
1 parent f440eb4 commit ddb6cb6
Show file tree
Hide file tree
Showing 43 changed files with 162 additions and 149 deletions.
9 changes: 3 additions & 6 deletions requirements/base.txt
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ beautifulsoup4==4.12.3
# via -r ./base.in
certifi==2024.7.4
# via
# -c ././deps/constraints.txt
# httpcore
# httpx
# requests
Expand All @@ -29,7 +28,7 @@ dataclasses-json==0.6.7
# via
# -r ./base.in
# unstructured-client
deepdiff==7.0.1
deepdiff==8.0.1
# via unstructured-client
emoji==2.12.1
# via -r ./base.in
Expand Down Expand Up @@ -71,7 +70,7 @@ nltk==3.9.1
# via -r ./base.in
numpy==1.26.4
# via -r ./base.in
ordered-set==4.1.0
orderly-set==5.2.2
# via deepdiff
packaging==24.1
# via
Expand Down Expand Up @@ -128,9 +127,7 @@ typing-inspect==0.9.0
# dataclasses-json
# unstructured-client
unstructured-client==0.25.5
# via
# -c ././deps/constraints.txt
# -r ./base.in
# via -r ./base.in
urllib3==1.26.19
# via
# -c ././deps/constraints.txt
Expand Down
17 changes: 0 additions & 17 deletions requirements/deps/constraints.txt
Original file line number Diff line number Diff line change
Expand Up @@ -5,28 +5,14 @@
####################################################################################################
# consistency with local-inference-pin
protobuf<4.24
# NOTE(robinson) - Required pins for security scans
jupyter-core>=4.11.2
wheel>=0.38.1
# NOTE(robinson) - The following pins are to address
# vulnerabilities in dependency scans
certifi>=2023.7.22
grpcio>=1.65.5
# NOTE(alan) Pinned to avoid error that occurs with 2.4.3:
# AttributeError: 'ResourcePath' object has no attribute 'collection'
Office365-REST-Python-Client<2.4.3
# NOTE(trevor) `unstructured-inference` is set in extra-pdf-image.in to allow
# unstructured-inference to be upgraded when unstructured library is upgraded
# https://github.com/Unstructured-IO/unstructured/issues/1458
# unstructured-inference
# use the known compatible version of weaviate
weaviate-client>3.25.0
# TODO: Pinned in transformers package, remove when that gets updated
tokenizers>=0.19,<0.20
# NOTE(crag): earlier versions fail in compilation step when pip installing the package
pycocotools>=2.0.7
# NOTE(crag): python3.8-python3.11 compat (if it ends up being required)
torch>2
platformdirs==3.10.0

# TODO: Constaint due to boto, with python before 3.10 not requiring openssl 1.1.1, remove when that gets
Expand All @@ -36,9 +22,6 @@ urllib3<1.27
# TODO: Constriant due to aiobotocore, remove when that gets updates:
botocore<1.34.132

# NOTE(jennings): pinned due to older versions not supporting api_key_auth in UnstructuredClient
unstructured-client>=0.15.1

# python 3.12 support
wrapt>=1.14.0

Expand Down
78 changes: 57 additions & 21 deletions requirements/dev.txt
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ anyio==4.4.0
# via
# -c ./base.txt
# -c ./test.txt
# httpx
# jupyter-server
appnope==0.1.4
# via ipykernel
Expand All @@ -23,6 +24,8 @@ attrs==24.2.0
# via
# -c ./test.txt
# jsonschema
babel==2.16.0
# via jupyterlab-server
beautifulsoup4==4.12.3
# via
# -c ./base.txt
Expand All @@ -31,10 +34,21 @@ bleach==6.1.0
# via nbconvert
build==1.2.1
# via pip-tools
certifi==2024.7.4
# via
# -c ./base.txt
# -c ./test.txt
# httpx
# requests
cffi==1.17.0
# via argon2-cffi-bindings
cfgv==3.4.0
# via pre-commit
charset-normalizer==3.3.2
# via
# -c ./base.txt
# -c ./test.txt
# requests
click==8.1.7
# via
# -c ./base.txt
Expand Down Expand Up @@ -73,23 +87,26 @@ idna==3.8
# -c ./base.txt
# -c ./test.txt
# anyio
# httpx
# requests
importlib-metadata==8.4.0
# via
# build
# jupyterlab-server
# nbconvert
ipykernel==6.29.5
# via
# jupyter
# jupyter-console
# nbclassic
# notebook
# qtconsole
ipython==8.18.1
# via
# -r ./dev.in
# ipykernel
# ipywidgets
# jupyter-console
# jupyterlab
ipython-genutils==0.2.0
# via
# nbclassic
Expand All @@ -101,14 +118,19 @@ jedi==0.19.1
jinja2==3.1.4
# via
# jupyter-server
# jupyterlab
# jupyterlab-server
# nbconvert
# notebook
json5==0.9.25
# via jupyterlab-server
jsonschema[format-nongpl]==3.2.0
# via
# -c ./test.txt
# jupyter-events
# jupyterlab-server
# nbformat
jupyter==1.0.0
jupyter==1.1.0
# via -r ./dev.in
jupyter-client==7.4.9
# via
Expand All @@ -117,29 +139,34 @@ jupyter-client==7.4.9
# jupyter-server
# nbclient
# notebook
# qtconsole
jupyter-console==6.6.3
# via jupyter
jupyter-core==5.7.2
# via
# -c ././deps/constraints.txt
# ipykernel
# jupyter-client
# jupyter-console
# jupyter-server
# jupyterlab
# nbclient
# nbconvert
# nbformat
# notebook
# qtconsole
jupyter-events==0.6.3
# via jupyter-server
jupyter-server==2.10.0
# via notebook-shim
# via
# jupyterlab
# jupyterlab-server
# notebook-shim
jupyter-server-terminals==0.5.3
# via jupyter-server
jupyterlab==3.5.3
# via jupyter
jupyterlab-pygments==0.3.0
# via nbconvert
jupyterlab-server==2.16.6
# via jupyterlab
jupyterlab-widgets==3.0.13
# via ipywidgets
markupsafe==2.1.5
Expand All @@ -153,7 +180,9 @@ matplotlib-inline==0.1.7
mistune==3.0.2
# via nbconvert
nbclassic==1.1.0
# via notebook
# via
# jupyterlab
# notebook
nbclient==0.10.0
# via nbconvert
nbconvert==7.16.4
Expand All @@ -177,11 +206,13 @@ nest-asyncio==1.6.0
nodeenv==1.9.1
# via pre-commit
notebook==6.5.7
# via jupyter
# via
# jupyter
# jupyterlab
notebook-shim==0.2.4
# via
# jupyterlab
# nbclassic
# notebook
overrides==7.7.0
# via jupyter-server
packaging==24.1
Expand All @@ -191,9 +222,9 @@ packaging==24.1
# build
# ipykernel
# jupyter-server
# jupyterlab
# jupyterlab-server
# nbconvert
# qtconsole
# qtpy
pandocfilters==1.5.1
# via nbconvert
parso==0.8.4
Expand Down Expand Up @@ -235,7 +266,6 @@ pygments==2.18.0
# ipython
# jupyter-console
# nbconvert
# qtconsole
pyproject-hooks==1.1.0
# via
# build
Expand Down Expand Up @@ -263,11 +293,11 @@ pyzmq==26.2.0
# jupyter-console
# jupyter-server
# notebook
# qtconsole
qtconsole==5.5.2
# via jupyter
qtpy==2.4.1
# via qtconsole
requests==2.32.3
# via
# -c ./base.txt
# -c ./test.txt
# jupyterlab-server
rfc3339-validator==0.1.4
# via jupyter-events
rfc3986-validator==0.1.1
Expand All @@ -290,6 +320,7 @@ sniffio==1.3.1
# -c ./base.txt
# -c ./test.txt
# anyio
# httpx
soupsieve==2.6
# via
# -c ./base.txt
Expand All @@ -307,12 +338,14 @@ tomli==2.0.1
# via
# -c ./test.txt
# build
# jupyterlab
# pip-tools
tornado==6.4.1
# via
# ipykernel
# jupyter-client
# jupyter-server
# jupyterlab
# notebook
# terminado
traitlets==5.14.3
Expand All @@ -331,13 +364,18 @@ traitlets==5.14.3
# nbconvert
# nbformat
# notebook
# qtconsole
typing-extensions==4.12.2
# via
# -c ./base.txt
# -c ./test.txt
# anyio
# ipython
urllib3==1.26.19
# via
# -c ././deps/constraints.txt
# -c ./base.txt
# -c ./test.txt
# requests
virtualenv==20.26.3
# via pre-commit
wcwidth==0.2.13
Expand All @@ -349,9 +387,7 @@ webencodings==0.5.1
websocket-client==1.8.0
# via jupyter-server
wheel==0.44.0
# via
# -c ././deps/constraints.txt
# pip-tools
# via pip-tools
widgetsnbextension==4.0.13
# via ipywidgets
zipp==3.20.1
Expand Down
5 changes: 2 additions & 3 deletions requirements/extra-paddleocr.txt
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ astor==0.8.1
# via paddlepaddle
certifi==2024.7.4
# via
# -c ././deps/constraints.txt
# -c ./base.txt
# httpcore
# httpx
Expand All @@ -21,7 +20,7 @@ charset-normalizer==3.3.2
# via
# -c ./base.txt
# requests
contourpy==1.2.1
contourpy==1.3.0
# via matplotlib
cycler==0.12.1
# via matplotlib
Expand Down Expand Up @@ -158,7 +157,7 @@ sniffio==1.3.1
# -c ./base.txt
# anyio
# httpx
tifffile==2024.8.24
tifffile==2024.8.28
# via scikit-image
tqdm==4.66.5
# via
Expand Down
Loading

0 comments on commit ddb6cb6

Please sign in to comment.