Skip to content

Support PyO3 0.23 #11934

@ngoldbaum

Description

@ngoldbaum

0.23 is basically complete right now. It looks like a lot of rust code will need to be updated:

$ cargo check --all --tests
...
error: could not compile `cryptography-rust` (lib test) due to 50 previous errors; 370 warnings emitted

See this gist for the full error output.

It looks like almost everything can be fixed mechanically or by following the migration guide in PyO3 for IntoPyObject. I don't see anything related to missing Sync impls, which is a good sign as far as eventual free-threading support goes.

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