winrt-Windows.System.Diagnostics.Telemetry 2.1.0__tar.gz → 2.3.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.
- {winrt_windows_system_diagnostics_telemetry-2.1.0 → winrt_windows_system_diagnostics_telemetry-2.3.0}/PKG-INFO +3 -3
- {winrt_windows_system_diagnostics_telemetry-2.1.0 → winrt_windows_system_diagnostics_telemetry-2.3.0}/py.Windows.System.Diagnostics.Telemetry.cpp +64 -12
- {winrt_windows_system_diagnostics_telemetry-2.1.0 → winrt_windows_system_diagnostics_telemetry-2.3.0}/pyproject.toml +3 -2
- winrt_windows_system_diagnostics_telemetry-2.3.0/pywinrt-version.txt +1 -0
- {winrt_windows_system_diagnostics_telemetry-2.1.0 → winrt_windows_system_diagnostics_telemetry-2.3.0}/requirements.txt +2 -2
- {winrt_windows_system_diagnostics_telemetry-2.1.0 → winrt_windows_system_diagnostics_telemetry-2.3.0}/winrt/_winrt_windows_system_diagnostics_telemetry.pyi +1 -1
- {winrt_windows_system_diagnostics_telemetry-2.1.0 → winrt_windows_system_diagnostics_telemetry-2.3.0}/winrt/windows/system/diagnostics/telemetry/__init__.py +1 -1
- {winrt_windows_system_diagnostics_telemetry-2.1.0 → winrt_windows_system_diagnostics_telemetry-2.3.0}/winrt_Windows.System.Diagnostics.Telemetry.egg-info/PKG-INFO +3 -3
- winrt_windows_system_diagnostics_telemetry-2.3.0/winrt_Windows.System.Diagnostics.Telemetry.egg-info/requires.txt +1 -0
- winrt_windows_system_diagnostics_telemetry-2.1.0/pywinrt-version.txt +0 -1
- winrt_windows_system_diagnostics_telemetry-2.1.0/winrt_Windows.System.Diagnostics.Telemetry.egg-info/requires.txt +0 -1
- {winrt_windows_system_diagnostics_telemetry-2.1.0 → winrt_windows_system_diagnostics_telemetry-2.3.0}/README.md +0 -0
- {winrt_windows_system_diagnostics_telemetry-2.1.0 → winrt_windows_system_diagnostics_telemetry-2.3.0}/setup.cfg +0 -0
- {winrt_windows_system_diagnostics_telemetry-2.1.0 → winrt_windows_system_diagnostics_telemetry-2.3.0}/setup.py +0 -0
- {winrt_windows_system_diagnostics_telemetry-2.1.0 → winrt_windows_system_diagnostics_telemetry-2.3.0}/winrt/windows/system/diagnostics/telemetry/py.typed +0 -0
- {winrt_windows_system_diagnostics_telemetry-2.1.0 → winrt_windows_system_diagnostics_telemetry-2.3.0}/winrt_Windows.System.Diagnostics.Telemetry.egg-info/SOURCES.txt +0 -0
- {winrt_windows_system_diagnostics_telemetry-2.1.0 → winrt_windows_system_diagnostics_telemetry-2.3.0}/winrt_Windows.System.Diagnostics.Telemetry.egg-info/dependency_links.txt +0 -0
- {winrt_windows_system_diagnostics_telemetry-2.1.0 → winrt_windows_system_diagnostics_telemetry-2.3.0}/winrt_Windows.System.Diagnostics.Telemetry.egg-info/top_level.txt +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: winrt-Windows.System.Diagnostics.Telemetry
|
|
3
|
-
Version: 2.
|
|
3
|
+
Version: 2.3.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,9 +10,9 @@ 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
|
+
Requires-Python: <3.14,>=3.9
|
|
14
14
|
Description-Content-Type: text/markdown
|
|
15
|
-
Requires-Dist: winrt-runtime==2.
|
|
15
|
+
Requires-Dist: winrt-runtime==2.3.0
|
|
16
16
|
|
|
17
17
|
<!-- warning: Please don't edit this file. It was automatically generated. -->
|
|
18
18
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// WARNING: Please don't edit this file. It was generated by Python/WinRT v2.
|
|
1
|
+
// WARNING: Please don't edit this file. It was generated by Python/WinRT v2.3.0
|
|
2
2
|
|
|
3
3
|
#include "py.Windows.System.Diagnostics.Telemetry.h"
|
|
4
4
|
|
|
@@ -21,7 +21,14 @@ namespace py::cpp::Windows::System::Diagnostics::Telemetry
|
|
|
21
21
|
{
|
|
22
22
|
try
|
|
23
23
|
{
|
|
24
|
-
|
|
24
|
+
static std::optional<bool> is_overload_present{};
|
|
25
|
+
|
|
26
|
+
if (!is_overload_present.has_value())
|
|
27
|
+
{
|
|
28
|
+
is_overload_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsMethodPresent(L"Windows.System.Diagnostics.Telemetry.PlatformTelemetryClient", L"Register", 1);
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
if (!is_overload_present.value())
|
|
25
32
|
{
|
|
26
33
|
py::set_arg_count_version_error(1);
|
|
27
34
|
return nullptr;
|
|
@@ -41,7 +48,14 @@ namespace py::cpp::Windows::System::Diagnostics::Telemetry
|
|
|
41
48
|
{
|
|
42
49
|
try
|
|
43
50
|
{
|
|
44
|
-
|
|
51
|
+
static std::optional<bool> is_overload_present{};
|
|
52
|
+
|
|
53
|
+
if (!is_overload_present.has_value())
|
|
54
|
+
{
|
|
55
|
+
is_overload_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsMethodPresent(L"Windows.System.Diagnostics.Telemetry.PlatformTelemetryClient", L"Register", 2);
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
if (!is_overload_present.value())
|
|
45
59
|
{
|
|
46
60
|
py::set_arg_count_version_error(2);
|
|
47
61
|
return nullptr;
|
|
@@ -134,7 +148,14 @@ namespace py::cpp::Windows::System::Diagnostics::Telemetry
|
|
|
134
148
|
{
|
|
135
149
|
try
|
|
136
150
|
{
|
|
137
|
-
|
|
151
|
+
static std::optional<bool> is_property_present{};
|
|
152
|
+
|
|
153
|
+
if (!is_property_present.has_value())
|
|
154
|
+
{
|
|
155
|
+
is_property_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.System.Diagnostics.Telemetry.PlatformTelemetryRegistrationResult", L"Status");
|
|
156
|
+
}
|
|
157
|
+
|
|
158
|
+
if (!is_property_present.value())
|
|
138
159
|
{
|
|
139
160
|
PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
|
|
140
161
|
return nullptr;
|
|
@@ -214,7 +235,7 @@ namespace py::cpp::Windows::System::Diagnostics::Telemetry
|
|
|
214
235
|
{
|
|
215
236
|
try
|
|
216
237
|
{
|
|
217
|
-
winrt::Windows::System::Diagnostics::Telemetry::PlatformTelemetryRegistrationSettings instance{
|
|
238
|
+
winrt::Windows::System::Diagnostics::Telemetry::PlatformTelemetryRegistrationSettings instance{};
|
|
218
239
|
return py::wrap(instance, type);
|
|
219
240
|
}
|
|
220
241
|
catch (...)
|
|
@@ -242,7 +263,14 @@ namespace py::cpp::Windows::System::Diagnostics::Telemetry
|
|
|
242
263
|
{
|
|
243
264
|
try
|
|
244
265
|
{
|
|
245
|
-
|
|
266
|
+
static std::optional<bool> is_property_present{};
|
|
267
|
+
|
|
268
|
+
if (!is_property_present.has_value())
|
|
269
|
+
{
|
|
270
|
+
is_property_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.System.Diagnostics.Telemetry.PlatformTelemetryRegistrationSettings", L"UploadQuotaSize");
|
|
271
|
+
}
|
|
272
|
+
|
|
273
|
+
if (!is_property_present.value())
|
|
246
274
|
{
|
|
247
275
|
PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
|
|
248
276
|
return nullptr;
|
|
@@ -267,7 +295,14 @@ namespace py::cpp::Windows::System::Diagnostics::Telemetry
|
|
|
267
295
|
|
|
268
296
|
try
|
|
269
297
|
{
|
|
270
|
-
|
|
298
|
+
static std::optional<bool> is_property_present{};
|
|
299
|
+
|
|
300
|
+
if (!is_property_present.has_value())
|
|
301
|
+
{
|
|
302
|
+
is_property_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.System.Diagnostics.Telemetry.PlatformTelemetryRegistrationSettings", L"UploadQuotaSize");
|
|
303
|
+
}
|
|
304
|
+
|
|
305
|
+
if (!is_property_present.value())
|
|
271
306
|
{
|
|
272
307
|
PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
|
|
273
308
|
return -1;
|
|
@@ -289,7 +324,14 @@ namespace py::cpp::Windows::System::Diagnostics::Telemetry
|
|
|
289
324
|
{
|
|
290
325
|
try
|
|
291
326
|
{
|
|
292
|
-
|
|
327
|
+
static std::optional<bool> is_property_present{};
|
|
328
|
+
|
|
329
|
+
if (!is_property_present.has_value())
|
|
330
|
+
{
|
|
331
|
+
is_property_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.System.Diagnostics.Telemetry.PlatformTelemetryRegistrationSettings", L"StorageSize");
|
|
332
|
+
}
|
|
333
|
+
|
|
334
|
+
if (!is_property_present.value())
|
|
293
335
|
{
|
|
294
336
|
PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
|
|
295
337
|
return nullptr;
|
|
@@ -314,7 +356,14 @@ namespace py::cpp::Windows::System::Diagnostics::Telemetry
|
|
|
314
356
|
|
|
315
357
|
try
|
|
316
358
|
{
|
|
317
|
-
|
|
359
|
+
static std::optional<bool> is_property_present{};
|
|
360
|
+
|
|
361
|
+
if (!is_property_present.has_value())
|
|
362
|
+
{
|
|
363
|
+
is_property_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.System.Diagnostics.Telemetry.PlatformTelemetryRegistrationSettings", L"StorageSize");
|
|
364
|
+
}
|
|
365
|
+
|
|
366
|
+
if (!is_property_present.value())
|
|
318
367
|
{
|
|
319
368
|
PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
|
|
320
369
|
return -1;
|
|
@@ -434,17 +483,20 @@ PyMODINIT_FUNC PyInit__winrt_windows_system_diagnostics_telemetry(void) noexcept
|
|
|
434
483
|
return nullptr;
|
|
435
484
|
}
|
|
436
485
|
|
|
437
|
-
|
|
486
|
+
py::pytype_handle PlatformTelemetryClient_type{py::register_python_type(module.get(), &type_spec_PlatformTelemetryClient, object_bases.get(), reinterpret_cast<PyTypeObject*>(type_PlatformTelemetryClient_Static.get()))};
|
|
487
|
+
if (!PlatformTelemetryClient_type)
|
|
438
488
|
{
|
|
439
489
|
return nullptr;
|
|
440
490
|
}
|
|
441
491
|
|
|
442
|
-
|
|
492
|
+
py::pytype_handle PlatformTelemetryRegistrationResult_type{py::register_python_type(module.get(), &type_spec_PlatformTelemetryRegistrationResult, object_bases.get(), nullptr)};
|
|
493
|
+
if (!PlatformTelemetryRegistrationResult_type)
|
|
443
494
|
{
|
|
444
495
|
return nullptr;
|
|
445
496
|
}
|
|
446
497
|
|
|
447
|
-
|
|
498
|
+
py::pytype_handle PlatformTelemetryRegistrationSettings_type{py::register_python_type(module.get(), &type_spec_PlatformTelemetryRegistrationSettings, object_bases.get(), nullptr)};
|
|
499
|
+
if (!PlatformTelemetryRegistrationSettings_type)
|
|
448
500
|
{
|
|
449
501
|
return nullptr;
|
|
450
502
|
}
|
|
@@ -16,7 +16,7 @@ classifiers = [
|
|
|
16
16
|
"Intended Audience :: Developers",
|
|
17
17
|
]
|
|
18
18
|
dynamic = ["version", "dependencies"]
|
|
19
|
-
requires-python = ">=3.9,<3.
|
|
19
|
+
requires-python = ">=3.9,<3.14"
|
|
20
20
|
|
|
21
21
|
[project.urls]
|
|
22
22
|
# Homepage = "https://github.com/pywinrt/pywinrt"
|
|
@@ -35,7 +35,8 @@ dependencies = { file = "requirements.txt" }
|
|
|
35
35
|
# use local winrt-sdk build dependency
|
|
36
36
|
environment = { PYTHONPATH="../winrt-sdk/src" }
|
|
37
37
|
# don't install winrt-sdk from PyPI
|
|
38
|
-
build-frontend = { name = "build", args = ["--skip-dependency-check", "--no-isolation"] }
|
|
38
|
+
build-frontend = { name = "build[uv]", args = ["--skip-dependency-check", "--no-isolation"] }
|
|
39
|
+
before-build = "uv pip install setuptools"
|
|
39
40
|
# don't build for PyPy
|
|
40
41
|
skip = "pp*"
|
|
41
42
|
# suppress warnings about ARM64 testing
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
2.3.0
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
# WARNING: Please don't edit this file. It was generated by Python/WinRT v2.
|
|
1
|
+
# WARNING: Please don't edit this file. It was generated by Python/WinRT v2.3.0
|
|
2
2
|
|
|
3
|
-
winrt-runtime==2.
|
|
3
|
+
winrt-runtime==2.3.0
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: winrt-Windows.System.Diagnostics.Telemetry
|
|
3
|
-
Version: 2.
|
|
3
|
+
Version: 2.3.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,9 +10,9 @@ 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
|
+
Requires-Python: <3.14,>=3.9
|
|
14
14
|
Description-Content-Type: text/markdown
|
|
15
|
-
Requires-Dist: winrt-runtime==2.
|
|
15
|
+
Requires-Dist: winrt-runtime==2.3.0
|
|
16
16
|
|
|
17
17
|
<!-- warning: Please don't edit this file. It was automatically generated. -->
|
|
18
18
|
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
winrt-runtime==2.3.0
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
2.1.0
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
winrt-runtime==2.1.0
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|