Skip to content

Install fails on python 3.14 #100

Description

@jmrohwer

When trying to install on Linux using pip in a clean environment under Python 3.14, the install fails due to the "fastobo<0.14" dependency. Because no wheel is available, pip builds fastobo from source but fails due to PyO3 not supporting Python 3.14 (this is trying to build fastobo 0.13.0):

        error: the configured Python interpreter version (3.14) is newer than PyO3's maximum supported version (3.13)
        = help: please check if an updated version of PyO3 is available. Current version: 0.23.4
        = help: set PYO3_USE_ABI3_FORWARD_COMPATIBILITY=1 to suppress this check and build anyway using the stable ABI
      warning: build failed, waiting for other jobs to finish...
      💥 maturin failed
        Caused by: Failed to build a native library through cargo
        Caused by: Cargo build finished with "exit status: 101": `env -u CARGO PYO3_BUILD_EXTENSION_MODULE="1" PYO3_ENVIRONMENT_SIGNATURE="cpython-3.14-64bit" PYO3_PYTHON="/home/jr/.virtualenvs/pyenzyme314/bin/python" PYTHON_SYS_EXECUTABLE="/home/jr/.virtualenvs/pyenzyme314/bin/python" "cargo" "rustc" "--profile" "release" "--features" "extension-module" "--message-format" "json-render-diagnostics" "--manifest-path" "/tmp/pip-install-d7fu2ozj/fastobo_aad87a3c56664e6ba1aaee99d81ede00/Cargo.toml" "--lib" "--crate-type" "cdylib"`
      Error: command ['maturin', 'pep517', 'build-wheel', '-i', '/home/jr/.virtualenvs/pyenzyme314/bin/python', '--compatibility', 'off'] returned non-zero exit status 1
      [end of output]
  
  note: This error originates from a subprocess, and is likely not a problem with pip.
  ERROR: Failed building wheel for fastobo
Failed to build fastobo
error: failed-wheel-build-for-install

Is Python 3.14 not supported?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions