Python 3.14 support
Hi there, can't install markitdown-mcp with pipx install markitdown-mcp in Fedora 43 with Python 3.14. The error is:
The conflict is caused by:
magika 0.6.3 depends on onnxruntime>=1.17.0; python_full_version >= "3.10"
magika 0.6.2 depends on onnxruntime>=1.17.0; python_full_version >= "3.10"
magika 0.6.1 depends on onnxruntime>=1.17.0; python_full_version >= "3.10"
Additionally, some packages in these conflicts have no matching distributions available for your environment:
onnxruntime
To fix this you could try to:
1. loosen the range of package versions you've specified
2. remove package versions to allow pip to attempt to solve the dependency conflict
PIP STDERR
----------
ERROR: Cannot install markitdown because these package versions have conflicting dependencies.
ERROR: ResolutionImpossible: for help visit https://pip.pypa.io/en/latest/topics/dependency-resolution/#dealing-with-dependency-conflicts
This error seems to be caused by onnxruntime not supporting 3.14 yet. Here is the microsoft/onnxruntime#26309. Hopefully this can be resolved soon. Thanks.
To me it seems really weird not being able to upgrade a markdown-library to a new Python version because somewhere down in the deep is a dependency which contains a full, binary AI engine.
To me, the use of magika (AI-based file-inference) seems really not necessary for 99% of the use-cases when most streams will be able to provide a file-extension or MIME/content-type.
I would love if markitdown could modularize away this magika dependency as well, as it has for lots of the converts.
I really want to be able to convert all the files, but I really don't want to depend on an AI to do it.