mirror of
https://github.com/DS4SD/docling.git
synced 2025-12-08 20:58:11 +00:00
feat: simplify dependencies, switch to uv (#1700)
* refactor with uv Signed-off-by: Michele Dolfi <dol@zurich.ibm.com> * constraints for onnxruntime Signed-off-by: Michele Dolfi <dol@zurich.ibm.com> * more constraints Signed-off-by: Michele Dolfi <dol@zurich.ibm.com> --------- Signed-off-by: Michele Dolfi <dol@zurich.ibm.com>
This commit is contained in:
17
docs/faq/index.md
vendored
17
docs/faq/index.md
vendored
@@ -44,6 +44,23 @@ This is a collection of FAQ collected from the user questions on <https://github
|
||||
Source: Issue [#283](https://github.com/docling-project/docling/issues/283#issuecomment-2465035868)
|
||||
|
||||
|
||||
??? question "Is macOS x86_64 supported?"
|
||||
|
||||
### Is macOS x86_64 supported?
|
||||
|
||||
Yes, Docling (still) supports running the standard pipeline on macOS x86_64.
|
||||
|
||||
However, users might get into a combination of incompatible dependencies on a fresh install.
|
||||
Because Docling depends on PyTorch which dropped support for macOS x86_64 after the 2.2.2 release,
|
||||
and this old version of PyTorch works only with NumPy 1.x, users **must** ensure the correct NumPy version is running.
|
||||
|
||||
```shell
|
||||
pip install docling "numpy<2.0.0"
|
||||
```
|
||||
|
||||
Source: Issue [#1694](https://github.com/docling-project/docling/issues/1694).
|
||||
|
||||
|
||||
??? question "Are text styles (bold, underline, etc) supported?"
|
||||
|
||||
### Are text styles (bold, underline, etc) supported?
|
||||
|
||||
6
docs/index.md
vendored
6
docs/index.md
vendored
@@ -6,13 +6,13 @@
|
||||
[](https://arxiv.org/abs/2408.09869)
|
||||
[](https://pypi.org/project/docling/)
|
||||
[](https://pypi.org/project/docling/)
|
||||
[](https://python-poetry.org/)
|
||||
[](https://github.com/psf/black)
|
||||
[](https://pycqa.github.io/isort/)
|
||||
[](https://github.com/astral-sh/uv)
|
||||
[](https://github.com/astral-sh/ruff)
|
||||
[](https://pydantic.dev)
|
||||
[](https://github.com/pre-commit/pre-commit)
|
||||
[](https://opensource.org/licenses/MIT)
|
||||
[](https://pepy.tech/projects/docling)
|
||||
[](https://apify.com/vancura/docling)
|
||||
[](https://www.bestpractices.dev/projects/10101)
|
||||
[](https://lfaidata.foundation/projects/)
|
||||
|
||||
|
||||
2
docs/installation/index.md
vendored
2
docs/installation/index.md
vendored
@@ -129,5 +129,5 @@ Works on macOS, Linux, and Windows, with support for both x86_64 and arm64 archi
|
||||
To develop Docling features, bugfixes etc., install as follows from your local clone's root dir:
|
||||
|
||||
```bash
|
||||
poetry install --all-extras
|
||||
uv sync --all-extras
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user