winrt-Windows.System.Profile.SystemManufacturers 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.
Files changed (19) hide show
  1. {winrt_windows_system_profile_systemmanufacturers-2.1.0 → winrt_windows_system_profile_systemmanufacturers-2.3.0}/PKG-INFO +4 -4
  2. {winrt_windows_system_profile_systemmanufacturers-2.1.0 → winrt_windows_system_profile_systemmanufacturers-2.3.0}/all-requirements.txt +2 -2
  3. {winrt_windows_system_profile_systemmanufacturers-2.1.0 → winrt_windows_system_profile_systemmanufacturers-2.3.0}/py.Windows.System.Profile.SystemManufacturers.cpp +121 -19
  4. {winrt_windows_system_profile_systemmanufacturers-2.1.0 → winrt_windows_system_profile_systemmanufacturers-2.3.0}/pyproject.toml +3 -2
  5. winrt_windows_system_profile_systemmanufacturers-2.3.0/pywinrt-version.txt +1 -0
  6. {winrt_windows_system_profile_systemmanufacturers-2.1.0 → winrt_windows_system_profile_systemmanufacturers-2.3.0}/requirements.txt +2 -2
  7. {winrt_windows_system_profile_systemmanufacturers-2.1.0 → winrt_windows_system_profile_systemmanufacturers-2.3.0}/winrt/_winrt_windows_system_profile_systemmanufacturers.pyi +1 -1
  8. {winrt_windows_system_profile_systemmanufacturers-2.1.0 → winrt_windows_system_profile_systemmanufacturers-2.3.0}/winrt/windows/system/profile/systemmanufacturers/__init__.py +1 -1
  9. {winrt_windows_system_profile_systemmanufacturers-2.1.0 → winrt_windows_system_profile_systemmanufacturers-2.3.0}/winrt_Windows.System.Profile.SystemManufacturers.egg-info/PKG-INFO +4 -4
  10. winrt_windows_system_profile_systemmanufacturers-2.3.0/winrt_Windows.System.Profile.SystemManufacturers.egg-info/requires.txt +4 -0
  11. winrt_windows_system_profile_systemmanufacturers-2.1.0/pywinrt-version.txt +0 -1
  12. winrt_windows_system_profile_systemmanufacturers-2.1.0/winrt_Windows.System.Profile.SystemManufacturers.egg-info/requires.txt +0 -4
  13. {winrt_windows_system_profile_systemmanufacturers-2.1.0 → winrt_windows_system_profile_systemmanufacturers-2.3.0}/README.md +0 -0
  14. {winrt_windows_system_profile_systemmanufacturers-2.1.0 → winrt_windows_system_profile_systemmanufacturers-2.3.0}/setup.cfg +0 -0
  15. {winrt_windows_system_profile_systemmanufacturers-2.1.0 → winrt_windows_system_profile_systemmanufacturers-2.3.0}/setup.py +0 -0
  16. {winrt_windows_system_profile_systemmanufacturers-2.1.0 → winrt_windows_system_profile_systemmanufacturers-2.3.0}/winrt/windows/system/profile/systemmanufacturers/py.typed +0 -0
  17. {winrt_windows_system_profile_systemmanufacturers-2.1.0 → winrt_windows_system_profile_systemmanufacturers-2.3.0}/winrt_Windows.System.Profile.SystemManufacturers.egg-info/SOURCES.txt +0 -0
  18. {winrt_windows_system_profile_systemmanufacturers-2.1.0 → winrt_windows_system_profile_systemmanufacturers-2.3.0}/winrt_Windows.System.Profile.SystemManufacturers.egg-info/dependency_links.txt +0 -0
  19. {winrt_windows_system_profile_systemmanufacturers-2.1.0 → winrt_windows_system_profile_systemmanufacturers-2.3.0}/winrt_Windows.System.Profile.SystemManufacturers.egg-info/top_level.txt +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: winrt-Windows.System.Profile.SystemManufacturers
3
- Version: 2.1.0
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,11 +10,11 @@ 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
- Requires-Dist: winrt-runtime==2.1.0
15
+ Requires-Dist: winrt-runtime==2.3.0
16
16
  Provides-Extra: all
17
- Requires-Dist: winrt-Windows.Foundation[all]==2.1.0; extra == "all"
17
+ Requires-Dist: winrt-Windows.Foundation[all]==2.3.0; extra == "all"
18
18
 
19
19
  <!-- warning: Please don't edit this file. It was automatically generated. -->
20
20
 
@@ -1,3 +1,3 @@
1
- # WARNING: Please don't edit this file. It was generated by Python/WinRT v2.1.0
1
+ # WARNING: Please don't edit this file. It was generated by Python/WinRT v2.3.0
2
2
 
3
- winrt-Windows.Foundation[all]==2.1.0
3
+ winrt-Windows.Foundation[all]==2.3.0
@@ -1,4 +1,4 @@
1
- // WARNING: Please don't edit this file. It was generated by Python/WinRT v2.1.0
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.Profile.SystemManufacturers.h"
4
4
 
@@ -25,7 +25,14 @@ namespace py::cpp::Windows::System::Profile::SystemManufacturers
25
25
  {
26
26
  try
27
27
  {
28
- if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.System.Profile.SystemManufacturers.OemSupportInfo", L"SupportAppLink"))
28
+ static std::optional<bool> is_property_present{};
29
+
30
+ if (!is_property_present.has_value())
31
+ {
32
+ is_property_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.System.Profile.SystemManufacturers.OemSupportInfo", L"SupportAppLink");
33
+ }
34
+
35
+ if (!is_property_present.value())
29
36
  {
30
37
  PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
31
38
  return nullptr;
@@ -44,7 +51,14 @@ namespace py::cpp::Windows::System::Profile::SystemManufacturers
44
51
  {
45
52
  try
46
53
  {
47
- if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.System.Profile.SystemManufacturers.OemSupportInfo", L"SupportLink"))
54
+ static std::optional<bool> is_property_present{};
55
+
56
+ if (!is_property_present.has_value())
57
+ {
58
+ is_property_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.System.Profile.SystemManufacturers.OemSupportInfo", L"SupportLink");
59
+ }
60
+
61
+ if (!is_property_present.value())
48
62
  {
49
63
  PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
50
64
  return nullptr;
@@ -63,7 +77,14 @@ namespace py::cpp::Windows::System::Profile::SystemManufacturers
63
77
  {
64
78
  try
65
79
  {
66
- if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.System.Profile.SystemManufacturers.OemSupportInfo", L"SupportProvider"))
80
+ static std::optional<bool> is_property_present{};
81
+
82
+ if (!is_property_present.has_value())
83
+ {
84
+ is_property_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.System.Profile.SystemManufacturers.OemSupportInfo", L"SupportProvider");
85
+ }
86
+
87
+ if (!is_property_present.value())
67
88
  {
68
89
  PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
69
90
  return nullptr;
@@ -143,7 +164,14 @@ namespace py::cpp::Windows::System::Profile::SystemManufacturers
143
164
  {
144
165
  try
145
166
  {
146
- if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.System.Profile.SystemManufacturers.SmbiosInformation", L"SerialNumber"))
167
+ static std::optional<bool> is_property_present{};
168
+
169
+ if (!is_property_present.has_value())
170
+ {
171
+ is_property_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.System.Profile.SystemManufacturers.SmbiosInformation", L"SerialNumber");
172
+ }
173
+
174
+ if (!is_property_present.value())
147
175
  {
148
176
  PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
149
177
  return nullptr;
@@ -227,7 +255,14 @@ namespace py::cpp::Windows::System::Profile::SystemManufacturers
227
255
  {
228
256
  try
229
257
  {
230
- if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.System.Profile.SystemManufacturers.SystemSupportDeviceInfo", L"FriendlyName"))
258
+ static std::optional<bool> is_property_present{};
259
+
260
+ if (!is_property_present.has_value())
261
+ {
262
+ is_property_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.System.Profile.SystemManufacturers.SystemSupportDeviceInfo", L"FriendlyName");
263
+ }
264
+
265
+ if (!is_property_present.value())
231
266
  {
232
267
  PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
233
268
  return nullptr;
@@ -246,7 +281,14 @@ namespace py::cpp::Windows::System::Profile::SystemManufacturers
246
281
  {
247
282
  try
248
283
  {
249
- if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.System.Profile.SystemManufacturers.SystemSupportDeviceInfo", L"OperatingSystem"))
284
+ static std::optional<bool> is_property_present{};
285
+
286
+ if (!is_property_present.has_value())
287
+ {
288
+ is_property_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.System.Profile.SystemManufacturers.SystemSupportDeviceInfo", L"OperatingSystem");
289
+ }
290
+
291
+ if (!is_property_present.value())
250
292
  {
251
293
  PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
252
294
  return nullptr;
@@ -265,7 +307,14 @@ namespace py::cpp::Windows::System::Profile::SystemManufacturers
265
307
  {
266
308
  try
267
309
  {
268
- if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.System.Profile.SystemManufacturers.SystemSupportDeviceInfo", L"SystemFirmwareVersion"))
310
+ static std::optional<bool> is_property_present{};
311
+
312
+ if (!is_property_present.has_value())
313
+ {
314
+ is_property_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.System.Profile.SystemManufacturers.SystemSupportDeviceInfo", L"SystemFirmwareVersion");
315
+ }
316
+
317
+ if (!is_property_present.value())
269
318
  {
270
319
  PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
271
320
  return nullptr;
@@ -284,7 +333,14 @@ namespace py::cpp::Windows::System::Profile::SystemManufacturers
284
333
  {
285
334
  try
286
335
  {
287
- if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.System.Profile.SystemManufacturers.SystemSupportDeviceInfo", L"SystemHardwareVersion"))
336
+ static std::optional<bool> is_property_present{};
337
+
338
+ if (!is_property_present.has_value())
339
+ {
340
+ is_property_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.System.Profile.SystemManufacturers.SystemSupportDeviceInfo", L"SystemHardwareVersion");
341
+ }
342
+
343
+ if (!is_property_present.value())
288
344
  {
289
345
  PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
290
346
  return nullptr;
@@ -303,7 +359,14 @@ namespace py::cpp::Windows::System::Profile::SystemManufacturers
303
359
  {
304
360
  try
305
361
  {
306
- if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.System.Profile.SystemManufacturers.SystemSupportDeviceInfo", L"SystemManufacturer"))
362
+ static std::optional<bool> is_property_present{};
363
+
364
+ if (!is_property_present.has_value())
365
+ {
366
+ is_property_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.System.Profile.SystemManufacturers.SystemSupportDeviceInfo", L"SystemManufacturer");
367
+ }
368
+
369
+ if (!is_property_present.value())
307
370
  {
308
371
  PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
309
372
  return nullptr;
@@ -322,7 +385,14 @@ namespace py::cpp::Windows::System::Profile::SystemManufacturers
322
385
  {
323
386
  try
324
387
  {
325
- if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.System.Profile.SystemManufacturers.SystemSupportDeviceInfo", L"SystemProductName"))
388
+ static std::optional<bool> is_property_present{};
389
+
390
+ if (!is_property_present.has_value())
391
+ {
392
+ is_property_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.System.Profile.SystemManufacturers.SystemSupportDeviceInfo", L"SystemProductName");
393
+ }
394
+
395
+ if (!is_property_present.value())
326
396
  {
327
397
  PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
328
398
  return nullptr;
@@ -341,7 +411,14 @@ namespace py::cpp::Windows::System::Profile::SystemManufacturers
341
411
  {
342
412
  try
343
413
  {
344
- if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.System.Profile.SystemManufacturers.SystemSupportDeviceInfo", L"SystemSku"))
414
+ static std::optional<bool> is_property_present{};
415
+
416
+ if (!is_property_present.has_value())
417
+ {
418
+ is_property_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.System.Profile.SystemManufacturers.SystemSupportDeviceInfo", L"SystemSku");
419
+ }
420
+
421
+ if (!is_property_present.value())
345
422
  {
346
423
  PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
347
424
  return nullptr;
@@ -425,7 +502,14 @@ namespace py::cpp::Windows::System::Profile::SystemManufacturers
425
502
  {
426
503
  try
427
504
  {
428
- if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.System.Profile.SystemManufacturers.SystemSupportInfo", L"LocalSystemEdition"))
505
+ static std::optional<bool> is_property_present{};
506
+
507
+ if (!is_property_present.has_value())
508
+ {
509
+ is_property_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.System.Profile.SystemManufacturers.SystemSupportInfo", L"LocalSystemEdition");
510
+ }
511
+
512
+ if (!is_property_present.value())
429
513
  {
430
514
  PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
431
515
  return nullptr;
@@ -444,7 +528,14 @@ namespace py::cpp::Windows::System::Profile::SystemManufacturers
444
528
  {
445
529
  try
446
530
  {
447
- if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.System.Profile.SystemManufacturers.SystemSupportInfo", L"OemSupportInfo"))
531
+ static std::optional<bool> is_property_present{};
532
+
533
+ if (!is_property_present.has_value())
534
+ {
535
+ is_property_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.System.Profile.SystemManufacturers.SystemSupportInfo", L"OemSupportInfo");
536
+ }
537
+
538
+ if (!is_property_present.value())
448
539
  {
449
540
  PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
450
541
  return nullptr;
@@ -463,7 +554,14 @@ namespace py::cpp::Windows::System::Profile::SystemManufacturers
463
554
  {
464
555
  try
465
556
  {
466
- if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.System.Profile.SystemManufacturers.SystemSupportInfo", L"LocalDeviceInfo"))
557
+ static std::optional<bool> is_property_present{};
558
+
559
+ if (!is_property_present.has_value())
560
+ {
561
+ is_property_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.System.Profile.SystemManufacturers.SystemSupportInfo", L"LocalDeviceInfo");
562
+ }
563
+
564
+ if (!is_property_present.value())
467
565
  {
468
566
  PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
469
567
  return nullptr;
@@ -573,7 +671,8 @@ PyMODINIT_FUNC PyInit__winrt_windows_system_profile_systemmanufacturers(void) no
573
671
  return nullptr;
574
672
  }
575
673
 
576
- if (py::register_python_type(module.get(), &type_spec_OemSupportInfo, object_bases.get(), nullptr) == -1)
674
+ py::pytype_handle OemSupportInfo_type{py::register_python_type(module.get(), &type_spec_OemSupportInfo, object_bases.get(), nullptr)};
675
+ if (!OemSupportInfo_type)
577
676
  {
578
677
  return nullptr;
579
678
  }
@@ -584,12 +683,14 @@ PyMODINIT_FUNC PyInit__winrt_windows_system_profile_systemmanufacturers(void) no
584
683
  return nullptr;
585
684
  }
586
685
 
587
- if (py::register_python_type(module.get(), &type_spec_SmbiosInformation, object_bases.get(), reinterpret_cast<PyTypeObject*>(type_SmbiosInformation_Static.get())) == -1)
686
+ py::pytype_handle SmbiosInformation_type{py::register_python_type(module.get(), &type_spec_SmbiosInformation, object_bases.get(), reinterpret_cast<PyTypeObject*>(type_SmbiosInformation_Static.get()))};
687
+ if (!SmbiosInformation_type)
588
688
  {
589
689
  return nullptr;
590
690
  }
591
691
 
592
- if (py::register_python_type(module.get(), &type_spec_SystemSupportDeviceInfo, object_bases.get(), nullptr) == -1)
692
+ py::pytype_handle SystemSupportDeviceInfo_type{py::register_python_type(module.get(), &type_spec_SystemSupportDeviceInfo, object_bases.get(), nullptr)};
693
+ if (!SystemSupportDeviceInfo_type)
593
694
  {
594
695
  return nullptr;
595
696
  }
@@ -600,7 +701,8 @@ PyMODINIT_FUNC PyInit__winrt_windows_system_profile_systemmanufacturers(void) no
600
701
  return nullptr;
601
702
  }
602
703
 
603
- if (py::register_python_type(module.get(), &type_spec_SystemSupportInfo, object_bases.get(), reinterpret_cast<PyTypeObject*>(type_SystemSupportInfo_Static.get())) == -1)
704
+ py::pytype_handle SystemSupportInfo_type{py::register_python_type(module.get(), &type_spec_SystemSupportInfo, object_bases.get(), reinterpret_cast<PyTypeObject*>(type_SystemSupportInfo_Static.get()))};
705
+ if (!SystemSupportInfo_type)
604
706
  {
605
707
  return nullptr;
606
708
  }
@@ -16,7 +16,7 @@ classifiers = [
16
16
  "Intended Audience :: Developers",
17
17
  ]
18
18
  dynamic = ["version", "dependencies", "optional-dependencies"]
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"
@@ -36,7 +36,8 @@ optional-dependencies.all = { file = "all-requirements.txt" }
36
36
  # use local winrt-sdk build dependency
37
37
  environment = { PYTHONPATH="../winrt-sdk/src" }
38
38
  # don't install winrt-sdk from PyPI
39
- build-frontend = { name = "build", args = ["--skip-dependency-check", "--no-isolation"] }
39
+ build-frontend = { name = "build[uv]", args = ["--skip-dependency-check", "--no-isolation"] }
40
+ before-build = "uv pip install setuptools"
40
41
  # don't build for PyPy
41
42
  skip = "pp*"
42
43
  # suppress warnings about ARM64 testing
@@ -1,3 +1,3 @@
1
- # WARNING: Please don't edit this file. It was generated by Python/WinRT v2.1.0
1
+ # WARNING: Please don't edit this file. It was generated by Python/WinRT v2.3.0
2
2
 
3
- winrt-runtime==2.1.0
3
+ winrt-runtime==2.3.0
@@ -1,4 +1,4 @@
1
- # WARNING: Please don't edit this file. It was generated by Python/WinRT v2.1.0
1
+ # WARNING: Please don't edit this file. It was generated by Python/WinRT v2.3.0
2
2
 
3
3
  import datetime
4
4
  import sys
@@ -1,4 +1,4 @@
1
- # WARNING: Please don't edit this file. It was generated by Python/WinRT v2.1.0
1
+ # WARNING: Please don't edit this file. It was generated by Python/WinRT v2.3.0
2
2
 
3
3
  import winrt.system
4
4
  from winrt import _winrt_windows_system_profile_systemmanufacturers
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: winrt-Windows.System.Profile.SystemManufacturers
3
- Version: 2.1.0
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,11 +10,11 @@ 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
- Requires-Dist: winrt-runtime==2.1.0
15
+ Requires-Dist: winrt-runtime==2.3.0
16
16
  Provides-Extra: all
17
- Requires-Dist: winrt-Windows.Foundation[all]==2.1.0; extra == "all"
17
+ Requires-Dist: winrt-Windows.Foundation[all]==2.3.0; extra == "all"
18
18
 
19
19
  <!-- warning: Please don't edit this file. It was automatically generated. -->
20
20
 
@@ -0,0 +1,4 @@
1
+ winrt-runtime==2.3.0
2
+
3
+ [all]
4
+ winrt-Windows.Foundation[all]==2.3.0
@@ -1,4 +0,0 @@
1
- winrt-runtime==2.1.0
2
-
3
- [all]
4
- winrt-Windows.Foundation[all]==2.1.0