Skip to content

Commit

Permalink
Bump to PyO3 v0.19
Browse files Browse the repository at this point in the history
  • Loading branch information
Julian committed Jul 5, 2023
1 parent 01e9337 commit 3eeb532
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 16 deletions.
24 changes: 12 additions & 12 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -12,5 +12,5 @@ rpds = "0.13.0"
archery = "0.5.0"

[dependencies.pyo3]
version = "0.18.3"
features = ["abi3-py38"]
version = "0.19.1"
features = ["extension-module"]
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[build-system]
requires = ["maturin>=0.14,<0.15"]
requires = ["maturin>=1.0,<2.0"]
build-backend = "maturin"

[project]
Expand Down
2 changes: 1 addition & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,7 @@ impl HashTrieMapPy {

#[classmethod]
fn convert(_cls: &PyType, value: &PyAny, py: Python) -> PyResult<PyObject> {
if value.is_instance_of::<HashTrieMapPy>()? {
if value.is_instance_of::<HashTrieMapPy>() {
Ok(value.into())
} else {
Ok(HashTrieMapPy::extract(value)?.into_py(py))
Expand Down

0 comments on commit 3eeb532

Please sign in to comment.