winrt-Microsoft.UI.Interop 2.1.0__tar.gz → 2.2.0__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (15) hide show
  1. {winrt_microsoft_ui_interop-2.1.0 → winrt_microsoft_ui_interop-2.2.0}/PKG-INFO +2 -2
  2. {winrt_microsoft_ui_interop-2.1.0 → winrt_microsoft_ui_interop-2.2.0}/py.Microsoft.UI.Interop.cpp +5 -0
  3. {winrt_microsoft_ui_interop-2.1.0 → winrt_microsoft_ui_interop-2.2.0}/pyproject.toml +3 -2
  4. winrt_microsoft_ui_interop-2.2.0/pywinrt-version.txt +1 -0
  5. {winrt_microsoft_ui_interop-2.1.0 → winrt_microsoft_ui_interop-2.2.0}/winrt_Microsoft.UI.Interop.egg-info/PKG-INFO +2 -2
  6. winrt_microsoft_ui_interop-2.1.0/pywinrt-version.txt +0 -1
  7. {winrt_microsoft_ui_interop-2.1.0 → winrt_microsoft_ui_interop-2.2.0}/README.md +0 -0
  8. {winrt_microsoft_ui_interop-2.1.0 → winrt_microsoft_ui_interop-2.2.0}/setup.cfg +0 -0
  9. {winrt_microsoft_ui_interop-2.1.0 → winrt_microsoft_ui_interop-2.2.0}/setup.py +0 -0
  10. {winrt_microsoft_ui_interop-2.1.0 → winrt_microsoft_ui_interop-2.2.0}/winrt/_winrt_microsoft_ui_interop.pyi +0 -0
  11. {winrt_microsoft_ui_interop-2.1.0 → winrt_microsoft_ui_interop-2.2.0}/winrt/microsoft/ui/interop/__init__.py +0 -0
  12. {winrt_microsoft_ui_interop-2.1.0 → winrt_microsoft_ui_interop-2.2.0}/winrt/microsoft/ui/interop/py.typed +0 -0
  13. {winrt_microsoft_ui_interop-2.1.0 → winrt_microsoft_ui_interop-2.2.0}/winrt_Microsoft.UI.Interop.egg-info/SOURCES.txt +0 -0
  14. {winrt_microsoft_ui_interop-2.1.0 → winrt_microsoft_ui_interop-2.2.0}/winrt_Microsoft.UI.Interop.egg-info/dependency_links.txt +0 -0
  15. {winrt_microsoft_ui_interop-2.1.0 → winrt_microsoft_ui_interop-2.2.0}/winrt_Microsoft.UI.Interop.egg-info/top_level.txt +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: winrt-Microsoft.UI.Interop
3
- Version: 2.1.0
3
+ Version: 2.2.0
4
4
  Summary: Python projection of Windows Runtime (WinRT) APIs
5
5
  License: MIT
6
6
  Project-URL: Documentation, https://pywinrt.readthedocs.io
@@ -10,7 +10,7 @@ Classifier: Operating System :: Microsoft :: Windows
10
10
  Classifier: Programming Language :: Python :: 3
11
11
  Classifier: Programming Language :: Python :: Implementation :: CPython
12
12
  Classifier: Intended Audience :: Developers
13
- Requires-Python: <3.13,>=3.9
13
+ Requires-Python: <3.14,>=3.9
14
14
  Description-Content-Type: text/markdown
15
15
 
16
16
  <!-- warning: Please don't edit this file. It was automatically generated. -->
@@ -181,6 +181,11 @@ PyMODINIT_FUNC PyInit__winrt_microsoft_ui_interop(void) noexcept
181
181
  {
182
182
  using namespace py::cpp::Microsoft::UI::Interop;
183
183
 
184
+ if (py::import_winrt_runtime() == -1)
185
+ {
186
+ return nullptr;
187
+ }
188
+
184
189
  py::pyobj_handle module{PyModule_Create(&module_def)};
185
190
 
186
191
  return module.detach();
@@ -16,7 +16,7 @@ classifiers = [
16
16
  "Intended Audience :: Developers",
17
17
  ]
18
18
  dynamic = ["version"]
19
- requires-python = ">=3.9,<3.13"
19
+ requires-python = ">=3.9,<3.14"
20
20
 
21
21
  [project.urls]
22
22
  # Homepage = "https://github.com/pywinrt/pywinrt"
@@ -34,7 +34,8 @@ version = { file = "pywinrt-version.txt" }
34
34
  # use local winrt-sdk build dependency
35
35
  environment = { PYTHONPATH="../../winrt-sdk/src;../../winrt-WindowsAppSDK/src" }
36
36
  # don't install winrt-sdk from PyPI
37
- build-frontend = { name = "build", args = ["--skip-dependency-check", "--no-isolation"] }
37
+ build-frontend = { name = "build[uv]", args = ["--skip-dependency-check", "--no-isolation"] }
38
+ before-build = "uv pip install setuptools"
38
39
  # don't build for PyPy
39
40
  skip = "pp*"
40
41
  # suppress warnings about ARM64 testing
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: winrt-Microsoft.UI.Interop
3
- Version: 2.1.0
3
+ Version: 2.2.0
4
4
  Summary: Python projection of Windows Runtime (WinRT) APIs
5
5
  License: MIT
6
6
  Project-URL: Documentation, https://pywinrt.readthedocs.io
@@ -10,7 +10,7 @@ Classifier: Operating System :: Microsoft :: Windows
10
10
  Classifier: Programming Language :: Python :: 3
11
11
  Classifier: Programming Language :: Python :: Implementation :: CPython
12
12
  Classifier: Intended Audience :: Developers
13
- Requires-Python: <3.13,>=3.9
13
+ Requires-Python: <3.14,>=3.9
14
14
  Description-Content-Type: text/markdown
15
15
 
16
16
  <!-- warning: Please don't edit this file. It was automatically generated. -->
@@ -1 +0,0 @@
1
- 2.1.0