mirror of
https://github.com/slint-ui/slint.git
synced 2025-09-26 11:59:29 +00:00
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:
parent
0c51f69b0a
commit
826ad7a865
10 changed files with 51 additions and 51 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue