Skip to content

Support for PyO3 0.23 #455

Closed
Closed
@ngoldbaum

Description

@ngoldbaum

I'm looking at using rust-numpy with the free-threaded Python build and it looks like the first blocker is 0.23 support. The error I hit out of the box after pointing the cargo.toml at my local copy of PyO3 is:

error: failed to select a version for `pyo3`.
    ... required by package `numpy v0.21.0 (/Users/goldbaum/Documents/rust-numpy)`
versions that meet the requirements `*` are: 0.23.0-dev

the package `numpy` depends on `pyo3`, with features: `gil-refs` but `pyo3` does not have these features.

So it looks like the first step is removing the uses of the gil-refs feature and fully transitioning to the bound reference API.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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