Upgrade to PyO3 0.24

The main change is that Rust paths are mapped to pathlib.Path, which changes our API (stricter).
This commit is contained in:
Simon Hausmann 2025-04-03 12:16:10 +02:00 committed by Simon Hausmann
parent 0c51f69b0a
commit 826ad7a865
10 changed files with 51 additions and 51 deletions

View file

@ -5,6 +5,7 @@ from slint import slint as native
import weakref
import gc
import typing
from pathlib import Path
def test_callback_gc() -> None:
@ -17,7 +18,7 @@ def test_callback_gc() -> None:
callback test-callback(string) -> string;
}
""",
"",
Path(""),
).component("Test")
assert compdef is not None