Repository navigation
fix: widen dependency ranges to allow latest versions - #5032
dolfim-ibm wants to merge 1 commit into
Conversation
Runtime extras: - websockets: <18.0 (was <17.0) - typer: <0.28.0 (was <0.27.0) - huggingface_hub: <3 (was <2) - librosa: <2.0.0 (was <1.0.0) Dev and docs groups: - types-setuptools, pandas-stubs, pytest, pytest-durations, ipykernel, mkdocstrings, pymdown-extensions, datasets: allow the latest majors - ruff 0.17.2 (pin and prek hook), dprint-py 0.64.3.0 ruff 0.17 formats Python code blocks in Markdown, so the skill references are reformatted. dprint 0.64 resolves config paths relative to the config file, so .github/dprint.json is updated accordingly. Signed-off-by: Michele Dolfi <dol@zurich.ibm.com>
|
✅ DCO Check Passed Thanks @dolfim-ibm, all your commits are properly signed off. 🎉 |
Merge Protections🟢 Merge protection satisfied — ready to merge. Show 1 satisfied protection🟢 Enforce conventional commitMake sure that we follow https://www.conventionalcommits.org/en/v1.0.0/
|
Codecov Report✅ All modified and coverable lines are covered by tests. 📢 Thoughts on this report? Let us know! |
AI triage (advisory)Checked commit Warning The AI analysis did not finish. Only the deterministic checks are shown. Topic labels added: CI safety: needs maintainer care before you approve CI.
Possibly related pull requests
The |
There was a problem hiding this comment.
AI first review (advisory): no blocker found
This review covers the full diff at 41bbb95f14. It read the code and did not run it.
I checked the widened dependency ranges in pyproject.toml, the tool configuration updates in .github/dprint.json and .pre-commit-config.yaml, and the reformatted code blocks in the reference documents. The dependency constraints and tool configurations are consistent and introduce no defects.
A maintainer makes the merge decision. This review never approves the pull request.
Widens upper bounds in
pyproject.tomlthat block the latest releases.Runtime extras
websocketsservice-client<17.0<18.0typerservice-client,cli<0.27.0<0.28.0<0.27.0)huggingface_hubmodels-local<2<3<2)librosaformat-video<1.0.0<2.0.0The
websocketscap is the one that holds docling-serve at websockets 16.Dev and docs groups
types-setuptools~=70.3>=70.3pandas-stubs~=2.1>=2.1,<4pytest~=9.0.3>=9.0.3,<10pytest-durations~=1.6.1~=1.6ipykernel~=6.29>=6.29,<8mkdocstrings[python]~=0.27>=0.27,<2pymdown-extensions~=10.0>=10.0,<13datasets~=2.21>=2.21,<6ruff==0.15.12(hookv0.16.10)==0.17.2(hookv0.17.2)dprint-py==0.53.1.0==0.64.3.0Follow-up changes:
docling/.agents/skills/docling/references/are reformatted. These are formatting changes only.includesandexcludesrelative to the config file..github/dprint.jsonnow uses paths relative to.github/.Not changed
ty==0.0.33: 0.0.92 reports about 1500 new diagnostics. This needs a separate PR.python-semantic-release~=7.32: version 8 and later need a new release config and CLI. This needs a separate PR.onnxruntime<1.24andpandas<3.0.0for Python < 3.11: newer releases do not support Python 3.10.Verification
make validate, ruff (lint and format), ty, tach and dprint pass.make docs-buildpasses with mkdocstrings 1.0 and pymdown-extensions 12.pytest -n 8: 4068 passed, 7 failed. Six of the failures also occur onmainin the same local environment (tesseract language data is missing, and ocrmac is picked on macOS). The seventh (test_options.py::test_parser_backends) was a crashed xdist worker; it passes when run alone.