unstructured/requirements/huggingface.txt
qued 0665e94b96
build: move numpy pin to packaging (#3296)
Moved numpy pin to `base.in` where it will be picked up by packaging.

Side note:
`constraints.txt` (formerly `constraints.in`) is a really useful
pattern: you put a constraint there, add that file as a `-c` requirement
in other files, and the constraint will be applied when pip-compiling
*only when needed* because the library is required by something else.
Neat! However, unfortunately, in my searches I've never found a similar
pattern for packaging, so any pins we want to propagate to user installs
need to be explicitly placed in the `.in` files.

So what is `constraints.txt` really doing for us? Well in the past I
think there have been instances where something is temporarily broken in
an upstream dependency but we expect it to be patched soon, but in the
meantime we want things to work in our CI builds and development
installs, so it's not worth pinning everywhere it's used. Having said
that, I'm coming to the conclusion that `constraints.txt` causes more
harm than good in the confusion it causes WRT packaging -- maybe we
should remove that pattern at some point.
2024-06-25 21:08:25 +00:00

114 lines
2.1 KiB
Plaintext

#
# This file is autogenerated by pip-compile with Python 3.9
# by the following command:
#
# pip-compile ./huggingface.in
#
certifi==2024.6.2
# via
# -c ././deps/constraints.txt
# -c ./base.txt
# requests
charset-normalizer==3.3.2
# via
# -c ./base.txt
# requests
click==8.1.7
# via
# -c ./base.txt
# sacremoses
filelock==3.15.4
# via
# huggingface-hub
# torch
# transformers
fsspec==2024.5.0
# via
# -c ././deps/constraints.txt
# huggingface-hub
# torch
huggingface-hub==0.23.4
# via
# tokenizers
# transformers
idna==3.7
# via
# -c ./base.txt
# requests
jinja2==3.1.4
# via torch
joblib==1.4.2
# via
# -c ./base.txt
# sacremoses
langdetect==1.0.9
# via
# -c ./base.txt
# -r ./huggingface.in
markupsafe==2.1.5
# via jinja2
mpmath==1.3.0
# via sympy
networkx==3.2.1
# via torch
numpy==1.26.4
# via
# -c ./base.txt
# transformers
packaging==23.2
# via
# -c ././deps/constraints.txt
# -c ./base.txt
# huggingface-hub
# transformers
pyyaml==6.0.1
# via
# huggingface-hub
# transformers
regex==2024.5.15
# via
# -c ./base.txt
# sacremoses
# transformers
requests==2.32.3
# via
# -c ./base.txt
# huggingface-hub
# transformers
sacremoses==0.1.1
# via -r ./huggingface.in
safetensors==0.4.3
# via transformers
sentencepiece==0.2.0
# via -r ./huggingface.in
six==1.16.0
# via
# -c ./base.txt
# langdetect
sympy==1.12.1
# via torch
tokenizers==0.19.1
# via transformers
torch==2.3.1
# via
# -c ././deps/constraints.txt
# -r ./huggingface.in
tqdm==4.66.4
# via
# -c ./base.txt
# huggingface-hub
# sacremoses
# transformers
transformers==4.41.2
# via -r ./huggingface.in
typing-extensions==4.12.2
# via
# -c ./base.txt
# huggingface-hub
# torch
urllib3==1.26.19
# via
# -c ././deps/constraints.txt
# -c ./base.txt
# requests