winrt-Windows.Media.FaceAnalysis 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_media_faceanalysis-2.1.0 → winrt_windows_media_faceanalysis-2.2.0}/PKG-INFO +7 -7
  2. winrt_windows_media_faceanalysis-2.2.0/all-requirements.txt +6 -0
  3. {winrt_windows_media_faceanalysis-2.1.0 → winrt_windows_media_faceanalysis-2.2.0}/py.Windows.Media.FaceAnalysis.cpp +167 -24
  4. {winrt_windows_media_faceanalysis-2.1.0 → winrt_windows_media_faceanalysis-2.2.0}/pyproject.toml +3 -2
  5. winrt_windows_media_faceanalysis-2.2.0/pywinrt-version.txt +1 -0
  6. {winrt_windows_media_faceanalysis-2.1.0 → winrt_windows_media_faceanalysis-2.2.0}/requirements.txt +2 -2
  7. {winrt_windows_media_faceanalysis-2.1.0 → winrt_windows_media_faceanalysis-2.2.0}/winrt/_winrt_windows_media_faceanalysis.pyi +1 -1
  8. {winrt_windows_media_faceanalysis-2.1.0 → winrt_windows_media_faceanalysis-2.2.0}/winrt/windows/media/faceanalysis/__init__.py +1 -1
  9. {winrt_windows_media_faceanalysis-2.1.0 → winrt_windows_media_faceanalysis-2.2.0}/winrt_Windows.Media.FaceAnalysis.egg-info/PKG-INFO +7 -7
  10. winrt_windows_media_faceanalysis-2.2.0/winrt_Windows.Media.FaceAnalysis.egg-info/requires.txt +7 -0
  11. winrt_windows_media_faceanalysis-2.1.0/all-requirements.txt +0 -6
  12. winrt_windows_media_faceanalysis-2.1.0/pywinrt-version.txt +0 -1
  13. winrt_windows_media_faceanalysis-2.1.0/winrt_Windows.Media.FaceAnalysis.egg-info/requires.txt +0 -7
  14. {winrt_windows_media_faceanalysis-2.1.0 → winrt_windows_media_faceanalysis-2.2.0}/README.md +0 -0
  15. {winrt_windows_media_faceanalysis-2.1.0 → winrt_windows_media_faceanalysis-2.2.0}/setup.cfg +0 -0
  16. {winrt_windows_media_faceanalysis-2.1.0 → winrt_windows_media_faceanalysis-2.2.0}/setup.py +0 -0
  17. {winrt_windows_media_faceanalysis-2.1.0 → winrt_windows_media_faceanalysis-2.2.0}/winrt/windows/media/faceanalysis/py.typed +0 -0
  18. {winrt_windows_media_faceanalysis-2.1.0 → winrt_windows_media_faceanalysis-2.2.0}/winrt_Windows.Media.FaceAnalysis.egg-info/SOURCES.txt +0 -0
  19. {winrt_windows_media_faceanalysis-2.1.0 → winrt_windows_media_faceanalysis-2.2.0}/winrt_Windows.Media.FaceAnalysis.egg-info/dependency_links.txt +0 -0
  20. {winrt_windows_media_faceanalysis-2.1.0 → winrt_windows_media_faceanalysis-2.2.0}/winrt_Windows.Media.FaceAnalysis.egg-info/top_level.txt +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: winrt-Windows.Media.FaceAnalysis
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,14 +10,14 @@ 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.Foundation[all]==2.1.0; extra == "all"
18
- Requires-Dist: winrt-Windows.Foundation.Collections[all]==2.1.0; extra == "all"
19
- Requires-Dist: winrt-Windows.Graphics.Imaging[all]==2.1.0; extra == "all"
20
- Requires-Dist: winrt-Windows.Media[all]==2.1.0; extra == "all"
17
+ Requires-Dist: winrt-Windows.Foundation[all]==2.2.0; extra == "all"
18
+ Requires-Dist: winrt-Windows.Foundation.Collections[all]==2.2.0; extra == "all"
19
+ Requires-Dist: winrt-Windows.Graphics.Imaging[all]==2.2.0; extra == "all"
20
+ Requires-Dist: winrt-Windows.Media[all]==2.2.0; extra == "all"
21
21
 
22
22
  <!-- warning: Please don't edit this file. It was automatically generated. -->
23
23
 
@@ -0,0 +1,6 @@
1
+ # WARNING: Please don't edit this file. It was generated by Python/WinRT v2.2.0
2
+
3
+ winrt-Windows.Foundation[all]==2.2.0
4
+ winrt-Windows.Foundation.Collections[all]==2.2.0
5
+ winrt-Windows.Graphics.Imaging[all]==2.2.0
6
+ winrt-Windows.Media[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.Media.FaceAnalysis.h"
4
4
 
@@ -25,7 +25,14 @@ namespace py::cpp::Windows::Media::FaceAnalysis
25
25
  {
26
26
  try
27
27
  {
28
- if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.Media.FaceAnalysis.DetectedFace", L"FaceBox"))
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.Media.FaceAnalysis.DetectedFace", L"FaceBox");
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;
@@ -115,7 +122,14 @@ namespace py::cpp::Windows::Media::FaceAnalysis
115
122
  {
116
123
  try
117
124
  {
118
- if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsMethodPresent(L"Windows.Media.FaceAnalysis.FaceDetector", L"CreateAsync", 0))
125
+ static std::optional<bool> is_overload_present{};
126
+
127
+ if (!is_overload_present.has_value())
128
+ {
129
+ is_overload_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsMethodPresent(L"Windows.Media.FaceAnalysis.FaceDetector", L"CreateAsync", 0);
130
+ }
131
+
132
+ if (!is_overload_present.value())
119
133
  {
120
134
  py::set_arg_count_version_error(0);
121
135
  return nullptr;
@@ -144,7 +158,14 @@ namespace py::cpp::Windows::Media::FaceAnalysis
144
158
  {
145
159
  try
146
160
  {
147
- if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsMethodPresent(L"Windows.Media.FaceAnalysis.FaceDetector", L"DetectFacesAsync", 1))
161
+ static std::optional<bool> is_overload_present{};
162
+
163
+ if (!is_overload_present.has_value())
164
+ {
165
+ is_overload_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsMethodPresent(L"Windows.Media.FaceAnalysis.FaceDetector", L"DetectFacesAsync", 1);
166
+ }
167
+
168
+ if (!is_overload_present.value())
148
169
  {
149
170
  py::set_arg_count_version_error(1);
150
171
  return nullptr;
@@ -164,7 +185,14 @@ namespace py::cpp::Windows::Media::FaceAnalysis
164
185
  {
165
186
  try
166
187
  {
167
- if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsMethodPresent(L"Windows.Media.FaceAnalysis.FaceDetector", L"DetectFacesAsync", 2))
188
+ static std::optional<bool> is_overload_present{};
189
+
190
+ if (!is_overload_present.has_value())
191
+ {
192
+ is_overload_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsMethodPresent(L"Windows.Media.FaceAnalysis.FaceDetector", L"DetectFacesAsync", 2);
193
+ }
194
+
195
+ if (!is_overload_present.value())
168
196
  {
169
197
  py::set_arg_count_version_error(2);
170
198
  return nullptr;
@@ -196,7 +224,14 @@ namespace py::cpp::Windows::Media::FaceAnalysis
196
224
  {
197
225
  try
198
226
  {
199
- if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsMethodPresent(L"Windows.Media.FaceAnalysis.FaceDetector", L"GetSupportedBitmapPixelFormats", 0))
227
+ static std::optional<bool> is_overload_present{};
228
+
229
+ if (!is_overload_present.has_value())
230
+ {
231
+ is_overload_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsMethodPresent(L"Windows.Media.FaceAnalysis.FaceDetector", L"GetSupportedBitmapPixelFormats", 0);
232
+ }
233
+
234
+ if (!is_overload_present.value())
200
235
  {
201
236
  py::set_arg_count_version_error(0);
202
237
  return nullptr;
@@ -225,7 +260,14 @@ namespace py::cpp::Windows::Media::FaceAnalysis
225
260
  {
226
261
  try
227
262
  {
228
- if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsMethodPresent(L"Windows.Media.FaceAnalysis.FaceDetector", L"IsBitmapPixelFormatSupported", 1))
263
+ static std::optional<bool> is_overload_present{};
264
+
265
+ if (!is_overload_present.has_value())
266
+ {
267
+ is_overload_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsMethodPresent(L"Windows.Media.FaceAnalysis.FaceDetector", L"IsBitmapPixelFormatSupported", 1);
268
+ }
269
+
270
+ if (!is_overload_present.value())
229
271
  {
230
272
  py::set_arg_count_version_error(1);
231
273
  return nullptr;
@@ -252,7 +294,14 @@ namespace py::cpp::Windows::Media::FaceAnalysis
252
294
  {
253
295
  try
254
296
  {
255
- if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.Media.FaceAnalysis.FaceDetector", L"MinDetectableFaceSize"))
297
+ static std::optional<bool> is_property_present{};
298
+
299
+ if (!is_property_present.has_value())
300
+ {
301
+ is_property_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.Media.FaceAnalysis.FaceDetector", L"MinDetectableFaceSize");
302
+ }
303
+
304
+ if (!is_property_present.value())
256
305
  {
257
306
  PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
258
307
  return nullptr;
@@ -277,7 +326,14 @@ namespace py::cpp::Windows::Media::FaceAnalysis
277
326
 
278
327
  try
279
328
  {
280
- if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.Media.FaceAnalysis.FaceDetector", L"MinDetectableFaceSize"))
329
+ static std::optional<bool> is_property_present{};
330
+
331
+ if (!is_property_present.has_value())
332
+ {
333
+ is_property_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.Media.FaceAnalysis.FaceDetector", L"MinDetectableFaceSize");
334
+ }
335
+
336
+ if (!is_property_present.value())
281
337
  {
282
338
  PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
283
339
  return -1;
@@ -299,7 +355,14 @@ namespace py::cpp::Windows::Media::FaceAnalysis
299
355
  {
300
356
  try
301
357
  {
302
- if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.Media.FaceAnalysis.FaceDetector", L"MaxDetectableFaceSize"))
358
+ static std::optional<bool> is_property_present{};
359
+
360
+ if (!is_property_present.has_value())
361
+ {
362
+ is_property_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.Media.FaceAnalysis.FaceDetector", L"MaxDetectableFaceSize");
363
+ }
364
+
365
+ if (!is_property_present.value())
303
366
  {
304
367
  PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
305
368
  return nullptr;
@@ -324,7 +387,14 @@ namespace py::cpp::Windows::Media::FaceAnalysis
324
387
 
325
388
  try
326
389
  {
327
- if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.Media.FaceAnalysis.FaceDetector", L"MaxDetectableFaceSize"))
390
+ static std::optional<bool> is_property_present{};
391
+
392
+ if (!is_property_present.has_value())
393
+ {
394
+ is_property_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.Media.FaceAnalysis.FaceDetector", L"MaxDetectableFaceSize");
395
+ }
396
+
397
+ if (!is_property_present.value())
328
398
  {
329
399
  PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
330
400
  return -1;
@@ -346,7 +416,14 @@ namespace py::cpp::Windows::Media::FaceAnalysis
346
416
  {
347
417
  try
348
418
  {
349
- if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.Media.FaceAnalysis.FaceDetector", L"IsSupported"))
419
+ static std::optional<bool> is_property_present{};
420
+
421
+ if (!is_property_present.has_value())
422
+ {
423
+ is_property_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.Media.FaceAnalysis.FaceDetector", L"IsSupported");
424
+ }
425
+
426
+ if (!is_property_present.value())
350
427
  {
351
428
  PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
352
429
  return nullptr;
@@ -467,7 +544,14 @@ namespace py::cpp::Windows::Media::FaceAnalysis
467
544
  {
468
545
  try
469
546
  {
470
- if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsMethodPresent(L"Windows.Media.FaceAnalysis.FaceTracker", L"CreateAsync", 0))
547
+ static std::optional<bool> is_overload_present{};
548
+
549
+ if (!is_overload_present.has_value())
550
+ {
551
+ is_overload_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsMethodPresent(L"Windows.Media.FaceAnalysis.FaceTracker", L"CreateAsync", 0);
552
+ }
553
+
554
+ if (!is_overload_present.value())
471
555
  {
472
556
  py::set_arg_count_version_error(0);
473
557
  return nullptr;
@@ -496,7 +580,14 @@ namespace py::cpp::Windows::Media::FaceAnalysis
496
580
  {
497
581
  try
498
582
  {
499
- if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsMethodPresent(L"Windows.Media.FaceAnalysis.FaceTracker", L"GetSupportedBitmapPixelFormats", 0))
583
+ static std::optional<bool> is_overload_present{};
584
+
585
+ if (!is_overload_present.has_value())
586
+ {
587
+ is_overload_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsMethodPresent(L"Windows.Media.FaceAnalysis.FaceTracker", L"GetSupportedBitmapPixelFormats", 0);
588
+ }
589
+
590
+ if (!is_overload_present.value())
500
591
  {
501
592
  py::set_arg_count_version_error(0);
502
593
  return nullptr;
@@ -525,7 +616,14 @@ namespace py::cpp::Windows::Media::FaceAnalysis
525
616
  {
526
617
  try
527
618
  {
528
- if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsMethodPresent(L"Windows.Media.FaceAnalysis.FaceTracker", L"IsBitmapPixelFormatSupported", 1))
619
+ static std::optional<bool> is_overload_present{};
620
+
621
+ if (!is_overload_present.has_value())
622
+ {
623
+ is_overload_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsMethodPresent(L"Windows.Media.FaceAnalysis.FaceTracker", L"IsBitmapPixelFormatSupported", 1);
624
+ }
625
+
626
+ if (!is_overload_present.value())
529
627
  {
530
628
  py::set_arg_count_version_error(1);
531
629
  return nullptr;
@@ -556,7 +654,14 @@ namespace py::cpp::Windows::Media::FaceAnalysis
556
654
  {
557
655
  try
558
656
  {
559
- if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsMethodPresent(L"Windows.Media.FaceAnalysis.FaceTracker", L"ProcessNextFrameAsync", 1))
657
+ static std::optional<bool> is_overload_present{};
658
+
659
+ if (!is_overload_present.has_value())
660
+ {
661
+ is_overload_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsMethodPresent(L"Windows.Media.FaceAnalysis.FaceTracker", L"ProcessNextFrameAsync", 1);
662
+ }
663
+
664
+ if (!is_overload_present.value())
560
665
  {
561
666
  py::set_arg_count_version_error(1);
562
667
  return nullptr;
@@ -583,7 +688,14 @@ namespace py::cpp::Windows::Media::FaceAnalysis
583
688
  {
584
689
  try
585
690
  {
586
- if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.Media.FaceAnalysis.FaceTracker", L"MinDetectableFaceSize"))
691
+ static std::optional<bool> is_property_present{};
692
+
693
+ if (!is_property_present.has_value())
694
+ {
695
+ is_property_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.Media.FaceAnalysis.FaceTracker", L"MinDetectableFaceSize");
696
+ }
697
+
698
+ if (!is_property_present.value())
587
699
  {
588
700
  PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
589
701
  return nullptr;
@@ -608,7 +720,14 @@ namespace py::cpp::Windows::Media::FaceAnalysis
608
720
 
609
721
  try
610
722
  {
611
- if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.Media.FaceAnalysis.FaceTracker", L"MinDetectableFaceSize"))
723
+ static std::optional<bool> is_property_present{};
724
+
725
+ if (!is_property_present.has_value())
726
+ {
727
+ is_property_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.Media.FaceAnalysis.FaceTracker", L"MinDetectableFaceSize");
728
+ }
729
+
730
+ if (!is_property_present.value())
612
731
  {
613
732
  PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
614
733
  return -1;
@@ -630,7 +749,14 @@ namespace py::cpp::Windows::Media::FaceAnalysis
630
749
  {
631
750
  try
632
751
  {
633
- if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.Media.FaceAnalysis.FaceTracker", L"MaxDetectableFaceSize"))
752
+ static std::optional<bool> is_property_present{};
753
+
754
+ if (!is_property_present.has_value())
755
+ {
756
+ is_property_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.Media.FaceAnalysis.FaceTracker", L"MaxDetectableFaceSize");
757
+ }
758
+
759
+ if (!is_property_present.value())
634
760
  {
635
761
  PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
636
762
  return nullptr;
@@ -655,7 +781,14 @@ namespace py::cpp::Windows::Media::FaceAnalysis
655
781
 
656
782
  try
657
783
  {
658
- if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.Media.FaceAnalysis.FaceTracker", L"MaxDetectableFaceSize"))
784
+ static std::optional<bool> is_property_present{};
785
+
786
+ if (!is_property_present.has_value())
787
+ {
788
+ is_property_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.Media.FaceAnalysis.FaceTracker", L"MaxDetectableFaceSize");
789
+ }
790
+
791
+ if (!is_property_present.value())
659
792
  {
660
793
  PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
661
794
  return -1;
@@ -677,7 +810,14 @@ namespace py::cpp::Windows::Media::FaceAnalysis
677
810
  {
678
811
  try
679
812
  {
680
- if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.Media.FaceAnalysis.FaceTracker", L"IsSupported"))
813
+ static std::optional<bool> is_property_present{};
814
+
815
+ if (!is_property_present.has_value())
816
+ {
817
+ is_property_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.Media.FaceAnalysis.FaceTracker", L"IsSupported");
818
+ }
819
+
820
+ if (!is_property_present.value())
681
821
  {
682
822
  PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
683
823
  return nullptr;
@@ -818,7 +958,8 @@ PyMODINIT_FUNC PyInit__winrt_windows_media_faceanalysis(void) noexcept
818
958
  return nullptr;
819
959
  }
820
960
 
821
- if (py::register_python_type(module.get(), &type_spec_DetectedFace, object_bases.get(), nullptr) == -1)
961
+ py::pytype_handle DetectedFace_type{py::register_python_type(module.get(), &type_spec_DetectedFace, object_bases.get(), nullptr)};
962
+ if (!DetectedFace_type)
822
963
  {
823
964
  return nullptr;
824
965
  }
@@ -829,7 +970,8 @@ PyMODINIT_FUNC PyInit__winrt_windows_media_faceanalysis(void) noexcept
829
970
  return nullptr;
830
971
  }
831
972
 
832
- if (py::register_python_type(module.get(), &type_spec_FaceDetector, object_bases.get(), reinterpret_cast<PyTypeObject*>(type_FaceDetector_Static.get())) == -1)
973
+ py::pytype_handle FaceDetector_type{py::register_python_type(module.get(), &type_spec_FaceDetector, object_bases.get(), reinterpret_cast<PyTypeObject*>(type_FaceDetector_Static.get()))};
974
+ if (!FaceDetector_type)
833
975
  {
834
976
  return nullptr;
835
977
  }
@@ -840,7 +982,8 @@ PyMODINIT_FUNC PyInit__winrt_windows_media_faceanalysis(void) noexcept
840
982
  return nullptr;
841
983
  }
842
984
 
843
- if (py::register_python_type(module.get(), &type_spec_FaceTracker, object_bases.get(), reinterpret_cast<PyTypeObject*>(type_FaceTracker_Static.get())) == -1)
985
+ py::pytype_handle FaceTracker_type{py::register_python_type(module.get(), &type_spec_FaceTracker, object_bases.get(), reinterpret_cast<PyTypeObject*>(type_FaceTracker_Static.get()))};
986
+ if (!FaceTracker_type)
844
987
  {
845
988
  return nullptr;
846
989
  }
@@ -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_media_faceanalysis
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: winrt-Windows.Media.FaceAnalysis
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,14 +10,14 @@ 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.Foundation[all]==2.1.0; extra == "all"
18
- Requires-Dist: winrt-Windows.Foundation.Collections[all]==2.1.0; extra == "all"
19
- Requires-Dist: winrt-Windows.Graphics.Imaging[all]==2.1.0; extra == "all"
20
- Requires-Dist: winrt-Windows.Media[all]==2.1.0; extra == "all"
17
+ Requires-Dist: winrt-Windows.Foundation[all]==2.2.0; extra == "all"
18
+ Requires-Dist: winrt-Windows.Foundation.Collections[all]==2.2.0; extra == "all"
19
+ Requires-Dist: winrt-Windows.Graphics.Imaging[all]==2.2.0; extra == "all"
20
+ Requires-Dist: winrt-Windows.Media[all]==2.2.0; extra == "all"
21
21
 
22
22
  <!-- warning: Please don't edit this file. It was automatically generated. -->
23
23
 
@@ -0,0 +1,7 @@
1
+ winrt-runtime==2.2.0
2
+
3
+ [all]
4
+ winrt-Windows.Foundation[all]==2.2.0
5
+ winrt-Windows.Foundation.Collections[all]==2.2.0
6
+ winrt-Windows.Graphics.Imaging[all]==2.2.0
7
+ winrt-Windows.Media[all]==2.2.0
@@ -1,6 +0,0 @@
1
- # WARNING: Please don't edit this file. It was generated by Python/WinRT v2.1.0
2
-
3
- winrt-Windows.Foundation[all]==2.1.0
4
- winrt-Windows.Foundation.Collections[all]==2.1.0
5
- winrt-Windows.Graphics.Imaging[all]==2.1.0
6
- winrt-Windows.Media[all]==2.1.0
@@ -1,7 +0,0 @@
1
- winrt-runtime==2.1.0
2
-
3
- [all]
4
- winrt-Windows.Foundation[all]==2.1.0
5
- winrt-Windows.Foundation.Collections[all]==2.1.0
6
- winrt-Windows.Graphics.Imaging[all]==2.1.0
7
- winrt-Windows.Media[all]==2.1.0