winrt-Windows.ApplicationModel.Calls.Background 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_applicationmodel_calls_background-2.1.0 → winrt_windows_applicationmodel_calls_background-2.3.0}/PKG-INFO +4 -4
  2. {winrt_windows_applicationmodel_calls_background-2.1.0 → winrt_windows_applicationmodel_calls_background-2.3.0}/all-requirements.txt +2 -2
  3. {winrt_windows_applicationmodel_calls_background-2.1.0 → winrt_windows_applicationmodel_calls_background-2.3.0}/py.Windows.ApplicationModel.Calls.Background.cpp +165 -26
  4. {winrt_windows_applicationmodel_calls_background-2.1.0 → winrt_windows_applicationmodel_calls_background-2.3.0}/pyproject.toml +3 -2
  5. winrt_windows_applicationmodel_calls_background-2.3.0/pywinrt-version.txt +1 -0
  6. {winrt_windows_applicationmodel_calls_background-2.1.0 → winrt_windows_applicationmodel_calls_background-2.3.0}/requirements.txt +2 -2
  7. {winrt_windows_applicationmodel_calls_background-2.1.0 → winrt_windows_applicationmodel_calls_background-2.3.0}/winrt/_winrt_windows_applicationmodel_calls_background.pyi +1 -1
  8. {winrt_windows_applicationmodel_calls_background-2.1.0 → winrt_windows_applicationmodel_calls_background-2.3.0}/winrt/windows/applicationmodel/calls/background/__init__.py +1 -1
  9. {winrt_windows_applicationmodel_calls_background-2.1.0 → winrt_windows_applicationmodel_calls_background-2.3.0}/winrt_Windows.ApplicationModel.Calls.Background.egg-info/PKG-INFO +4 -4
  10. winrt_windows_applicationmodel_calls_background-2.3.0/winrt_Windows.ApplicationModel.Calls.Background.egg-info/requires.txt +4 -0
  11. winrt_windows_applicationmodel_calls_background-2.1.0/pywinrt-version.txt +0 -1
  12. winrt_windows_applicationmodel_calls_background-2.1.0/winrt_Windows.ApplicationModel.Calls.Background.egg-info/requires.txt +0 -4
  13. {winrt_windows_applicationmodel_calls_background-2.1.0 → winrt_windows_applicationmodel_calls_background-2.3.0}/README.md +0 -0
  14. {winrt_windows_applicationmodel_calls_background-2.1.0 → winrt_windows_applicationmodel_calls_background-2.3.0}/setup.cfg +0 -0
  15. {winrt_windows_applicationmodel_calls_background-2.1.0 → winrt_windows_applicationmodel_calls_background-2.3.0}/setup.py +0 -0
  16. {winrt_windows_applicationmodel_calls_background-2.1.0 → winrt_windows_applicationmodel_calls_background-2.3.0}/winrt/windows/applicationmodel/calls/background/py.typed +0 -0
  17. {winrt_windows_applicationmodel_calls_background-2.1.0 → winrt_windows_applicationmodel_calls_background-2.3.0}/winrt_Windows.ApplicationModel.Calls.Background.egg-info/SOURCES.txt +0 -0
  18. {winrt_windows_applicationmodel_calls_background-2.1.0 → winrt_windows_applicationmodel_calls_background-2.3.0}/winrt_Windows.ApplicationModel.Calls.Background.egg-info/dependency_links.txt +0 -0
  19. {winrt_windows_applicationmodel_calls_background-2.1.0 → winrt_windows_applicationmodel_calls_background-2.3.0}/winrt_Windows.ApplicationModel.Calls.Background.egg-info/top_level.txt +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: winrt-Windows.ApplicationModel.Calls.Background
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.ApplicationModel.Calls.Background.h"
4
4
 
@@ -25,7 +25,14 @@ namespace py::cpp::Windows::ApplicationModel::Calls::Background
25
25
  {
26
26
  try
27
27
  {
28
- if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.ApplicationModel.Calls.Background.PhoneCallBlockedTriggerDetails", L"CallBlockedReason"))
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.ApplicationModel.Calls.Background.PhoneCallBlockedTriggerDetails", L"CallBlockedReason");
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::ApplicationModel::Calls::Background
44
51
  {
45
52
  try
46
53
  {
47
- if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.ApplicationModel.Calls.Background.PhoneCallBlockedTriggerDetails", L"LineId"))
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.ApplicationModel.Calls.Background.PhoneCallBlockedTriggerDetails", L"LineId");
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::ApplicationModel::Calls::Background
63
77
  {
64
78
  try
65
79
  {
66
- if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.ApplicationModel.Calls.Background.PhoneCallBlockedTriggerDetails", L"PhoneNumber"))
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.ApplicationModel.Calls.Background.PhoneCallBlockedTriggerDetails", L"PhoneNumber");
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;
@@ -151,7 +172,14 @@ namespace py::cpp::Windows::ApplicationModel::Calls::Background
151
172
  {
152
173
  try
153
174
  {
154
- if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.ApplicationModel.Calls.Background.PhoneCallOriginDataRequestTriggerDetails", L"PhoneNumber"))
175
+ static std::optional<bool> is_property_present{};
176
+
177
+ if (!is_property_present.has_value())
178
+ {
179
+ is_property_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.ApplicationModel.Calls.Background.PhoneCallOriginDataRequestTriggerDetails", L"PhoneNumber");
180
+ }
181
+
182
+ if (!is_property_present.value())
155
183
  {
156
184
  PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
157
185
  return nullptr;
@@ -170,7 +198,14 @@ namespace py::cpp::Windows::ApplicationModel::Calls::Background
170
198
  {
171
199
  try
172
200
  {
173
- if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.ApplicationModel.Calls.Background.PhoneCallOriginDataRequestTriggerDetails", L"RequestId"))
201
+ static std::optional<bool> is_property_present{};
202
+
203
+ if (!is_property_present.has_value())
204
+ {
205
+ is_property_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.ApplicationModel.Calls.Background.PhoneCallOriginDataRequestTriggerDetails", L"RequestId");
206
+ }
207
+
208
+ if (!is_property_present.value())
174
209
  {
175
210
  PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
176
211
  return nullptr;
@@ -257,7 +292,14 @@ namespace py::cpp::Windows::ApplicationModel::Calls::Background
257
292
  {
258
293
  try
259
294
  {
260
- if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.ApplicationModel.Calls.Background.PhoneIncomingCallDismissedTriggerDetails", L"DismissalTime"))
295
+ static std::optional<bool> is_property_present{};
296
+
297
+ if (!is_property_present.has_value())
298
+ {
299
+ is_property_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.ApplicationModel.Calls.Background.PhoneIncomingCallDismissedTriggerDetails", L"DismissalTime");
300
+ }
301
+
302
+ if (!is_property_present.value())
261
303
  {
262
304
  PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
263
305
  return nullptr;
@@ -276,7 +318,14 @@ namespace py::cpp::Windows::ApplicationModel::Calls::Background
276
318
  {
277
319
  try
278
320
  {
279
- if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.ApplicationModel.Calls.Background.PhoneIncomingCallDismissedTriggerDetails", L"DisplayName"))
321
+ static std::optional<bool> is_property_present{};
322
+
323
+ if (!is_property_present.has_value())
324
+ {
325
+ is_property_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.ApplicationModel.Calls.Background.PhoneIncomingCallDismissedTriggerDetails", L"DisplayName");
326
+ }
327
+
328
+ if (!is_property_present.value())
280
329
  {
281
330
  PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
282
331
  return nullptr;
@@ -295,7 +344,14 @@ namespace py::cpp::Windows::ApplicationModel::Calls::Background
295
344
  {
296
345
  try
297
346
  {
298
- if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.ApplicationModel.Calls.Background.PhoneIncomingCallDismissedTriggerDetails", L"LineId"))
347
+ static std::optional<bool> is_property_present{};
348
+
349
+ if (!is_property_present.has_value())
350
+ {
351
+ is_property_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.ApplicationModel.Calls.Background.PhoneIncomingCallDismissedTriggerDetails", L"LineId");
352
+ }
353
+
354
+ if (!is_property_present.value())
299
355
  {
300
356
  PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
301
357
  return nullptr;
@@ -314,7 +370,14 @@ namespace py::cpp::Windows::ApplicationModel::Calls::Background
314
370
  {
315
371
  try
316
372
  {
317
- if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.ApplicationModel.Calls.Background.PhoneIncomingCallDismissedTriggerDetails", L"PhoneNumber"))
373
+ static std::optional<bool> is_property_present{};
374
+
375
+ if (!is_property_present.has_value())
376
+ {
377
+ is_property_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.ApplicationModel.Calls.Background.PhoneIncomingCallDismissedTriggerDetails", L"PhoneNumber");
378
+ }
379
+
380
+ if (!is_property_present.value())
318
381
  {
319
382
  PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
320
383
  return nullptr;
@@ -333,7 +396,14 @@ namespace py::cpp::Windows::ApplicationModel::Calls::Background
333
396
  {
334
397
  try
335
398
  {
336
- if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.ApplicationModel.Calls.Background.PhoneIncomingCallDismissedTriggerDetails", L"Reason"))
399
+ static std::optional<bool> is_property_present{};
400
+
401
+ if (!is_property_present.has_value())
402
+ {
403
+ is_property_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.ApplicationModel.Calls.Background.PhoneIncomingCallDismissedTriggerDetails", L"Reason");
404
+ }
405
+
406
+ if (!is_property_present.value())
337
407
  {
338
408
  PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
339
409
  return nullptr;
@@ -352,7 +422,14 @@ namespace py::cpp::Windows::ApplicationModel::Calls::Background
352
422
  {
353
423
  try
354
424
  {
355
- if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.ApplicationModel.Calls.Background.PhoneIncomingCallDismissedTriggerDetails", L"TextReplyMessage"))
425
+ static std::optional<bool> is_property_present{};
426
+
427
+ if (!is_property_present.has_value())
428
+ {
429
+ is_property_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.ApplicationModel.Calls.Background.PhoneIncomingCallDismissedTriggerDetails", L"TextReplyMessage");
430
+ }
431
+
432
+ if (!is_property_present.value())
356
433
  {
357
434
  PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
358
435
  return nullptr;
@@ -443,7 +520,14 @@ namespace py::cpp::Windows::ApplicationModel::Calls::Background
443
520
  {
444
521
  try
445
522
  {
446
- if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.ApplicationModel.Calls.Background.PhoneIncomingCallNotificationTriggerDetails", L"CallId"))
523
+ static std::optional<bool> is_property_present{};
524
+
525
+ if (!is_property_present.has_value())
526
+ {
527
+ is_property_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.ApplicationModel.Calls.Background.PhoneIncomingCallNotificationTriggerDetails", L"CallId");
528
+ }
529
+
530
+ if (!is_property_present.value())
447
531
  {
448
532
  PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
449
533
  return nullptr;
@@ -462,7 +546,14 @@ namespace py::cpp::Windows::ApplicationModel::Calls::Background
462
546
  {
463
547
  try
464
548
  {
465
- if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.ApplicationModel.Calls.Background.PhoneIncomingCallNotificationTriggerDetails", L"LineId"))
549
+ static std::optional<bool> is_property_present{};
550
+
551
+ if (!is_property_present.has_value())
552
+ {
553
+ is_property_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.ApplicationModel.Calls.Background.PhoneIncomingCallNotificationTriggerDetails", L"LineId");
554
+ }
555
+
556
+ if (!is_property_present.value())
466
557
  {
467
558
  PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
468
559
  return nullptr;
@@ -553,7 +644,14 @@ namespace py::cpp::Windows::ApplicationModel::Calls::Background
553
644
  {
554
645
  try
555
646
  {
556
- if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsMethodPresent(L"Windows.ApplicationModel.Calls.Background.PhoneLineChangedTriggerDetails", L"HasLinePropertyChanged", 1))
647
+ static std::optional<bool> is_overload_present{};
648
+
649
+ if (!is_overload_present.has_value())
650
+ {
651
+ is_overload_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsMethodPresent(L"Windows.ApplicationModel.Calls.Background.PhoneLineChangedTriggerDetails", L"HasLinePropertyChanged", 1);
652
+ }
653
+
654
+ if (!is_overload_present.value())
557
655
  {
558
656
  py::set_arg_count_version_error(1);
559
657
  return nullptr;
@@ -580,7 +678,14 @@ namespace py::cpp::Windows::ApplicationModel::Calls::Background
580
678
  {
581
679
  try
582
680
  {
583
- if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.ApplicationModel.Calls.Background.PhoneLineChangedTriggerDetails", L"ChangeType"))
681
+ static std::optional<bool> is_property_present{};
682
+
683
+ if (!is_property_present.has_value())
684
+ {
685
+ is_property_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.ApplicationModel.Calls.Background.PhoneLineChangedTriggerDetails", L"ChangeType");
686
+ }
687
+
688
+ if (!is_property_present.value())
584
689
  {
585
690
  PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
586
691
  return nullptr;
@@ -599,7 +704,14 @@ namespace py::cpp::Windows::ApplicationModel::Calls::Background
599
704
  {
600
705
  try
601
706
  {
602
- if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.ApplicationModel.Calls.Background.PhoneLineChangedTriggerDetails", L"LineId"))
707
+ static std::optional<bool> is_property_present{};
708
+
709
+ if (!is_property_present.has_value())
710
+ {
711
+ is_property_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.ApplicationModel.Calls.Background.PhoneLineChangedTriggerDetails", L"LineId");
712
+ }
713
+
714
+ if (!is_property_present.value())
603
715
  {
604
716
  PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
605
717
  return nullptr;
@@ -687,7 +799,14 @@ namespace py::cpp::Windows::ApplicationModel::Calls::Background
687
799
  {
688
800
  try
689
801
  {
690
- if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.ApplicationModel.Calls.Background.PhoneNewVoicemailMessageTriggerDetails", L"LineId"))
802
+ static std::optional<bool> is_property_present{};
803
+
804
+ if (!is_property_present.has_value())
805
+ {
806
+ is_property_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.ApplicationModel.Calls.Background.PhoneNewVoicemailMessageTriggerDetails", L"LineId");
807
+ }
808
+
809
+ if (!is_property_present.value())
691
810
  {
692
811
  PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
693
812
  return nullptr;
@@ -706,7 +825,14 @@ namespace py::cpp::Windows::ApplicationModel::Calls::Background
706
825
  {
707
826
  try
708
827
  {
709
- if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.ApplicationModel.Calls.Background.PhoneNewVoicemailMessageTriggerDetails", L"OperatorMessage"))
828
+ static std::optional<bool> is_property_present{};
829
+
830
+ if (!is_property_present.has_value())
831
+ {
832
+ is_property_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.ApplicationModel.Calls.Background.PhoneNewVoicemailMessageTriggerDetails", L"OperatorMessage");
833
+ }
834
+
835
+ if (!is_property_present.value())
710
836
  {
711
837
  PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
712
838
  return nullptr;
@@ -725,7 +851,14 @@ namespace py::cpp::Windows::ApplicationModel::Calls::Background
725
851
  {
726
852
  try
727
853
  {
728
- if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.ApplicationModel.Calls.Background.PhoneNewVoicemailMessageTriggerDetails", L"VoicemailCount"))
854
+ static std::optional<bool> is_property_present{};
855
+
856
+ if (!is_property_present.has_value())
857
+ {
858
+ is_property_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.ApplicationModel.Calls.Background.PhoneNewVoicemailMessageTriggerDetails", L"VoicemailCount");
859
+ }
860
+
861
+ if (!is_property_present.value())
729
862
  {
730
863
  PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
731
864
  return nullptr;
@@ -837,32 +970,38 @@ PyMODINIT_FUNC PyInit__winrt_windows_applicationmodel_calls_background(void) noe
837
970
  return nullptr;
838
971
  }
839
972
 
840
- if (py::register_python_type(module.get(), &type_spec_PhoneCallBlockedTriggerDetails, object_bases.get(), nullptr) == -1)
973
+ py::pytype_handle PhoneCallBlockedTriggerDetails_type{py::register_python_type(module.get(), &type_spec_PhoneCallBlockedTriggerDetails, object_bases.get(), nullptr)};
974
+ if (!PhoneCallBlockedTriggerDetails_type)
841
975
  {
842
976
  return nullptr;
843
977
  }
844
978
 
845
- if (py::register_python_type(module.get(), &type_spec_PhoneCallOriginDataRequestTriggerDetails, object_bases.get(), nullptr) == -1)
979
+ py::pytype_handle PhoneCallOriginDataRequestTriggerDetails_type{py::register_python_type(module.get(), &type_spec_PhoneCallOriginDataRequestTriggerDetails, object_bases.get(), nullptr)};
980
+ if (!PhoneCallOriginDataRequestTriggerDetails_type)
846
981
  {
847
982
  return nullptr;
848
983
  }
849
984
 
850
- if (py::register_python_type(module.get(), &type_spec_PhoneIncomingCallDismissedTriggerDetails, object_bases.get(), nullptr) == -1)
985
+ py::pytype_handle PhoneIncomingCallDismissedTriggerDetails_type{py::register_python_type(module.get(), &type_spec_PhoneIncomingCallDismissedTriggerDetails, object_bases.get(), nullptr)};
986
+ if (!PhoneIncomingCallDismissedTriggerDetails_type)
851
987
  {
852
988
  return nullptr;
853
989
  }
854
990
 
855
- if (py::register_python_type(module.get(), &type_spec_PhoneIncomingCallNotificationTriggerDetails, object_bases.get(), nullptr) == -1)
991
+ py::pytype_handle PhoneIncomingCallNotificationTriggerDetails_type{py::register_python_type(module.get(), &type_spec_PhoneIncomingCallNotificationTriggerDetails, object_bases.get(), nullptr)};
992
+ if (!PhoneIncomingCallNotificationTriggerDetails_type)
856
993
  {
857
994
  return nullptr;
858
995
  }
859
996
 
860
- if (py::register_python_type(module.get(), &type_spec_PhoneLineChangedTriggerDetails, object_bases.get(), nullptr) == -1)
997
+ py::pytype_handle PhoneLineChangedTriggerDetails_type{py::register_python_type(module.get(), &type_spec_PhoneLineChangedTriggerDetails, object_bases.get(), nullptr)};
998
+ if (!PhoneLineChangedTriggerDetails_type)
861
999
  {
862
1000
  return nullptr;
863
1001
  }
864
1002
 
865
- if (py::register_python_type(module.get(), &type_spec_PhoneNewVoicemailMessageTriggerDetails, object_bases.get(), nullptr) == -1)
1003
+ py::pytype_handle PhoneNewVoicemailMessageTriggerDetails_type{py::register_python_type(module.get(), &type_spec_PhoneNewVoicemailMessageTriggerDetails, object_bases.get(), nullptr)};
1004
+ if (!PhoneNewVoicemailMessageTriggerDetails_type)
866
1005
  {
867
1006
  return nullptr;
868
1007
  }
@@ -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 enum
4
4
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: winrt-Windows.ApplicationModel.Calls.Background
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