Skip to content

Python 3.14 isn't Supported by Dependencies #81

@MrPointer

Description

@MrPointer

Summary

I just tried semble for the first time. I have uv installed and I've installed Python 3.14 with it as it's the latest.
However, installing semble fails due to what seems like a dependency that doesn't yet support Python 3.14 - tokie, which is a direct dependency of chonkie, which you directly depend on. So it's a transitive dependency for semble basically.

Here's the error log, slightly interleaved with the logs of opencode, the agent I use, and the build attempt made by the dependency:

Error Log

INFO  2026-05-08T20:49:49 +3887ms service=mcp key=semble mcp stderr:   × Failed to build `tokie==0.0.9`

INFO  2026-05-08T20:49:49 +0ms service=mcp key=semble mcp stderr:   ├─▶ The build backend returned an error
  ╰─▶ Call to `maturin.build_wheel` failed (exit status: 1)

      [stdout]
      Running `maturin pep517 build-wheel -i
      /Users/timorgruber/.cache/uv/builds-v0/.tmp2XxRuI/bin/python
      --compatibility off`

      [stderr]
      🔗 Found pyo3 bindings
      🐍 Found CPython 3.14 at
      /Users/timorgruber/.cache/uv/builds-v0/.tmp2XxRuI/bin/python
      📡 Using build options features from pyproject.toml
      💻 Using `MACOSX_DEPLOYMENT_TARGET=11.0` for aarch64-apple-darwin by
      default
         Compiling target-lexicon v0.13.5
         Compiling syn v2.0.117
         Compiling zmij v1.0.21
         Compiling ring v0.17.14
         Compiling serde_core v1.0.228
         Compiling getrandom v0.3.4
         Compiling zerocopy v0.8.48
         Compiling percent-encoding v2.3.2
         Compiling simd-adler32 v0.3.9
         Compiling adler2 v2.0.1
         Compiling pyo3-build-config v0.24.2
         Compiling serde_json v1.0.149
         Compiling rustls v0.23.37
         Compiling itoa v1.0.18
         Compiling icu_properties_data v1.5.1
         Compiling serde v1.0.228
         Compiling portable-atomic v1.13.1
         Compiling rustls-webpki v0.103.10
         Compiling synstructure v0.13.2
         Compiling pyo3-macros-backend v0.24.2
         Compiling pyo3-ffi v0.24.2
         Compiling miniz_oxide v0.8.9
         Compiling form_urlencoded v1.2.2
         Compiling rand_core v0.9.5
         Compiling crc32fast v1.5.0
         Compiling ppv-lite86 v0.2.21
         Compiling icu_locid_transform_data v1.5.1
         Compiling webpki-roots v1.0.6
         Compiling option-ext v0.2.0
         Compiling unicode-general-category v1.1.0
         Compiling subtle v2.6.1
         Compiling thiserror v2.0.18
         Compiling icu_normalizer_data v1.5.1
         Compiling unicode-width v0.2.2
         Compiling zerofrom-derive v0.1.6
         Compiling displaydoc v0.2.5
         Compiling yoke-derive v0.8.1
         Compiling zerovec-derive v0.11.2
         Compiling yoke-derive v0.7.5
         Compiling zerovec-derive v0.10.3
         Compiling icu_provider_macros v1.5.0
         Compiling serde_derive v1.0.228
         Compiling autocfg v1.5.0
         Compiling byteorder v1.5.0
         Compiling log v0.4.29
         Compiling memoffset v0.9.1
         Compiling zerofrom v0.1.6
         Compiling socks v0.3.4
         Compiling console v0.15.11
         Compiling thiserror-impl v2.0.18
         Compiling yoke v0.8.1
         Compiling yoke v0.7.5
         Compiling rand_chacha v0.9.0
         Compiling dirs-sys v0.5.0
         Compiling webpki-roots v0.26.11
         Compiling flate2 v1.1.9
         Compiling zerovec v0.11.5
         Compiling zerotrie v0.2.3
         Compiling zerovec v0.10.4
      error: failed to run custom build command for `pyo3-ffi v0.24.2`

      Caused by:
        process didn't exit successfully:
      `/Users/timorgruber/.cache/uv/sdists-v9/pypi/tokie/0.0.9/GrQUJQvV2bHyUloy/src/target/release/build/pyo3-ffi-41fa1fe56e024517/build-script-build`
      (exit status: 1)
        --- stdout
        cargo:rustc-check-cfg=cfg(Py_LIMITED_API)
        cargo:rustc-check-cfg=cfg(Py_GIL_DISABLED)
        cargo:rustc-check-cfg=cfg(PyPy)
        cargo:rustc-check-cfg=cfg(GraalPy)
        cargo:rustc-check-cfg=cfg(py_sys_config, values("Py_DEBUG",
      "Py_REF_DEBUG", "Py_TRACE_REFS", "COUNT_ALLOCS"))
        cargo:rustc-check-cfg=cfg(pyo3_disable_reference_pool)
        cargo:rustc-check-cfg=cfg(pyo3_leak_on_drop_without_reference_pool)
        cargo:rustc-check-cfg=cfg(Py_3_7)
        cargo:rustc-check-cfg=cfg(Py_3_8)
        cargo:rustc-check-cfg=cfg(Py_3_9)
        cargo:rustc-check-cfg=cfg(Py_3_10)
        cargo:rustc-check-cfg=cfg(Py_3_11)
        cargo:rustc-check-cfg=cfg(Py_3_12)
        cargo:rustc-check-cfg=cfg(Py_3_13)
        cargo:rustc-check-cfg=cfg(Py_3_14)
        cargo:rerun-if-env-changed=PYO3_CROSS
        cargo:rerun-if-env-changed=PYO3_CROSS_LIB_DIR
        cargo:rerun-if-env-changed=PYO3_CROSS_PYTHON_VERSION
        cargo:rerun-if-env-changed=PYO3_CROSS_PYTHON_IMPLEMENTATION
        cargo:rerun-if-env-changed=PYO3_PRINT_CONFIG
        cargo:rerun-if-env-changed=PYO3_USE_ABI3_FORWARD_COMPATIBILITY

        --- stderr
        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.24.2
        = 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
      CARGO_ENCODED_RUSTFLAGS="-C\u{1f}link-arg=-undefined\u{1f}-C\u{1f}link-arg=dynamic_lookup"
      MACOSX_DEPLOYMENT_TARGET="11.0" PYO3_BUILD_EXTENSION_MODULE="1"
      PYO3_ENVIRONMENT_SIGNATURE="cpython-3.14-64bit"
      PYO3_PYTHON="/Users/timorgruber/.cache/uv/builds-v0/.tmp2XxRuI/bin/python"
      PYTHON_SYS_EXECUTABLE="/Users/timorgruber/.cache/uv/builds-v0/.tmp2XxRuI/bin/python"
      "cargo" "rustc" "--profile" "release" "--features"
      "pyo3/extension-module" "--message-format"
      "json-render-diagnostics" "--manifest-path"
      "/Users/timorgruber/.cache/uv/sdists-v9/pypi/tokie/0.0.9/GrQUJQvV2bHyUloy/src/crates/tokie-python/Cargo.toml"
      "--lib" "--" "-C"
      "link-args=-Wl,-install_name,@rpath/tokie.cpython-314-darwin.so"`
      Error: command ['maturin', 'pep517', 'build-wheel', '-i',
      '/Users/timorgruber/.cache/uv/builds-v0/.tmp2XxRuI/bin/python',
      '--compatibility', 'off'] returned non-zero exit status 1

      hint: This usually indicates a problem with the package or the build
      environment.

INFO  2026-05-08T20:49:49 +0ms service=mcp key=semble mcp stderr:   help: `tokie` (v0.0.9) was included because `semble` (v0.1.3) depends on
        `chonkie` (v1.6.5) which depends on `tokie`

Environment

OS: Mac 26.4.1
Arch: aarch64
Python: CPython 3.14 installed with uv

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