Skip to content

Python 3.14 support #1470

Closed
Closed

Description

@carragom

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.

Activity

  1. josteink commented on Nov 21, 2025

    @josteink

    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.

  2. fmmoret commented on Jan 31, 2026

    @fmmoret

    onnxruntime RC candidate is out; might be close on this one

  3. stonebig commented on Feb 1, 2026

    @stonebig

    also, could this limit pre-entively allow onnxruntime-1.24 for Python-3.14 (on windows) , as nothing else will be possible ? even if it fails

    https://github.com/microsoft/markitdown/blob/main/packages/markitdown/pyproject.toml#L33

    Image
  4. josteink commented on Feb 1, 2026

    @josteink

    also, could this limit pre-entively allow onnxruntime-1.24 for Python-3.14 (on windows) , as nothing else will be possible ? even if it fails

    https://github.com/microsoft/markitdown/blob/main/packages/markitdown/pyproject.toml#L33

    Image

    There’s a separate PR to make the onxruntime dependency 100% optional.

    I think that would be the best solution IMO. That PR definitely deserves more love.

    #1355

  5. AiurArtanis commented on Jun 15, 2026

    @AiurArtanis

    gosh this issue still hasn’t been fixed after more than half a year

  6. josteink commented on Jun 15, 2026

    @josteink

    To be honest I just gave up on this library. By and large it just bundles/wraps other libraries and does none of the heavy lifting itself, apart from doing a content-type => conversion-engine switch.

    So I implemented that myself, and I haven't looked back.

  7. AiurArtanis commented on Jun 15, 2026

    @AiurArtanis

    To be honest I just gave up on this library. By and large it just bundles/wraps other libraries and does none of the heavy lifting itself, apart from doing a content-type => conversion-engine switch.

    So I implemented that myself, and I haven't looked back.

    Funny enough, I’m in the exact opposite boat. I actually have to use this library, but I’m stuck right at the first step: installation.
    Alright, I’ll take your advice and look into other libraries or alternative technical solutions as a replacement.

  8. clauxel commented on Sep 3, 2026

    @clauxel

    Great article. I found the discussion useful because it connects document conversion with actual downstream use cases like documentation, support knowledge, and LLM context. The official MarkItDown Online site for this workflow is https://markitdown.store/

  9. afourney commented on Sep 30, 2026

    @afourney
    Member

    Thank you for reporting the Python 3.14 installation blocker. Python 3.14 support and CI were updated in #2407. A fresh pip installation of v0.1.8 together with markitdown-mcp 0.0.1a7 now succeeds on Linux x86_64/Python 3.14.3, selecting onnxruntime 1.30.0; both core and MCP conversion checks passed. Closing this as no longer reproducible with current packages.

    This was not a Fedora-specific image test. If installation still fails on your Fedora setup, please reopen this issue or comment here with the current resolver output and architecture so we can investigate. The separate Windows ARM64 installation issue remains tracked in #2440.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions