Skip to content

Add 3.15 support by bumping pyo3 to 0.29 #29

Description

@clin1234
Building wheels for collected packages: loro
  Building wheel for loro (pyproject.toml) ... error
  error: subprocess-exited-with-error

  × Building wheel for loro (pyproject.toml) did not run successfully.
  │ exit code: 1
  ╰─> [138 lines of output]
      Running `maturin pep517 build-wheel -i C:\Users\שזדס\AppData\Local\Python\pythoncore-3.15t-64\python.exe --compatibility off`
      🐍 Found CPython 3.15t at C:\Users\שזדס\AppData\Local\Python\pythoncore-3.15t-64\python.exe
      🔗 Found pyo3 bindings
      📡 Using build options features from pyproject.toml
         Compiling proc-macro2 v1.0.92
         Compiling unicode-ident v1.0.14
         Compiling byteorder v1.5.0
         Compiling autocfg v1.4.0
         Compiling cfg-if v1.0.0
         Compiling serde v1.0.217
         Compiling target-lexicon v0.13.2
         Compiling semver v1.0.24
         Compiling scopeguard v1.2.0
         Compiling stable_deref_trait v1.2.0
         Compiling once_cell v1.21.3
         Compiling version_check v0.9.5
         Compiling fnv v1.0.7
         Compiling strsim v0.11.1
         Compiling ident_case v1.0.1
         Compiling either v1.13.0
         Compiling heck v0.5.0
         Compiling parking_lot_core v0.9.12
         Compiling thiserror v1.0.69
         Compiling typenum v1.17.0
         Compiling getrandom v0.2.15
         Compiling lock_api v0.4.14
         Compiling serde_json v1.0.134
         Compiling rustc-hash v2.1.1
         Compiling hash32 v0.2.1
         Compiling hash32 v0.3.1
         Compiling syn v1.0.109
         Compiling itertools v0.11.0
         Compiling cobs v0.2.3
         Compiling memchr v2.7.4
         Compiling ahash v0.8.11
         Compiling num-traits v0.2.19
         Compiling ucd-trie v0.1.7
         Compiling heapless v0.9.2
         Compiling rand_core v0.6.4
         Compiling spin v0.9.8
         Compiling windows-link v0.2.1
         Compiling ryu v1.0.18
         Compiling static_assertions v1.1.0
         Compiling itoa v1.0.14
         Compiling append-only-bytes v0.1.12
         Compiling pest v2.8.4
         Compiling heapless v0.8.0
         Compiling twox-hash v1.6.3
         Compiling im v15.1.0
         Compiling rustc_version v0.4.1
         Compiling tracing-core v0.1.33
         Compiling heck v0.4.1
         Compiling equivalent v1.0.1
         Compiling pin-project-lite v0.2.15
         Compiling arref v0.1.0
         Compiling loro-thunderdome v0.6.2
         Compiling leb128 v0.2.5
         Compiling bitmaps v2.1.0
         Compiling pyo3-build-config v0.26.0
         Compiling nonmax v0.5.5
         Compiling hashbrown v0.14.5
         Compiling libc v0.2.169
         Compiling quote v1.0.38
         Compiling heapless v0.7.17
         Compiling lz4_flex v0.11.3
         Compiling rand_xoshiro v0.6.0
         Compiling memoffset v0.9.1
         Compiling ensure-cov v0.1.0
         Compiling bytes v1.9.0
         Compiling diff v0.1.13
         Compiling syn v2.0.93
         Compiling pest_meta v2.8.4
         Compiling sized-chunks v0.6.5
         Compiling xxhash-rust v0.8.15
         Compiling yansi v1.0.1
         Compiling generic-btree v0.10.7
         Compiling arrayvec v0.7.6
         Compiling itertools v0.12.1
         Compiling thread_local v1.1.8
         Compiling md5 v0.7.0
         Compiling unindent v0.2.3
         Compiling num-integer v0.1.46
         Compiling num-complex v0.4.6
         Compiling pretty_assertions v1.4.1
         Compiling indoc v2.0.5
         Compiling num-bigint v0.4.6
         Compiling num-iter v0.1.45
         Compiling pyo3-ffi v0.26.0
         Compiling pyo3-macros-backend v0.26.0
         Compiling pyo3 v0.26.0
         Compiling enum-as-inner v0.5.1
         Compiling darling_core v0.20.10
         Compiling pest_generator v2.8.4
         Compiling loro-delta v1.13.0
         Compiling num-rational v0.4.2
         Compiling serde_derive v1.0.217
         Compiling zerocopy-derive v0.7.35
         Compiling thiserror-impl v1.0.69
         Compiling derive_arbitrary v1.4.1
         Compiling tracing-attributes v0.1.28
         Compiling enum-as-inner v0.6.1
         Compiling enum_dispatch v0.3.13
      error: failed to run custom build command for `pyo3-ffi v0.26.0`

      Caused by:
        process didn't exit successfully: `C:\Users\שזדס\AppData\Local\Temp\pip-install-0bpzgbxn\loro_748040d9b33d4164b07b9aa74592fd9f\target\release\build\pyo3-ffi-8268cc0fcd31aa74\build-script-build` (exit code: 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:rustc-check-cfg=cfg(Py_3_15)
        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

        --- stderr
        error: The configured Python interpreter version (3.15) is newer than PyO3's maximum supported version (3.14)
        = help: please check if an updated version of PyO3 is available. Current version: 0.26.0
        = help: The free-threaded build of CPython does not support the limited API so this check cannot be suppressed.
      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 code: 101": `"cargo" "rustc" "--profile" "release" "--features" "pyo3/extension-module" "--message-format" "json-render-diagnostics" "--manifest-path" "C:\\Users\\שזדס\\AppData\\Local\\Temp\\pip-install-0bpzgbxn\\loro_748040d9b33d4164b07b9aa74592fd9f\\Cargo.toml" "--lib"`
      Error: command ['maturin', 'pep517', 'build-wheel', '-i', 'C:\\Users\\שזדס\\AppData\\Local\\Python\\pythoncore-3.15t-64\\python.exe', '--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 loro
Failed to build loro
error: failed-wheel-build-for-install

× Failed to build installable wheels for some pyproject.toml based projects
╰─> loro

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