PyO3 v0.17.2 Release Notes

Release Date: 2022-10-04 // over 2 years 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