winrt-Windows.ApplicationModel.Payments.Provider 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 (20) hide show
  1. {winrt_windows_applicationmodel_payments_provider-2.1.0 → winrt_windows_applicationmodel_payments_provider-2.2.0}/PKG-INFO +6 -6
  2. winrt_windows_applicationmodel_payments_provider-2.2.0/all-requirements.txt +5 -0
  3. {winrt_windows_applicationmodel_payments_provider-2.1.0 → winrt_windows_applicationmodel_payments_provider-2.2.0}/py.Windows.ApplicationModel.Payments.Provider.cpp +153 -23
  4. {winrt_windows_applicationmodel_payments_provider-2.1.0 → winrt_windows_applicationmodel_payments_provider-2.2.0}/pyproject.toml +3 -2
  5. winrt_windows_applicationmodel_payments_provider-2.2.0/pywinrt-version.txt +1 -0
  6. {winrt_windows_applicationmodel_payments_provider-2.1.0 → winrt_windows_applicationmodel_payments_provider-2.2.0}/requirements.txt +2 -2
  7. {winrt_windows_applicationmodel_payments_provider-2.1.0 → winrt_windows_applicationmodel_payments_provider-2.2.0}/winrt/_winrt_windows_applicationmodel_payments_provider.pyi +1 -1
  8. {winrt_windows_applicationmodel_payments_provider-2.1.0 → winrt_windows_applicationmodel_payments_provider-2.2.0}/winrt/windows/applicationmodel/payments/provider/__init__.py +1 -1
  9. {winrt_windows_applicationmodel_payments_provider-2.1.0 → winrt_windows_applicationmodel_payments_provider-2.2.0}/winrt_Windows.ApplicationModel.Payments.Provider.egg-info/PKG-INFO +6 -6
  10. winrt_windows_applicationmodel_payments_provider-2.2.0/winrt_Windows.ApplicationModel.Payments.Provider.egg-info/requires.txt +6 -0
  11. winrt_windows_applicationmodel_payments_provider-2.1.0/all-requirements.txt +0 -5
  12. winrt_windows_applicationmodel_payments_provider-2.1.0/pywinrt-version.txt +0 -1
  13. winrt_windows_applicationmodel_payments_provider-2.1.0/winrt_Windows.ApplicationModel.Payments.Provider.egg-info/requires.txt +0 -6
  14. {winrt_windows_applicationmodel_payments_provider-2.1.0 → winrt_windows_applicationmodel_payments_provider-2.2.0}/README.md +0 -0
  15. {winrt_windows_applicationmodel_payments_provider-2.1.0 → winrt_windows_applicationmodel_payments_provider-2.2.0}/setup.cfg +0 -0
  16. {winrt_windows_applicationmodel_payments_provider-2.1.0 → winrt_windows_applicationmodel_payments_provider-2.2.0}/setup.py +0 -0
  17. {winrt_windows_applicationmodel_payments_provider-2.1.0 → winrt_windows_applicationmodel_payments_provider-2.2.0}/winrt/windows/applicationmodel/payments/provider/py.typed +0 -0
  18. {winrt_windows_applicationmodel_payments_provider-2.1.0 → winrt_windows_applicationmodel_payments_provider-2.2.0}/winrt_Windows.ApplicationModel.Payments.Provider.egg-info/SOURCES.txt +0 -0
  19. {winrt_windows_applicationmodel_payments_provider-2.1.0 → winrt_windows_applicationmodel_payments_provider-2.2.0}/winrt_Windows.ApplicationModel.Payments.Provider.egg-info/dependency_links.txt +0 -0
  20. {winrt_windows_applicationmodel_payments_provider-2.1.0 → winrt_windows_applicationmodel_payments_provider-2.2.0}/winrt_Windows.ApplicationModel.Payments.Provider.egg-info/top_level.txt +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: winrt-Windows.ApplicationModel.Payments.Provider
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,13 +10,13 @@ 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.2.0
16
16
  Provides-Extra: all
17
- Requires-Dist: winrt-Windows.ApplicationModel.Payments[all]==2.1.0; extra == "all"
18
- Requires-Dist: winrt-Windows.Foundation[all]==2.1.0; extra == "all"
19
- Requires-Dist: winrt-Windows.Foundation.Collections[all]==2.1.0; extra == "all"
17
+ Requires-Dist: winrt-Windows.ApplicationModel.Payments[all]==2.2.0; extra == "all"
18
+ Requires-Dist: winrt-Windows.Foundation[all]==2.2.0; extra == "all"
19
+ Requires-Dist: winrt-Windows.Foundation.Collections[all]==2.2.0; extra == "all"
20
20
 
21
21
  <!-- warning: Please don't edit this file. It was automatically generated. -->
22
22
 
@@ -0,0 +1,5 @@
1
+ # WARNING: Please don't edit this file. It was generated by Python/WinRT v2.2.0
2
+
3
+ winrt-Windows.ApplicationModel.Payments[all]==2.2.0
4
+ winrt-Windows.Foundation[all]==2.2.0
5
+ winrt-Windows.Foundation.Collections[all]==2.2.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.2.0
2
2
 
3
3
  #include "py.Windows.ApplicationModel.Payments.Provider.h"
4
4
 
@@ -29,7 +29,14 @@ namespace py::cpp::Windows::ApplicationModel::Payments::Provider
29
29
  {
30
30
  try
31
31
  {
32
- if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsMethodPresent(L"Windows.ApplicationModel.Payments.Provider.PaymentAppCanMakePaymentTriggerDetails", L"ReportCanMakePaymentResult", 1))
32
+ static std::optional<bool> is_overload_present{};
33
+
34
+ if (!is_overload_present.has_value())
35
+ {
36
+ is_overload_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsMethodPresent(L"Windows.ApplicationModel.Payments.Provider.PaymentAppCanMakePaymentTriggerDetails", L"ReportCanMakePaymentResult", 1);
37
+ }
38
+
39
+ if (!is_overload_present.value())
33
40
  {
34
41
  py::set_arg_count_version_error(1);
35
42
  return nullptr;
@@ -57,7 +64,14 @@ namespace py::cpp::Windows::ApplicationModel::Payments::Provider
57
64
  {
58
65
  try
59
66
  {
60
- if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.ApplicationModel.Payments.Provider.PaymentAppCanMakePaymentTriggerDetails", L"Request"))
67
+ static std::optional<bool> is_property_present{};
68
+
69
+ if (!is_property_present.has_value())
70
+ {
71
+ is_property_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.ApplicationModel.Payments.Provider.PaymentAppCanMakePaymentTriggerDetails", L"Request");
72
+ }
73
+
74
+ if (!is_property_present.value())
61
75
  {
62
76
  PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
63
77
  return nullptr;
@@ -148,7 +162,14 @@ namespace py::cpp::Windows::ApplicationModel::Payments::Provider
148
162
  {
149
163
  try
150
164
  {
151
- if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsMethodPresent(L"Windows.ApplicationModel.Payments.Provider.PaymentAppManager", L"RegisterAsync", 1))
165
+ static std::optional<bool> is_overload_present{};
166
+
167
+ if (!is_overload_present.has_value())
168
+ {
169
+ is_overload_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsMethodPresent(L"Windows.ApplicationModel.Payments.Provider.PaymentAppManager", L"RegisterAsync", 1);
170
+ }
171
+
172
+ if (!is_overload_present.value())
152
173
  {
153
174
  py::set_arg_count_version_error(1);
154
175
  return nullptr;
@@ -179,7 +200,14 @@ namespace py::cpp::Windows::ApplicationModel::Payments::Provider
179
200
  {
180
201
  try
181
202
  {
182
- if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsMethodPresent(L"Windows.ApplicationModel.Payments.Provider.PaymentAppManager", L"UnregisterAsync", 0))
203
+ static std::optional<bool> is_overload_present{};
204
+
205
+ if (!is_overload_present.has_value())
206
+ {
207
+ is_overload_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsMethodPresent(L"Windows.ApplicationModel.Payments.Provider.PaymentAppManager", L"UnregisterAsync", 0);
208
+ }
209
+
210
+ if (!is_overload_present.value())
183
211
  {
184
212
  py::set_arg_count_version_error(0);
185
213
  return nullptr;
@@ -204,7 +232,14 @@ namespace py::cpp::Windows::ApplicationModel::Payments::Provider
204
232
  {
205
233
  try
206
234
  {
207
- if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.ApplicationModel.Payments.Provider.PaymentAppManager", L"Current"))
235
+ static std::optional<bool> is_property_present{};
236
+
237
+ if (!is_property_present.has_value())
238
+ {
239
+ is_property_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.ApplicationModel.Payments.Provider.PaymentAppManager", L"Current");
240
+ }
241
+
242
+ if (!is_property_present.value())
208
243
  {
209
244
  PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
210
245
  return nullptr;
@@ -321,7 +356,14 @@ namespace py::cpp::Windows::ApplicationModel::Payments::Provider
321
356
  {
322
357
  try
323
358
  {
324
- if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsMethodPresent(L"Windows.ApplicationModel.Payments.Provider.PaymentTransaction", L"AcceptAsync", 1))
359
+ static std::optional<bool> is_overload_present{};
360
+
361
+ if (!is_overload_present.has_value())
362
+ {
363
+ is_overload_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsMethodPresent(L"Windows.ApplicationModel.Payments.Provider.PaymentTransaction", L"AcceptAsync", 1);
364
+ }
365
+
366
+ if (!is_overload_present.value())
325
367
  {
326
368
  py::set_arg_count_version_error(1);
327
369
  return nullptr;
@@ -352,7 +394,14 @@ namespace py::cpp::Windows::ApplicationModel::Payments::Provider
352
394
  {
353
395
  try
354
396
  {
355
- if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsMethodPresent(L"Windows.ApplicationModel.Payments.Provider.PaymentTransaction", L"FromIdAsync", 1))
397
+ static std::optional<bool> is_overload_present{};
398
+
399
+ if (!is_overload_present.has_value())
400
+ {
401
+ is_overload_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsMethodPresent(L"Windows.ApplicationModel.Payments.Provider.PaymentTransaction", L"FromIdAsync", 1);
402
+ }
403
+
404
+ if (!is_overload_present.value())
356
405
  {
357
406
  py::set_arg_count_version_error(1);
358
407
  return nullptr;
@@ -383,7 +432,14 @@ namespace py::cpp::Windows::ApplicationModel::Payments::Provider
383
432
  {
384
433
  try
385
434
  {
386
- if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsMethodPresent(L"Windows.ApplicationModel.Payments.Provider.PaymentTransaction", L"Reject", 0))
435
+ static std::optional<bool> is_overload_present{};
436
+
437
+ if (!is_overload_present.has_value())
438
+ {
439
+ is_overload_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsMethodPresent(L"Windows.ApplicationModel.Payments.Provider.PaymentTransaction", L"Reject", 0);
440
+ }
441
+
442
+ if (!is_overload_present.value())
387
443
  {
388
444
  py::set_arg_count_version_error(0);
389
445
  return nullptr;
@@ -413,7 +469,14 @@ namespace py::cpp::Windows::ApplicationModel::Payments::Provider
413
469
  {
414
470
  try
415
471
  {
416
- if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsMethodPresent(L"Windows.ApplicationModel.Payments.Provider.PaymentTransaction", L"UpdateSelectedShippingOptionAsync", 1))
472
+ static std::optional<bool> is_overload_present{};
473
+
474
+ if (!is_overload_present.has_value())
475
+ {
476
+ is_overload_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsMethodPresent(L"Windows.ApplicationModel.Payments.Provider.PaymentTransaction", L"UpdateSelectedShippingOptionAsync", 1);
477
+ }
478
+
479
+ if (!is_overload_present.value())
417
480
  {
418
481
  py::set_arg_count_version_error(1);
419
482
  return nullptr;
@@ -444,7 +507,14 @@ namespace py::cpp::Windows::ApplicationModel::Payments::Provider
444
507
  {
445
508
  try
446
509
  {
447
- if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsMethodPresent(L"Windows.ApplicationModel.Payments.Provider.PaymentTransaction", L"UpdateShippingAddressAsync", 1))
510
+ static std::optional<bool> is_overload_present{};
511
+
512
+ if (!is_overload_present.has_value())
513
+ {
514
+ is_overload_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsMethodPresent(L"Windows.ApplicationModel.Payments.Provider.PaymentTransaction", L"UpdateShippingAddressAsync", 1);
515
+ }
516
+
517
+ if (!is_overload_present.value())
448
518
  {
449
519
  py::set_arg_count_version_error(1);
450
520
  return nullptr;
@@ -471,7 +541,14 @@ namespace py::cpp::Windows::ApplicationModel::Payments::Provider
471
541
  {
472
542
  try
473
543
  {
474
- if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.ApplicationModel.Payments.Provider.PaymentTransaction", L"PayerPhoneNumber"))
544
+ static std::optional<bool> is_property_present{};
545
+
546
+ if (!is_property_present.has_value())
547
+ {
548
+ is_property_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.ApplicationModel.Payments.Provider.PaymentTransaction", L"PayerPhoneNumber");
549
+ }
550
+
551
+ if (!is_property_present.value())
475
552
  {
476
553
  PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
477
554
  return nullptr;
@@ -496,7 +573,14 @@ namespace py::cpp::Windows::ApplicationModel::Payments::Provider
496
573
 
497
574
  try
498
575
  {
499
- if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.ApplicationModel.Payments.Provider.PaymentTransaction", L"PayerPhoneNumber"))
576
+ static std::optional<bool> is_property_present{};
577
+
578
+ if (!is_property_present.has_value())
579
+ {
580
+ is_property_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.ApplicationModel.Payments.Provider.PaymentTransaction", L"PayerPhoneNumber");
581
+ }
582
+
583
+ if (!is_property_present.value())
500
584
  {
501
585
  PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
502
586
  return -1;
@@ -518,7 +602,14 @@ namespace py::cpp::Windows::ApplicationModel::Payments::Provider
518
602
  {
519
603
  try
520
604
  {
521
- if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.ApplicationModel.Payments.Provider.PaymentTransaction", L"PayerName"))
605
+ static std::optional<bool> is_property_present{};
606
+
607
+ if (!is_property_present.has_value())
608
+ {
609
+ is_property_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.ApplicationModel.Payments.Provider.PaymentTransaction", L"PayerName");
610
+ }
611
+
612
+ if (!is_property_present.value())
522
613
  {
523
614
  PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
524
615
  return nullptr;
@@ -543,7 +634,14 @@ namespace py::cpp::Windows::ApplicationModel::Payments::Provider
543
634
 
544
635
  try
545
636
  {
546
- if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.ApplicationModel.Payments.Provider.PaymentTransaction", L"PayerName"))
637
+ static std::optional<bool> is_property_present{};
638
+
639
+ if (!is_property_present.has_value())
640
+ {
641
+ is_property_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.ApplicationModel.Payments.Provider.PaymentTransaction", L"PayerName");
642
+ }
643
+
644
+ if (!is_property_present.value())
547
645
  {
548
646
  PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
549
647
  return -1;
@@ -565,7 +663,14 @@ namespace py::cpp::Windows::ApplicationModel::Payments::Provider
565
663
  {
566
664
  try
567
665
  {
568
- if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.ApplicationModel.Payments.Provider.PaymentTransaction", L"PayerEmail"))
666
+ static std::optional<bool> is_property_present{};
667
+
668
+ if (!is_property_present.has_value())
669
+ {
670
+ is_property_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.ApplicationModel.Payments.Provider.PaymentTransaction", L"PayerEmail");
671
+ }
672
+
673
+ if (!is_property_present.value())
569
674
  {
570
675
  PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
571
676
  return nullptr;
@@ -590,7 +695,14 @@ namespace py::cpp::Windows::ApplicationModel::Payments::Provider
590
695
 
591
696
  try
592
697
  {
593
- if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.ApplicationModel.Payments.Provider.PaymentTransaction", L"PayerEmail"))
698
+ static std::optional<bool> is_property_present{};
699
+
700
+ if (!is_property_present.has_value())
701
+ {
702
+ is_property_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.ApplicationModel.Payments.Provider.PaymentTransaction", L"PayerEmail");
703
+ }
704
+
705
+ if (!is_property_present.value())
594
706
  {
595
707
  PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
596
708
  return -1;
@@ -612,7 +724,14 @@ namespace py::cpp::Windows::ApplicationModel::Payments::Provider
612
724
  {
613
725
  try
614
726
  {
615
- if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.ApplicationModel.Payments.Provider.PaymentTransaction", L"PaymentRequest"))
727
+ static std::optional<bool> is_property_present{};
728
+
729
+ if (!is_property_present.has_value())
730
+ {
731
+ is_property_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.ApplicationModel.Payments.Provider.PaymentTransaction", L"PaymentRequest");
732
+ }
733
+
734
+ if (!is_property_present.value())
616
735
  {
617
736
  PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
618
737
  return nullptr;
@@ -731,7 +850,14 @@ namespace py::cpp::Windows::ApplicationModel::Payments::Provider
731
850
  {
732
851
  try
733
852
  {
734
- if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.ApplicationModel.Payments.Provider.PaymentTransactionAcceptResult", L"Status"))
853
+ static std::optional<bool> is_property_present{};
854
+
855
+ if (!is_property_present.has_value())
856
+ {
857
+ is_property_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.ApplicationModel.Payments.Provider.PaymentTransactionAcceptResult", L"Status");
858
+ }
859
+
860
+ if (!is_property_present.value())
735
861
  {
736
862
  PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
737
863
  return nullptr;
@@ -841,7 +967,8 @@ PyMODINIT_FUNC PyInit__winrt_windows_applicationmodel_payments_provider(void) no
841
967
  return nullptr;
842
968
  }
843
969
 
844
- if (py::register_python_type(module.get(), &type_spec_PaymentAppCanMakePaymentTriggerDetails, object_bases.get(), nullptr) == -1)
970
+ py::pytype_handle PaymentAppCanMakePaymentTriggerDetails_type{py::register_python_type(module.get(), &type_spec_PaymentAppCanMakePaymentTriggerDetails, object_bases.get(), nullptr)};
971
+ if (!PaymentAppCanMakePaymentTriggerDetails_type)
845
972
  {
846
973
  return nullptr;
847
974
  }
@@ -852,7 +979,8 @@ PyMODINIT_FUNC PyInit__winrt_windows_applicationmodel_payments_provider(void) no
852
979
  return nullptr;
853
980
  }
854
981
 
855
- if (py::register_python_type(module.get(), &type_spec_PaymentAppManager, object_bases.get(), reinterpret_cast<PyTypeObject*>(type_PaymentAppManager_Static.get())) == -1)
982
+ py::pytype_handle PaymentAppManager_type{py::register_python_type(module.get(), &type_spec_PaymentAppManager, object_bases.get(), reinterpret_cast<PyTypeObject*>(type_PaymentAppManager_Static.get()))};
983
+ if (!PaymentAppManager_type)
856
984
  {
857
985
  return nullptr;
858
986
  }
@@ -863,12 +991,14 @@ PyMODINIT_FUNC PyInit__winrt_windows_applicationmodel_payments_provider(void) no
863
991
  return nullptr;
864
992
  }
865
993
 
866
- if (py::register_python_type(module.get(), &type_spec_PaymentTransaction, object_bases.get(), reinterpret_cast<PyTypeObject*>(type_PaymentTransaction_Static.get())) == -1)
994
+ py::pytype_handle PaymentTransaction_type{py::register_python_type(module.get(), &type_spec_PaymentTransaction, object_bases.get(), reinterpret_cast<PyTypeObject*>(type_PaymentTransaction_Static.get()))};
995
+ if (!PaymentTransaction_type)
867
996
  {
868
997
  return nullptr;
869
998
  }
870
999
 
871
- if (py::register_python_type(module.get(), &type_spec_PaymentTransactionAcceptResult, object_bases.get(), nullptr) == -1)
1000
+ py::pytype_handle PaymentTransactionAcceptResult_type{py::register_python_type(module.get(), &type_spec_PaymentTransactionAcceptResult, object_bases.get(), nullptr)};
1001
+ if (!PaymentTransactionAcceptResult_type)
872
1002
  {
873
1003
  return nullptr;
874
1004
  }
@@ -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.2.0
2
2
 
3
- winrt-runtime==2.1.0
3
+ winrt-runtime==2.2.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.2.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.2.0
2
2
 
3
3
  import winrt.system
4
4
  from winrt import _winrt_windows_applicationmodel_payments_provider
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: winrt-Windows.ApplicationModel.Payments.Provider
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,13 +10,13 @@ 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.2.0
16
16
  Provides-Extra: all
17
- Requires-Dist: winrt-Windows.ApplicationModel.Payments[all]==2.1.0; extra == "all"
18
- Requires-Dist: winrt-Windows.Foundation[all]==2.1.0; extra == "all"
19
- Requires-Dist: winrt-Windows.Foundation.Collections[all]==2.1.0; extra == "all"
17
+ Requires-Dist: winrt-Windows.ApplicationModel.Payments[all]==2.2.0; extra == "all"
18
+ Requires-Dist: winrt-Windows.Foundation[all]==2.2.0; extra == "all"
19
+ Requires-Dist: winrt-Windows.Foundation.Collections[all]==2.2.0; extra == "all"
20
20
 
21
21
  <!-- warning: Please don't edit this file. It was automatically generated. -->
22
22
 
@@ -0,0 +1,6 @@
1
+ winrt-runtime==2.2.0
2
+
3
+ [all]
4
+ winrt-Windows.ApplicationModel.Payments[all]==2.2.0
5
+ winrt-Windows.Foundation[all]==2.2.0
6
+ winrt-Windows.Foundation.Collections[all]==2.2.0
@@ -1,5 +0,0 @@
1
- # WARNING: Please don't edit this file. It was generated by Python/WinRT v2.1.0
2
-
3
- winrt-Windows.ApplicationModel.Payments[all]==2.1.0
4
- winrt-Windows.Foundation[all]==2.1.0
5
- winrt-Windows.Foundation.Collections[all]==2.1.0
@@ -1,6 +0,0 @@
1
- winrt-runtime==2.1.0
2
-
3
- [all]
4
- winrt-Windows.ApplicationModel.Payments[all]==2.1.0
5
- winrt-Windows.Foundation[all]==2.1.0
6
- winrt-Windows.Foundation.Collections[all]==2.1.0