Skip to content

Python3.14-nogil Support #4

Description

@clauspruefer

Problem

Currently building the atomicx module with pip3.14 fails with:

The configured Python interpreter version (3.14) is newer than PyO3's maximum supported version (3.13).

Solution

atomicx/Cargo.toml

Lines 11 to 14 in a3c3505

[dependencies]
num = "0.4.3"
portable-atomic = { version = "1.9.0", features = ["std", "float"] }
pyo3 = { version = "0.23", default-features = false, features = ["extension-module", "macros"] }

In line 14: update pyo3 version to 0.27 (currently tested, working on Ubuntu 24.04.3 LTS with Python3.14-nogil from deadsnakes PPA).
pyo3 = { version = "0.27", default-features = false, features = ["extension-module", "macros"] }

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions