PyO3 v0.17.2 Release Notes

Release Date: 2022-10-04 // 8 months ago
  • Packaging

    • โž• Added optional chrono feature to convert chrono types into types in the datetime module. #2612

    โž• Added

    • โž• Add support for num-bigint feature on PyPy. #2626

    ๐Ÿ›  Fixed

    • Correctly implement __richcmp__ for enums, fixing __ne__ returning always returning True. #2622
    • ๐Ÿ›  Fix compile error since 0.17.0 with Option<&SomePyClass> argument with a default. #2630
    • ๐Ÿ›  Fix regression of impl FromPyObject for Vec<T> no longer accepting types passing PySequence_Check, e.g. NumPy arrays, since 0.17.0. #2631

Previous changes from v0.17.1

  • ๐Ÿ›  Fixed

    • ๐Ÿ›  Fix visibility of PyDictItems, PyDictKeys, and PyDictValues types added in PyO3 0.17.0.
    • Fix compile failure when using #[pyo3(from_py_with = "...")] attribute on an argument of type Option<T>. #2592
    • ๐Ÿ›  Fix clippy redundant-closure lint on **kwargs arguments for #[pyfunction] and #[pymethods]. #2595