Commit Graph

10 Commits

Author SHA1 Message Date
519cc13be0 Upgrade pyo3 to 0.16 (#956)
* Upgrade pyo3 to 0.15

Rebase-conflicts-fixed-by: H. Vetinari <h.vetinari@gmx.com>

* Upgrade pyo3 to 0.16

Rebase-conflicts-fixed-by: H. Vetinari <h.vetinari@gmx.com>

* Install Python before running cargo clippy

* Fix clippy warnings

* Use `PyArray_Check` instead of downcasting to `PyArray1<u8>`

* Enable `auto-initialize` of pyo3 to fix `cargo test
--no-default-features`

* Fix some test cases

Why do they change?

* Refactor and add SAFETY comments to `PyArrayUnicode`

Replace deprecated `PyUnicode_FromUnicode` with `PyUnicode_FromKindAndData`

Co-authored-by: messense <messense@icloud.com>
2022-05-05 15:48:40 +02:00
e1627654b4 Fix Clippy warnings for Rust 1.51 2021-04-05 16:05:48 -04:00
8f8156fd2c Adressing first pass of comments. 2020-09-24 08:57:02 +02:00
b1097a988f Python - Improved example with custom components 2020-09-23 15:50:01 -04:00
940f8bd8fa Update PyO3 (#426) 2020-09-22 12:00:20 -04:00
7833965dc4 Update Python bindings with new interface 2020-08-03 16:18:59 -04:00
f263d7651f Python - RustFmt 2020-02-18 15:07:34 -05:00
42bc3cb21f Simplify a few Option / Result pattern-matches 2020-02-05 07:11:47 -08:00
93a74aa53a Python - Expose PostProcessors 2019-12-16 18:46:14 -05:00
1c7be358b7 Python - Better error conversions 2019-12-13 12:14:27 -05:00