Skip to content

Provide wheels compatible with non-3.12 versions of Python #6

@ofek

Description

@ofek

https://pypi.org/project/duroxide/0.1.26/#files

Image

I tried installing to no avail:

❯ uv run --python 3.14 --no-project --isolated --no-cache --with duroxide -- python -c "import duroxide; print(duroxide)"
  × Failed to build `duroxide==0.1.26`
  ├─▶ The build backend returned an error
  ╰─▶ Call to `maturin.build_wheel` failed (exit code: 1)

      [stdout]
      Running `maturin pep517 build-wheel -i C:\Users\ofek\AppData\Local\Temp\.tmpvlnPPi\builds-v0\.tmpJT1wOR\Scripts\python.exe --compatibility off`

      [stderr]
      📦 Including license file `LICENSE`
      🍹 Building a mixed python/rust project
      🐍 Found CPython 3.14 at C:\Users\ofek\AppData\Local\Temp\.tmpvlnPPi\builds-v0\.tmpJT1wOR\Scripts\python.exe
      🔗 Found pyo3 bindings
      📡 Using build options features from pyproject.toml
         Compiling proc-macro2 v1.0.106
         Compiling unicode-ident v1.0.24
         Compiling quote v1.0.45
         Compiling serde_core v1.0.228
         Compiling serde v1.0.228
         Compiling cfg-if v1.0.4
         Compiling parking_lot_core v0.9.12
         Compiling windows-link v0.2.1
         Compiling pin-project-lite v0.2.17
         Compiling version_check v0.9.5
         Compiling icu_properties_data v2.2.0
         Compiling icu_normalizer_data v2.2.0
         Compiling futures-core v0.3.32
         Compiling scopeguard v1.2.0
         Compiling stable_deref_trait v1.2.1
         Compiling crossbeam-utils v0.8.21
         Compiling windows-sys v0.61.2
         Compiling once_cell v1.21.4
         Compiling lock_api v0.4.14
         Compiling bytes v1.11.1
         Compiling autocfg v1.5.1
         Compiling zmij v1.0.21
         Compiling futures-sink v0.3.32
         Compiling itoa v1.0.18
         Compiling memchr v2.8.0
         Compiling generic-array v0.14.7
         Compiling serde_json v1.0.150
         Compiling futures-channel v0.3.32
         Compiling litemap v0.8.2
         Compiling writeable v0.6.3
         Compiling futures-io v0.3.32
         Compiling num-traits v0.2.19
         Compiling slab v0.4.12
         Compiling utf8_iter v1.0.4
         Compiling futures-task v0.3.32
         Compiling windows_x86_64_msvc v0.48.5
         Compiling percent-encoding v2.3.2
         Compiling zerocopy v0.8.48
         Compiling tracing-core v0.1.36
         Compiling typenum v1.20.0
         Compiling log v0.4.30
         Compiling target-lexicon v0.12.16
         Compiling thiserror v2.0.18
         Compiling form_urlencoded v1.2.2
         Compiling syn v2.0.117
         Compiling find-msvc-tools v0.1.9
         Compiling native-tls v0.2.18
         Compiling shlex v1.3.0
         Compiling pkg-config v0.3.33
         Compiling base64 v0.22.1
         Compiling vcpkg v0.2.15
         Compiling cc v1.2.62
         Compiling subtle v2.6.1
         Compiling pyo3-build-config v0.23.5
         Compiling block-buffer v0.10.4
         Compiling crypto-common v0.1.7
         Compiling concurrent-queue v2.5.0
         Compiling digest v0.10.7
         Compiling http v1.4.0
         Compiling parking v2.2.1
         Compiling libc v0.2.186
         Compiling crc32fast v1.5.0
         Compiling equivalent v1.0.2
         Compiling event-listener v5.4.1
         Compiling allocator-api2 v0.2.21
         Compiling adler2 v2.0.1
         Compiling foldhash v0.1.5
         Compiling httparse v1.10.1
         Compiling http-body v1.0.1
         Compiling simd-adler32 v0.3.9
         Compiling hashbrown v0.15.5
         Compiling miniz_oxide v0.8.9
         Compiling futures-util v0.3.32
         Compiling getrandom v0.2.17
         Compiling crc-catalog v2.5.0
         Compiling bitflags v2.11.1
         Compiling tinyvec_macros v0.1.1
         Compiling try-lock v0.2.5
         Compiling hashbrown v0.17.1
         Compiling cpufeatures v0.2.17
         Compiling tower-service v0.3.3
         Compiling want v0.3.1
         Compiling sha2 v0.10.9
         Compiling tinyvec v1.11.0
         Compiling flate2 v1.1.9
         Compiling hashlink v0.10.0
         Compiling crc v3.4.0
         Compiling rand_core v0.6.4
         Compiling windows-targets v0.48.5
         Compiling indexmap v2.14.0
         Compiling chrono v0.4.44
         Compiling libsqlite3-sys v0.30.1
         Compiling crossbeam-queue v0.3.12
         Compiling atomic-waker v1.1.2
         Compiling compression-core v0.4.32
         Compiling getrandom v0.4.2
         Compiling rand_core v0.10.1
         Compiling synstructure v0.13.2
         Compiling semver v1.0.28
         Compiling heck v0.5.0
         Compiling rustc_version v0.4.1
         Compiling compression-codecs v0.4.38
         Compiling windows-sys v0.48.0
         Compiling unicode-normalization v0.1.25
         Compiling atoi v2.0.0
         Compiling http-body-util v0.1.3
         Compiling hmac v0.12.1
         Compiling spin v0.9.8
         Compiling sync_wrapper v1.0.2
         Compiling unicode-properties v0.1.4
         Compiling ryu v1.0.23
         Compiling tower-layer v0.3.3
         Compiling ipnet v2.12.0
         Compiling unicode-bidi v0.3.18
         Compiling futures-executor v0.3.32
         Compiling flume v0.11.1
         Compiling stringprep v0.1.5
         Compiling hkdf v0.12.4
         Compiling md-5 v0.10.6
         Compiling num-conv v0.2.2
         Compiling hex v0.4.3
         Compiling cpufeatures v0.3.0
         Compiling byteorder v1.5.0
         Compiling whoami v1.6.1
         Compiling dotenvy v0.15.7
         Compiling rustversion v1.0.22
         Compiling powerfmt v0.2.0
         Compiling time-core v0.1.8
         Compiling zeroize v1.8.2
         Compiling socket2 v0.6.3
         Compiling mio v1.2.0
         Compiling schannel v0.1.29
         Compiling rustls-pki-types v1.14.1
         Compiling time-macros v0.2.27
         Compiling deranged v0.5.8
         Compiling home v0.5.12
         Compiling chacha20 v0.10.0
         Compiling ppv-lite86 v0.2.21
         Compiling serde_derive v1.0.228
         Compiling zerofrom-derive v0.1.7
         Compiling yoke-derive v0.8.2
         Compiling zerovec-derive v0.11.3
         Compiling displaydoc v0.2.5
         Compiling tracing-attributes v0.1.31
         Compiling tokio-macros v2.7.0
         Compiling futures-macro v0.3.32
         Compiling thiserror-impl v2.0.18
         Compiling tokio v1.52.3
         Compiling rand_chacha v0.3.1
         Compiling async-trait v0.1.89
         Compiling pin-project-internal v1.1.13
         Compiling zerofrom v0.1.8
         Compiling etcetera v0.8.0
         Compiling yoke v0.8.2
         Compiling tracing v0.1.44
         Compiling rand v0.8.6
         Compiling zerovec v0.11.6
         Compiling zerotrie v0.2.4
         Compiling tinystr v0.8.3
         Compiling potential_utf v0.1.5
         Compiling icu_locale_core v2.2.0
         Compiling icu_collections v2.2.0
         Compiling regex-syntax v0.8.10
         Compiling time v0.3.47
         Compiling pin-project v1.1.13
         Compiling typespec_macros v0.13.0
         Compiling rand v0.10.1
         Compiling icu_provider v2.2.0
         Compiling uuid v1.23.1
         Compiling azure_core v0.35.0
         Compiling pyo3-macros-backend v0.23.5
         Compiling icu_properties v2.2.0
         Compiling regex-automata v0.4.14
         Compiling pyo3-ffi v0.23.5
         Compiling event-listener-strategy v0.5.4
         Compiling lazy_static v1.5.0
         Compiling dyn-clone v1.0.20
         Compiling tokio-stream v0.1.18
         Compiling futures v0.3.32
         Compiling sharded-slab v0.1.7
      error: failed to run custom build command for `pyo3-ffi v0.23.5`

      Caused by:
        process didn't exit successfully:
      `C:\Users\ofek\AppData\Local\Temp\.tmpvlnPPi\sdists-v9\pypi\duroxide\0.1.26\gDMnanE9yjOhZz0sk1HBx\src\target\release\build\pyo3-ffi-b27796cb18ab1be1\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(invalid_from_utf8_lint)
        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(diagnostic_namespace)
        cargo:rustc-check-cfg=cfg(c_str_lit)
        cargo:rustc-check-cfg=cfg(rustc_has_once_lock)
        cargo:rustc-check-cfg=cfg(fn_ptr_eq)
        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: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.23.5
        = 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 code: 101": `"cargo" "rustc" "--profile" "release" "--features" "pyo3/extension-module" "--message-format" "json-render-diagnostics"
      "--manifest-path" "C:\\Users\\ofek\\AppData\\Local\\Temp\\.tmpvlnPPi\\sdists-v9\\pypi\\duroxide\\0.1.26\\gDMnanE9yjOhZz0sk1HBx\\src\\Cargo.toml" "--lib"`
      Error: command ['maturin', 'pep517', 'build-wheel', '-i', 'C:\\Users\\ofek\\AppData\\Local\\Temp\\.tmpvlnPPi\\builds-v0\\.tmpJT1wOR\\Scripts\\python.exe', '--compatibility', 'off'] returned
      non-zero exit status 1

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    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