winrt-Windows.ApplicationModel.SocialInfo.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_socialinfo_provider-2.1.0 → winrt_windows_applicationmodel_socialinfo_provider-2.2.0}/PKG-INFO +6 -6
  2. winrt_windows_applicationmodel_socialinfo_provider-2.2.0/all-requirements.txt +5 -0
  3. {winrt_windows_applicationmodel_socialinfo_provider-2.1.0 → winrt_windows_applicationmodel_socialinfo_provider-2.2.0}/py.Windows.ApplicationModel.SocialInfo.Provider.cpp +159 -23
  4. {winrt_windows_applicationmodel_socialinfo_provider-2.1.0 → winrt_windows_applicationmodel_socialinfo_provider-2.2.0}/pyproject.toml +3 -2
  5. winrt_windows_applicationmodel_socialinfo_provider-2.2.0/pywinrt-version.txt +1 -0
  6. {winrt_windows_applicationmodel_socialinfo_provider-2.1.0 → winrt_windows_applicationmodel_socialinfo_provider-2.2.0}/requirements.txt +2 -2
  7. {winrt_windows_applicationmodel_socialinfo_provider-2.1.0 → winrt_windows_applicationmodel_socialinfo_provider-2.2.0}/winrt/_winrt_windows_applicationmodel_socialinfo_provider.pyi +1 -1
  8. {winrt_windows_applicationmodel_socialinfo_provider-2.1.0 → winrt_windows_applicationmodel_socialinfo_provider-2.2.0}/winrt/windows/applicationmodel/socialinfo/provider/__init__.py +1 -1
  9. {winrt_windows_applicationmodel_socialinfo_provider-2.1.0 → winrt_windows_applicationmodel_socialinfo_provider-2.2.0}/winrt_Windows.ApplicationModel.SocialInfo.Provider.egg-info/PKG-INFO +6 -6
  10. winrt_windows_applicationmodel_socialinfo_provider-2.2.0/winrt_Windows.ApplicationModel.SocialInfo.Provider.egg-info/requires.txt +6 -0
  11. winrt_windows_applicationmodel_socialinfo_provider-2.1.0/all-requirements.txt +0 -5
  12. winrt_windows_applicationmodel_socialinfo_provider-2.1.0/pywinrt-version.txt +0 -1
  13. winrt_windows_applicationmodel_socialinfo_provider-2.1.0/winrt_Windows.ApplicationModel.SocialInfo.Provider.egg-info/requires.txt +0 -6
  14. {winrt_windows_applicationmodel_socialinfo_provider-2.1.0 → winrt_windows_applicationmodel_socialinfo_provider-2.2.0}/README.md +0 -0
  15. {winrt_windows_applicationmodel_socialinfo_provider-2.1.0 → winrt_windows_applicationmodel_socialinfo_provider-2.2.0}/setup.cfg +0 -0
  16. {winrt_windows_applicationmodel_socialinfo_provider-2.1.0 → winrt_windows_applicationmodel_socialinfo_provider-2.2.0}/setup.py +0 -0
  17. {winrt_windows_applicationmodel_socialinfo_provider-2.1.0 → winrt_windows_applicationmodel_socialinfo_provider-2.2.0}/winrt/windows/applicationmodel/socialinfo/provider/py.typed +0 -0
  18. {winrt_windows_applicationmodel_socialinfo_provider-2.1.0 → winrt_windows_applicationmodel_socialinfo_provider-2.2.0}/winrt_Windows.ApplicationModel.SocialInfo.Provider.egg-info/SOURCES.txt +0 -0
  19. {winrt_windows_applicationmodel_socialinfo_provider-2.1.0 → winrt_windows_applicationmodel_socialinfo_provider-2.2.0}/winrt_Windows.ApplicationModel.SocialInfo.Provider.egg-info/dependency_links.txt +0 -0
  20. {winrt_windows_applicationmodel_socialinfo_provider-2.1.0 → winrt_windows_applicationmodel_socialinfo_provider-2.2.0}/winrt_Windows.ApplicationModel.SocialInfo.Provider.egg-info/top_level.txt +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: winrt-Windows.ApplicationModel.SocialInfo.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.SocialInfo[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.SocialInfo[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.SocialInfo[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.SocialInfo.Provider.h"
4
4
 
@@ -29,7 +29,14 @@ namespace py::cpp::Windows::ApplicationModel::SocialInfo::Provider
29
29
  {
30
30
  try
31
31
  {
32
- if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsMethodPresent(L"Windows.ApplicationModel.SocialInfo.Provider.SocialDashboardItemUpdater", L"CommitAsync", 0))
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.SocialInfo.Provider.SocialDashboardItemUpdater", L"CommitAsync", 0);
37
+ }
38
+
39
+ if (!is_overload_present.value())
33
40
  {
34
41
  py::set_arg_count_version_error(0);
35
42
  return nullptr;
@@ -54,7 +61,14 @@ namespace py::cpp::Windows::ApplicationModel::SocialInfo::Provider
54
61
  {
55
62
  try
56
63
  {
57
- if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.ApplicationModel.SocialInfo.Provider.SocialDashboardItemUpdater", L"Timestamp"))
64
+ static std::optional<bool> is_property_present{};
65
+
66
+ if (!is_property_present.has_value())
67
+ {
68
+ is_property_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.ApplicationModel.SocialInfo.Provider.SocialDashboardItemUpdater", L"Timestamp");
69
+ }
70
+
71
+ if (!is_property_present.value())
58
72
  {
59
73
  PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
60
74
  return nullptr;
@@ -79,7 +93,14 @@ namespace py::cpp::Windows::ApplicationModel::SocialInfo::Provider
79
93
 
80
94
  try
81
95
  {
82
- if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.ApplicationModel.SocialInfo.Provider.SocialDashboardItemUpdater", L"Timestamp"))
96
+ static std::optional<bool> is_property_present{};
97
+
98
+ if (!is_property_present.has_value())
99
+ {
100
+ is_property_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.ApplicationModel.SocialInfo.Provider.SocialDashboardItemUpdater", L"Timestamp");
101
+ }
102
+
103
+ if (!is_property_present.value())
83
104
  {
84
105
  PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
85
106
  return -1;
@@ -101,7 +122,14 @@ namespace py::cpp::Windows::ApplicationModel::SocialInfo::Provider
101
122
  {
102
123
  try
103
124
  {
104
- if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.ApplicationModel.SocialInfo.Provider.SocialDashboardItemUpdater", L"Thumbnail"))
125
+ static std::optional<bool> is_property_present{};
126
+
127
+ if (!is_property_present.has_value())
128
+ {
129
+ is_property_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.ApplicationModel.SocialInfo.Provider.SocialDashboardItemUpdater", L"Thumbnail");
130
+ }
131
+
132
+ if (!is_property_present.value())
105
133
  {
106
134
  PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
107
135
  return nullptr;
@@ -126,7 +154,14 @@ namespace py::cpp::Windows::ApplicationModel::SocialInfo::Provider
126
154
 
127
155
  try
128
156
  {
129
- if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.ApplicationModel.SocialInfo.Provider.SocialDashboardItemUpdater", L"Thumbnail"))
157
+ static std::optional<bool> is_property_present{};
158
+
159
+ if (!is_property_present.has_value())
160
+ {
161
+ is_property_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.ApplicationModel.SocialInfo.Provider.SocialDashboardItemUpdater", L"Thumbnail");
162
+ }
163
+
164
+ if (!is_property_present.value())
130
165
  {
131
166
  PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
132
167
  return -1;
@@ -148,7 +183,14 @@ namespace py::cpp::Windows::ApplicationModel::SocialInfo::Provider
148
183
  {
149
184
  try
150
185
  {
151
- if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.ApplicationModel.SocialInfo.Provider.SocialDashboardItemUpdater", L"TargetUri"))
186
+ static std::optional<bool> is_property_present{};
187
+
188
+ if (!is_property_present.has_value())
189
+ {
190
+ is_property_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.ApplicationModel.SocialInfo.Provider.SocialDashboardItemUpdater", L"TargetUri");
191
+ }
192
+
193
+ if (!is_property_present.value())
152
194
  {
153
195
  PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
154
196
  return nullptr;
@@ -173,7 +215,14 @@ namespace py::cpp::Windows::ApplicationModel::SocialInfo::Provider
173
215
 
174
216
  try
175
217
  {
176
- if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.ApplicationModel.SocialInfo.Provider.SocialDashboardItemUpdater", L"TargetUri"))
218
+ static std::optional<bool> is_property_present{};
219
+
220
+ if (!is_property_present.has_value())
221
+ {
222
+ is_property_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.ApplicationModel.SocialInfo.Provider.SocialDashboardItemUpdater", L"TargetUri");
223
+ }
224
+
225
+ if (!is_property_present.value())
177
226
  {
178
227
  PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
179
228
  return -1;
@@ -195,7 +244,14 @@ namespace py::cpp::Windows::ApplicationModel::SocialInfo::Provider
195
244
  {
196
245
  try
197
246
  {
198
- if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.ApplicationModel.SocialInfo.Provider.SocialDashboardItemUpdater", L"Content"))
247
+ static std::optional<bool> is_property_present{};
248
+
249
+ if (!is_property_present.has_value())
250
+ {
251
+ is_property_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.ApplicationModel.SocialInfo.Provider.SocialDashboardItemUpdater", L"Content");
252
+ }
253
+
254
+ if (!is_property_present.value())
199
255
  {
200
256
  PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
201
257
  return nullptr;
@@ -214,7 +270,14 @@ namespace py::cpp::Windows::ApplicationModel::SocialInfo::Provider
214
270
  {
215
271
  try
216
272
  {
217
- if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.ApplicationModel.SocialInfo.Provider.SocialDashboardItemUpdater", L"OwnerRemoteId"))
273
+ static std::optional<bool> is_property_present{};
274
+
275
+ if (!is_property_present.has_value())
276
+ {
277
+ is_property_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.ApplicationModel.SocialInfo.Provider.SocialDashboardItemUpdater", L"OwnerRemoteId");
278
+ }
279
+
280
+ if (!is_property_present.value())
218
281
  {
219
282
  PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
220
283
  return nullptr;
@@ -309,7 +372,14 @@ namespace py::cpp::Windows::ApplicationModel::SocialInfo::Provider
309
372
  {
310
373
  try
311
374
  {
312
- if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsMethodPresent(L"Windows.ApplicationModel.SocialInfo.Provider.SocialFeedUpdater", L"CommitAsync", 0))
375
+ static std::optional<bool> is_overload_present{};
376
+
377
+ if (!is_overload_present.has_value())
378
+ {
379
+ is_overload_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsMethodPresent(L"Windows.ApplicationModel.SocialInfo.Provider.SocialFeedUpdater", L"CommitAsync", 0);
380
+ }
381
+
382
+ if (!is_overload_present.value())
313
383
  {
314
384
  py::set_arg_count_version_error(0);
315
385
  return nullptr;
@@ -334,7 +404,14 @@ namespace py::cpp::Windows::ApplicationModel::SocialInfo::Provider
334
404
  {
335
405
  try
336
406
  {
337
- if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.ApplicationModel.SocialInfo.Provider.SocialFeedUpdater", L"Items"))
407
+ static std::optional<bool> is_property_present{};
408
+
409
+ if (!is_property_present.has_value())
410
+ {
411
+ is_property_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.ApplicationModel.SocialInfo.Provider.SocialFeedUpdater", L"Items");
412
+ }
413
+
414
+ if (!is_property_present.value())
338
415
  {
339
416
  PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
340
417
  return nullptr;
@@ -353,7 +430,14 @@ namespace py::cpp::Windows::ApplicationModel::SocialInfo::Provider
353
430
  {
354
431
  try
355
432
  {
356
- if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.ApplicationModel.SocialInfo.Provider.SocialFeedUpdater", L"Kind"))
433
+ static std::optional<bool> is_property_present{};
434
+
435
+ if (!is_property_present.has_value())
436
+ {
437
+ is_property_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.ApplicationModel.SocialInfo.Provider.SocialFeedUpdater", L"Kind");
438
+ }
439
+
440
+ if (!is_property_present.value())
357
441
  {
358
442
  PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
359
443
  return nullptr;
@@ -372,7 +456,14 @@ namespace py::cpp::Windows::ApplicationModel::SocialInfo::Provider
372
456
  {
373
457
  try
374
458
  {
375
- if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.ApplicationModel.SocialInfo.Provider.SocialFeedUpdater", L"OwnerRemoteId"))
459
+ static std::optional<bool> is_property_present{};
460
+
461
+ if (!is_property_present.has_value())
462
+ {
463
+ is_property_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.ApplicationModel.SocialInfo.Provider.SocialFeedUpdater", L"OwnerRemoteId");
464
+ }
465
+
466
+ if (!is_property_present.value())
376
467
  {
377
468
  PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
378
469
  return nullptr;
@@ -457,7 +548,14 @@ namespace py::cpp::Windows::ApplicationModel::SocialInfo::Provider
457
548
  {
458
549
  try
459
550
  {
460
- if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsMethodPresent(L"Windows.ApplicationModel.SocialInfo.Provider.SocialInfoProviderManager", L"CreateDashboardItemUpdaterAsync", 1))
551
+ static std::optional<bool> is_overload_present{};
552
+
553
+ if (!is_overload_present.has_value())
554
+ {
555
+ is_overload_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsMethodPresent(L"Windows.ApplicationModel.SocialInfo.Provider.SocialInfoProviderManager", L"CreateDashboardItemUpdaterAsync", 1);
556
+ }
557
+
558
+ if (!is_overload_present.value())
461
559
  {
462
560
  py::set_arg_count_version_error(1);
463
561
  return nullptr;
@@ -488,7 +586,14 @@ namespace py::cpp::Windows::ApplicationModel::SocialInfo::Provider
488
586
  {
489
587
  try
490
588
  {
491
- if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsMethodPresent(L"Windows.ApplicationModel.SocialInfo.Provider.SocialInfoProviderManager", L"CreateSocialFeedUpdaterAsync", 3))
589
+ static std::optional<bool> is_overload_present{};
590
+
591
+ if (!is_overload_present.has_value())
592
+ {
593
+ is_overload_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsMethodPresent(L"Windows.ApplicationModel.SocialInfo.Provider.SocialInfoProviderManager", L"CreateSocialFeedUpdaterAsync", 3);
594
+ }
595
+
596
+ if (!is_overload_present.value())
492
597
  {
493
598
  py::set_arg_count_version_error(3);
494
599
  return nullptr;
@@ -521,7 +626,14 @@ namespace py::cpp::Windows::ApplicationModel::SocialInfo::Provider
521
626
  {
522
627
  try
523
628
  {
524
- if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsMethodPresent(L"Windows.ApplicationModel.SocialInfo.Provider.SocialInfoProviderManager", L"DeprovisionAsync", 0))
629
+ static std::optional<bool> is_overload_present{};
630
+
631
+ if (!is_overload_present.has_value())
632
+ {
633
+ is_overload_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsMethodPresent(L"Windows.ApplicationModel.SocialInfo.Provider.SocialInfoProviderManager", L"DeprovisionAsync", 0);
634
+ }
635
+
636
+ if (!is_overload_present.value())
525
637
  {
526
638
  py::set_arg_count_version_error(0);
527
639
  return nullptr;
@@ -550,7 +662,14 @@ namespace py::cpp::Windows::ApplicationModel::SocialInfo::Provider
550
662
  {
551
663
  try
552
664
  {
553
- if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsMethodPresent(L"Windows.ApplicationModel.SocialInfo.Provider.SocialInfoProviderManager", L"ProvisionAsync", 0))
665
+ static std::optional<bool> is_overload_present{};
666
+
667
+ if (!is_overload_present.has_value())
668
+ {
669
+ is_overload_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsMethodPresent(L"Windows.ApplicationModel.SocialInfo.Provider.SocialInfoProviderManager", L"ProvisionAsync", 0);
670
+ }
671
+
672
+ if (!is_overload_present.value())
554
673
  {
555
674
  py::set_arg_count_version_error(0);
556
675
  return nullptr;
@@ -579,7 +698,14 @@ namespace py::cpp::Windows::ApplicationModel::SocialInfo::Provider
579
698
  {
580
699
  try
581
700
  {
582
- if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsMethodPresent(L"Windows.ApplicationModel.SocialInfo.Provider.SocialInfoProviderManager", L"ReportNewContentAvailable", 2))
701
+ static std::optional<bool> is_overload_present{};
702
+
703
+ if (!is_overload_present.has_value())
704
+ {
705
+ is_overload_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsMethodPresent(L"Windows.ApplicationModel.SocialInfo.Provider.SocialInfoProviderManager", L"ReportNewContentAvailable", 2);
706
+ }
707
+
708
+ if (!is_overload_present.value())
583
709
  {
584
710
  py::set_arg_count_version_error(2);
585
711
  return nullptr;
@@ -612,7 +738,14 @@ namespace py::cpp::Windows::ApplicationModel::SocialInfo::Provider
612
738
  {
613
739
  try
614
740
  {
615
- if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsMethodPresent(L"Windows.ApplicationModel.SocialInfo.Provider.SocialInfoProviderManager", L"UpdateBadgeCountValue", 2))
741
+ static std::optional<bool> is_overload_present{};
742
+
743
+ if (!is_overload_present.has_value())
744
+ {
745
+ is_overload_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsMethodPresent(L"Windows.ApplicationModel.SocialInfo.Provider.SocialInfoProviderManager", L"UpdateBadgeCountValue", 2);
746
+ }
747
+
748
+ if (!is_overload_present.value())
616
749
  {
617
750
  py::set_arg_count_version_error(2);
618
751
  return nullptr;
@@ -735,12 +868,14 @@ PyMODINIT_FUNC PyInit__winrt_windows_applicationmodel_socialinfo_provider(void)
735
868
  return nullptr;
736
869
  }
737
870
 
738
- if (py::register_python_type(module.get(), &type_spec_SocialDashboardItemUpdater, object_bases.get(), nullptr) == -1)
871
+ py::pytype_handle SocialDashboardItemUpdater_type{py::register_python_type(module.get(), &type_spec_SocialDashboardItemUpdater, object_bases.get(), nullptr)};
872
+ if (!SocialDashboardItemUpdater_type)
739
873
  {
740
874
  return nullptr;
741
875
  }
742
876
 
743
- if (py::register_python_type(module.get(), &type_spec_SocialFeedUpdater, object_bases.get(), nullptr) == -1)
877
+ py::pytype_handle SocialFeedUpdater_type{py::register_python_type(module.get(), &type_spec_SocialFeedUpdater, object_bases.get(), nullptr)};
878
+ if (!SocialFeedUpdater_type)
744
879
  {
745
880
  return nullptr;
746
881
  }
@@ -751,7 +886,8 @@ PyMODINIT_FUNC PyInit__winrt_windows_applicationmodel_socialinfo_provider(void)
751
886
  return nullptr;
752
887
  }
753
888
 
754
- if (py::register_python_type(module.get(), &type_spec_SocialInfoProviderManager, object_bases.get(), reinterpret_cast<PyTypeObject*>(type_SocialInfoProviderManager_Static.get())) == -1)
889
+ py::pytype_handle SocialInfoProviderManager_type{py::register_python_type(module.get(), &type_spec_SocialInfoProviderManager, object_bases.get(), reinterpret_cast<PyTypeObject*>(type_SocialInfoProviderManager_Static.get()))};
890
+ if (!SocialInfoProviderManager_type)
755
891
  {
756
892
  return nullptr;
757
893
  }
@@ -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_socialinfo_provider
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: winrt-Windows.ApplicationModel.SocialInfo.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.SocialInfo[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.SocialInfo[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.SocialInfo[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.SocialInfo[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.SocialInfo[all]==2.1.0
5
- winrt-Windows.Foundation[all]==2.1.0
6
- winrt-Windows.Foundation.Collections[all]==2.1.0