pyobjc-framework-Vision 12.0__tar.gz → 12.2__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 (78) hide show
  1. {pyobjc_framework_vision-12.0 → pyobjc_framework_vision-12.2}/Lib/Vision/_metadata.py +62 -1
  2. {pyobjc_framework_vision-12.0 → pyobjc_framework_vision-12.2}/Lib/pyobjc_framework_Vision.egg-info/PKG-INFO +7 -8
  3. {pyobjc_framework_vision-12.0 → pyobjc_framework_vision-12.2}/Lib/pyobjc_framework_Vision.egg-info/SOURCES.txt +2 -2
  4. pyobjc_framework_vision-12.2/Lib/pyobjc_framework_Vision.egg-info/pyobjc-build-info.txt +3 -0
  5. pyobjc_framework_vision-12.2/Lib/pyobjc_framework_Vision.egg-info/requires.txt +4 -0
  6. {pyobjc_framework_vision-12.0 → pyobjc_framework_vision-12.2}/Modules/pyobjc-compat.h +24 -50
  7. {pyobjc_framework_vision-12.0 → pyobjc_framework_vision-12.2}/PKG-INFO +7 -8
  8. {pyobjc_framework_vision-12.0 → pyobjc_framework_vision-12.2}/metadata/Vision.fwinfo +118 -118
  9. pyobjc_framework_vision-12.0/metadata/raw/arm64-26.0.fwinfo → pyobjc_framework_vision-12.2/metadata/raw/arm64-26.5.fwinfo +3208 -133
  10. pyobjc_framework_vision-12.0/metadata/raw/x86_64-26.0.fwinfo → pyobjc_framework_vision-12.2/metadata/raw/x86_64-26.5.fwinfo +3208 -133
  11. {pyobjc_framework_vision-12.0 → pyobjc_framework_vision-12.2}/pyobjc_setup.py +4 -5
  12. {pyobjc_framework_vision-12.0 → pyobjc_framework_vision-12.2}/setup.py +1 -1
  13. pyobjc_framework_vision-12.0/Lib/pyobjc_framework_Vision.egg-info/pyobjc-build-info.txt +0 -3
  14. pyobjc_framework_vision-12.0/Lib/pyobjc_framework_Vision.egg-info/requires.txt +0 -4
  15. {pyobjc_framework_vision-12.0 → pyobjc_framework_vision-12.2}/Lib/Vision/__init__.py +0 -0
  16. {pyobjc_framework_vision-12.0 → pyobjc_framework_vision-12.2}/Lib/pyobjc_framework_Vision.egg-info/dependency_links.txt +0 -0
  17. {pyobjc_framework_vision-12.0 → pyobjc_framework_vision-12.2}/Lib/pyobjc_framework_Vision.egg-info/not-zip-safe +0 -0
  18. {pyobjc_framework_vision-12.0 → pyobjc_framework_vision-12.2}/Lib/pyobjc_framework_Vision.egg-info/top_level.txt +0 -0
  19. {pyobjc_framework_vision-12.0 → pyobjc_framework_vision-12.2}/License.txt +0 -0
  20. {pyobjc_framework_vision-12.0 → pyobjc_framework_vision-12.2}/MANIFEST.in +0 -0
  21. {pyobjc_framework_vision-12.0 → pyobjc_framework_vision-12.2}/Modules/_Vision.m +0 -0
  22. {pyobjc_framework_vision-12.0 → pyobjc_framework_vision-12.2}/Modules/_Vision_protocols.m +0 -0
  23. {pyobjc_framework_vision-12.0 → pyobjc_framework_vision-12.2}/Modules/pyobjc-api.h +0 -0
  24. {pyobjc_framework_vision-12.0 → pyobjc_framework_vision-12.2}/PyObjCTest/__init__.py +0 -0
  25. {pyobjc_framework_vision-12.0 → pyobjc_framework_vision-12.2}/PyObjCTest/test_vision.py +0 -0
  26. {pyobjc_framework_vision-12.0 → pyobjc_framework_vision-12.2}/PyObjCTest/test_vncalculateimageaestheticsscoresrequest.py +0 -0
  27. {pyobjc_framework_vision-12.0 → pyobjc_framework_vision-12.2}/PyObjCTest/test_vnclassifyimagerequest.py +0 -0
  28. {pyobjc_framework_vision-12.0 → pyobjc_framework_vision-12.2}/PyObjCTest/test_vncoremlrequest.py +0 -0
  29. {pyobjc_framework_vision-12.0 → pyobjc_framework_vision-12.2}/PyObjCTest/test_vndetectanimalbodyposerequest.py +0 -0
  30. {pyobjc_framework_vision-12.0 → pyobjc_framework_vision-12.2}/PyObjCTest/test_vndetectbarcodesrequest.py +0 -0
  31. {pyobjc_framework_vision-12.0 → pyobjc_framework_vision-12.2}/PyObjCTest/test_vndetectcontoursrequest.py +0 -0
  32. {pyobjc_framework_vision-12.0 → pyobjc_framework_vision-12.2}/PyObjCTest/test_vndetectdocumentsegmentationrequest.py +0 -0
  33. {pyobjc_framework_vision-12.0 → pyobjc_framework_vision-12.2}/PyObjCTest/test_vndetectfacecapturequalityrequest.py +0 -0
  34. {pyobjc_framework_vision-12.0 → pyobjc_framework_vision-12.2}/PyObjCTest/test_vndetectfacelandmarks.py +0 -0
  35. {pyobjc_framework_vision-12.0 → pyobjc_framework_vision-12.2}/PyObjCTest/test_vndetectfacelandmarksrequest.py +0 -0
  36. {pyobjc_framework_vision-12.0 → pyobjc_framework_vision-12.2}/PyObjCTest/test_vndetectfacerectanglesrequest.py +0 -0
  37. {pyobjc_framework_vision-12.0 → pyobjc_framework_vision-12.2}/PyObjCTest/test_vndetecthorizonrequest.py +0 -0
  38. {pyobjc_framework_vision-12.0 → pyobjc_framework_vision-12.2}/PyObjCTest/test_vndetecthumanbodypose3drequest.py +0 -0
  39. {pyobjc_framework_vision-12.0 → pyobjc_framework_vision-12.2}/PyObjCTest/test_vndetecthumanbodyposerequest.py +0 -0
  40. {pyobjc_framework_vision-12.0 → pyobjc_framework_vision-12.2}/PyObjCTest/test_vndetecthumanhandposerequest.py +0 -0
  41. {pyobjc_framework_vision-12.0 → pyobjc_framework_vision-12.2}/PyObjCTest/test_vndetecthumanrectanglesrequest.py +0 -0
  42. {pyobjc_framework_vision-12.0 → pyobjc_framework_vision-12.2}/PyObjCTest/test_vndetectpoint.py +0 -0
  43. {pyobjc_framework_vision-12.0 → pyobjc_framework_vision-12.2}/PyObjCTest/test_vndetectrectanglesrequest.py +0 -0
  44. {pyobjc_framework_vision-12.0 → pyobjc_framework_vision-12.2}/PyObjCTest/test_vndetecttextrectanglesrequest.py +0 -0
  45. {pyobjc_framework_vision-12.0 → pyobjc_framework_vision-12.2}/PyObjCTest/test_vndetecttrajectoriesrequest.py +0 -0
  46. {pyobjc_framework_vision-12.0 → pyobjc_framework_vision-12.2}/PyObjCTest/test_vnerror.py +0 -0
  47. {pyobjc_framework_vision-12.0 → pyobjc_framework_vision-12.2}/PyObjCTest/test_vnfacelandmarks.py +0 -0
  48. {pyobjc_framework_vision-12.0 → pyobjc_framework_vision-12.2}/PyObjCTest/test_vnfaceobservationaccepting.py +0 -0
  49. {pyobjc_framework_vision-12.0 → pyobjc_framework_vision-12.2}/PyObjCTest/test_vngenerateattentionbasedsaliencyimagerequest.py +0 -0
  50. {pyobjc_framework_vision-12.0 → pyobjc_framework_vision-12.2}/PyObjCTest/test_vngenerateforegroundinstanceMaskrequest.py +0 -0
  51. {pyobjc_framework_vision-12.0 → pyobjc_framework_vision-12.2}/PyObjCTest/test_vngenerateimagefeatureprintrequest.py +0 -0
  52. {pyobjc_framework_vision-12.0 → pyobjc_framework_vision-12.2}/PyObjCTest/test_vngenerateobjectnessbasedsaliencyimagerequest.py +0 -0
  53. {pyobjc_framework_vision-12.0 → pyobjc_framework_vision-12.2}/PyObjCTest/test_vngenerateopticalflowrequest.py +0 -0
  54. {pyobjc_framework_vision-12.0 → pyobjc_framework_vision-12.2}/PyObjCTest/test_vngeneratepersoninstancemaskrequest.py +0 -0
  55. {pyobjc_framework_vision-12.0 → pyobjc_framework_vision-12.2}/PyObjCTest/test_vngeneratepersonsegmentationrequest.py +0 -0
  56. {pyobjc_framework_vision-12.0 → pyobjc_framework_vision-12.2}/PyObjCTest/test_vngeometry.py +0 -0
  57. {pyobjc_framework_vision-12.0 → pyobjc_framework_vision-12.2}/PyObjCTest/test_vngeometryutils.py +0 -0
  58. {pyobjc_framework_vision-12.0 → pyobjc_framework_vision-12.2}/PyObjCTest/test_vnimageregistrationrequest.py +0 -0
  59. {pyobjc_framework_vision-12.0 → pyobjc_framework_vision-12.2}/PyObjCTest/test_vnobservation.py +0 -0
  60. {pyobjc_framework_vision-12.0 → pyobjc_framework_vision-12.2}/PyObjCTest/test_vnrecognizeanimalsrequest.py +0 -0
  61. {pyobjc_framework_vision-12.0 → pyobjc_framework_vision-12.2}/PyObjCTest/test_vnrecognizetextrequest.py +0 -0
  62. {pyobjc_framework_vision-12.0 → pyobjc_framework_vision-12.2}/PyObjCTest/test_vnrequest.py +0 -0
  63. {pyobjc_framework_vision-12.0 → pyobjc_framework_vision-12.2}/PyObjCTest/test_vnrequesthandler.py +0 -0
  64. {pyobjc_framework_vision-12.0 → pyobjc_framework_vision-12.2}/PyObjCTest/test_vnrequestrevisionproviding.py +0 -0
  65. {pyobjc_framework_vision-12.0 → pyobjc_framework_vision-12.2}/PyObjCTest/test_vnstatefulrequest.py +0 -0
  66. {pyobjc_framework_vision-12.0 → pyobjc_framework_vision-12.2}/PyObjCTest/test_vntargetedimagerequest.py +0 -0
  67. {pyobjc_framework_vision-12.0 → pyobjc_framework_vision-12.2}/PyObjCTest/test_vntrackhomographicimageregistrationrequest.py +0 -0
  68. {pyobjc_framework_vision-12.0 → pyobjc_framework_vision-12.2}/PyObjCTest/test_vntrackingrequest.py +0 -0
  69. {pyobjc_framework_vision-12.0 → pyobjc_framework_vision-12.2}/PyObjCTest/test_vntrackobjectrequest.py +0 -0
  70. {pyobjc_framework_vision-12.0 → pyobjc_framework_vision-12.2}/PyObjCTest/test_vntrackopticalflowrequest.py +0 -0
  71. {pyobjc_framework_vision-12.0 → pyobjc_framework_vision-12.2}/PyObjCTest/test_vntrackrectanglerequest.py +0 -0
  72. {pyobjc_framework_vision-12.0 → pyobjc_framework_vision-12.2}/PyObjCTest/test_vntracktranslationalimageregistrationrequest.py +0 -0
  73. {pyobjc_framework_vision-12.0 → pyobjc_framework_vision-12.2}/PyObjCTest/test_vntypes.py +0 -0
  74. {pyobjc_framework_vision-12.0 → pyobjc_framework_vision-12.2}/PyObjCTest/test_vnutils.py +0 -0
  75. {pyobjc_framework_vision-12.0 → pyobjc_framework_vision-12.2}/PyObjCTest/test_vnvideoprocessor.py +0 -0
  76. {pyobjc_framework_vision-12.0 → pyobjc_framework_vision-12.2}/metadata/metadata.ini +0 -0
  77. {pyobjc_framework_vision-12.0 → pyobjc_framework_vision-12.2}/pyproject.toml +0 -0
  78. {pyobjc_framework_vision-12.0 → pyobjc_framework_vision-12.2}/setup.cfg +0 -0
@@ -1,6 +1,6 @@
1
1
  # This file is generated by objective.metadata
2
2
  #
3
- # Last update: Thu Jul 24 11:32:47 2025
3
+ # Last update: Fri May 29 08:52:53 2026
4
4
  #
5
5
  # flake8: noqa
6
6
 
@@ -1436,11 +1436,15 @@ finally:
1436
1436
 
1437
1437
  objc.registerNewKeywordsFromSelector("VNCircle", b"initWithCenter:diameter:")
1438
1438
  objc.registerNewKeywordsFromSelector("VNCircle", b"initWithCenter:radius:")
1439
+ objc.registerNewKeywordsFromSelector("VNContour", b"init")
1440
+ objc.registerNewKeywordsFromSelector("VNCoreMLModel", b"init")
1441
+ objc.registerNewKeywordsFromSelector("VNCoreMLRequest", b"init")
1439
1442
  objc.registerNewKeywordsFromSelector("VNCoreMLRequest", b"initWithCompletionHandler:")
1440
1443
  objc.registerNewKeywordsFromSelector("VNCoreMLRequest", b"initWithModel:")
1441
1444
  objc.registerNewKeywordsFromSelector(
1442
1445
  "VNCoreMLRequest", b"initWithModel:completionHandler:"
1443
1446
  )
1447
+ objc.registerNewKeywordsFromSelector("VNDetectHumanBodyPose3DRequest", b"init")
1444
1448
  objc.registerNewKeywordsFromSelector(
1445
1449
  "VNDetectHumanBodyPose3DRequest", b"initWithCompletionHandler:"
1446
1450
  )
@@ -1451,8 +1455,12 @@ objc.registerNewKeywordsFromSelector(
1451
1455
  "VNDetectTrajectoriesRequest",
1452
1456
  b"initWithFrameAnalysisSpacing:trajectoryLength:completionHandler:",
1453
1457
  )
1458
+ objc.registerNewKeywordsFromSelector("VNDetectedPoint", b"init")
1454
1459
  objc.registerNewKeywordsFromSelector("VNDetectedPoint", b"initWithLocation:")
1455
1460
  objc.registerNewKeywordsFromSelector("VNDetectedPoint", b"initWithX:y:")
1461
+ objc.registerNewKeywordsFromSelector("VNFaceLandmarkRegion", b"init")
1462
+ objc.registerNewKeywordsFromSelector("VNFaceLandmarks", b"init")
1463
+ objc.registerNewKeywordsFromSelector("VNGeneratePersonSegmentationRequest", b"init")
1456
1464
  objc.registerNewKeywordsFromSelector(
1457
1465
  "VNGeneratePersonSegmentationRequest", b"initWithCompletionHandler:"
1458
1466
  )
@@ -1460,6 +1468,9 @@ objc.registerNewKeywordsFromSelector(
1460
1468
  "VNGeneratePersonSegmentationRequest",
1461
1469
  b"initWithFrameAnalysisSpacing:completionHandler:",
1462
1470
  )
1471
+ objc.registerNewKeywordsFromSelector("VNHumanBodyRecognizedPoint3D", b"init")
1472
+ objc.registerNewKeywordsFromSelector("VNImageAestheticsScoresObservation", b"init")
1473
+ objc.registerNewKeywordsFromSelector("VNImageRequestHandler", b"init")
1463
1474
  objc.registerNewKeywordsFromSelector(
1464
1475
  "VNImageRequestHandler", b"initWithCGImage:options:"
1465
1476
  )
@@ -1500,12 +1511,20 @@ objc.registerNewKeywordsFromSelector(
1500
1511
  )
1501
1512
  objc.registerNewKeywordsFromSelector("VNPoint", b"initWithLocation:")
1502
1513
  objc.registerNewKeywordsFromSelector("VNPoint", b"initWithX:y:")
1514
+ objc.registerNewKeywordsFromSelector("VNPoint3D", b"init")
1503
1515
  objc.registerNewKeywordsFromSelector("VNPoint3D", b"initWithPosition:")
1516
+ objc.registerNewKeywordsFromSelector("VNRecognizedPoint3D", b"init")
1517
+ objc.registerNewKeywordsFromSelector("VNRecognizedPoints3DObservation", b"init")
1518
+ objc.registerNewKeywordsFromSelector("VNRecognizedPointsObservation", b"init")
1519
+ objc.registerNewKeywordsFromSelector("VNRequest", b"init")
1504
1520
  objc.registerNewKeywordsFromSelector("VNRequest", b"initWithCompletionHandler:")
1521
+ objc.registerNewKeywordsFromSelector("VNSequenceRequestHandler", b"init")
1522
+ objc.registerNewKeywordsFromSelector("VNStatefulRequest", b"init")
1505
1523
  objc.registerNewKeywordsFromSelector("VNStatefulRequest", b"initWithCompletionHandler:")
1506
1524
  objc.registerNewKeywordsFromSelector(
1507
1525
  "VNStatefulRequest", b"initWithFrameAnalysisSpacing:completionHandler:"
1508
1526
  )
1527
+ objc.registerNewKeywordsFromSelector("VNTargetedImageRequest", b"init")
1509
1528
  objc.registerNewKeywordsFromSelector(
1510
1529
  "VNTargetedImageRequest", b"initWithCompletionHandler:"
1511
1530
  )
@@ -1589,9 +1608,13 @@ objc.registerNewKeywordsFromSelector(
1589
1608
  "VNTargetedImageRequest",
1590
1609
  b"initWithTargetedImageURL:orientation:options:completionHandler:",
1591
1610
  )
1611
+ objc.registerNewKeywordsFromSelector(
1612
+ "VNTrackHomographicImageRegistrationRequest", b"init"
1613
+ )
1592
1614
  objc.registerNewKeywordsFromSelector(
1593
1615
  "VNTrackHomographicImageRegistrationRequest", b"initWithCompletionHandler:"
1594
1616
  )
1617
+ objc.registerNewKeywordsFromSelector("VNTrackObjectRequest", b"init")
1595
1618
  objc.registerNewKeywordsFromSelector(
1596
1619
  "VNTrackObjectRequest", b"initWithCompletionHandler:"
1597
1620
  )
@@ -1601,9 +1624,11 @@ objc.registerNewKeywordsFromSelector(
1601
1624
  objc.registerNewKeywordsFromSelector(
1602
1625
  "VNTrackObjectRequest", b"initWithDetectedObjectObservation:completionHandler:"
1603
1626
  )
1627
+ objc.registerNewKeywordsFromSelector("VNTrackOpticalFlowRequest", b"init")
1604
1628
  objc.registerNewKeywordsFromSelector(
1605
1629
  "VNTrackOpticalFlowRequest", b"initWithCompletionHandler:"
1606
1630
  )
1631
+ objc.registerNewKeywordsFromSelector("VNTrackRectangleRequest", b"init")
1607
1632
  objc.registerNewKeywordsFromSelector(
1608
1633
  "VNTrackRectangleRequest", b"initWithCompletionHandler:"
1609
1634
  )
@@ -1613,20 +1638,56 @@ objc.registerNewKeywordsFromSelector(
1613
1638
  objc.registerNewKeywordsFromSelector(
1614
1639
  "VNTrackRectangleRequest", b"initWithRectangleObservation:completionHandler:"
1615
1640
  )
1641
+ objc.registerNewKeywordsFromSelector(
1642
+ "VNTrackTranslationalImageRegistrationRequest", b"init"
1643
+ )
1616
1644
  objc.registerNewKeywordsFromSelector(
1617
1645
  "VNTrackTranslationalImageRegistrationRequest", b"initWithCompletionHandler:"
1618
1646
  )
1647
+ objc.registerNewKeywordsFromSelector("VNTrackingRequest", b"init")
1619
1648
  objc.registerNewKeywordsFromSelector("VNTrackingRequest", b"initWithCompletionHandler:")
1620
1649
  objc.registerNewKeywordsFromSelector("VNVector", b"initWithR:theta:")
1621
1650
  objc.registerNewKeywordsFromSelector("VNVector", b"initWithVectorHead:tail:")
1622
1651
  objc.registerNewKeywordsFromSelector("VNVector", b"initWithXComponent:yComponent:")
1652
+ objc.registerNewKeywordsFromSelector("VNVideoProcessor", b"init")
1623
1653
  objc.registerNewKeywordsFromSelector("VNVideoProcessor", b"initWithURL:")
1654
+ objc.registerNewKeywordsFromSelector("VNVideoProcessorFrameRateCadence", b"init")
1624
1655
  objc.registerNewKeywordsFromSelector(
1625
1656
  "VNVideoProcessorFrameRateCadence", b"initWithFrameRate:"
1626
1657
  )
1658
+ objc.registerNewKeywordsFromSelector("VNVideoProcessorTimeIntervalCadence", b"init")
1627
1659
  objc.registerNewKeywordsFromSelector(
1628
1660
  "VNVideoProcessorTimeIntervalCadence", b"initWithTimeInterval:"
1629
1661
  )
1662
+
1663
+ objc.registerNewKeywords(
1664
+ "VNDetectedObjectObservation", ("boundingBox",), "observationWithBoundingBox_"
1665
+ )
1666
+ objc.registerNewKeywords(
1667
+ "VNDetectedObjectObservation",
1668
+ ("requestRevision", "boundingBox"),
1669
+ "observationWithRequestRevision_boundingBox_",
1670
+ )
1671
+ objc.registerNewKeywords(
1672
+ "VNFaceObservation",
1673
+ ("requestRevision", "boundingBox", "roll", "yaw"),
1674
+ "faceObservationWithRequestRevision_boundingBox_roll_yaw_",
1675
+ )
1676
+ objc.registerNewKeywords(
1677
+ "VNFaceObservation",
1678
+ ("requestRevision", "boundingBox", "roll", "yaw", "pitch"),
1679
+ "faceObservationWithRequestRevision_boundingBox_roll_yaw_pitch_",
1680
+ )
1681
+ objc.registerNewKeywords(
1682
+ "VNRectangleObservation",
1683
+ ("requestRevision", "topLeft", "bottomLeft", "bottomRight", "topRight"),
1684
+ "rectangleObservationWithRequestRevision_topLeft_bottomLeft_bottomRight_topRight_",
1685
+ )
1686
+ objc.registerNewKeywords(
1687
+ "VNRectangleObservation",
1688
+ ("requestRevision", "topLeft", "topRight", "bottomRight", "bottomLeft"),
1689
+ "rectangleObservationWithRequestRevision_topLeft_topRight_bottomRight_bottomLeft_",
1690
+ )
1630
1691
  expressions = {}
1631
1692
 
1632
1693
  # END OF FILE
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: pyobjc-framework-Vision
3
- Version: 12.0
3
+ Version: 12.2
4
4
  Summary: Wrappers for the framework Vision on macOS
5
5
  Home-page: https://github.com/ronaldoussoren/pyobjc
6
6
  Author: Ronald Oussoren
@@ -17,7 +17,6 @@ Classifier: Operating System :: MacOS :: MacOS X
17
17
  Classifier: Programming Language :: Python
18
18
  Classifier: Programming Language :: Python :: 3
19
19
  Classifier: Programming Language :: Python :: 3 :: Only
20
- Classifier: Programming Language :: Python :: 3.9
21
20
  Classifier: Programming Language :: Python :: 3.10
22
21
  Classifier: Programming Language :: Python :: 3.11
23
22
  Classifier: Programming Language :: Python :: 3.12
@@ -25,16 +24,16 @@ Classifier: Programming Language :: Python :: 3.13
25
24
  Classifier: Programming Language :: Python :: 3.14
26
25
  Classifier: Programming Language :: Python :: 3.15
27
26
  Classifier: Programming Language :: Python :: Implementation :: CPython
28
- Classifier: Programming Language :: Python :: Free Threading :: 2 - Beta
27
+ Classifier: Programming Language :: Python :: Free Threading :: 3 - Stable
29
28
  Classifier: Programming Language :: Objective C
30
29
  Classifier: Topic :: Software Development :: Libraries :: Python Modules
31
30
  Classifier: Topic :: Software Development :: User Interfaces
32
- Requires-Python: >=3.9
31
+ Requires-Python: >=3.10
33
32
  Description-Content-Type: text/x-rst; charset=UTF-8
34
- Requires-Dist: pyobjc-core>=12.0
35
- Requires-Dist: pyobjc-framework-Cocoa>=12.0
36
- Requires-Dist: pyobjc-framework-Quartz>=12.0
37
- Requires-Dist: pyobjc-framework-CoreML>=12.0
33
+ Requires-Dist: pyobjc-core>=12.2
34
+ Requires-Dist: pyobjc-framework-Cocoa>=12.2
35
+ Requires-Dist: pyobjc-framework-Quartz>=12.2
36
+ Requires-Dist: pyobjc-framework-CoreML>=12.2
38
37
  Dynamic: author
39
38
  Dynamic: author-email
40
39
  Dynamic: classifier
@@ -72,5 +72,5 @@ PyObjCTest/test_vnutils.py
72
72
  PyObjCTest/test_vnvideoprocessor.py
73
73
  metadata/Vision.fwinfo
74
74
  metadata/metadata.ini
75
- metadata/raw/arm64-26.0.fwinfo
76
- metadata/raw/x86_64-26.0.fwinfo
75
+ metadata/raw/arm64-26.5.fwinfo
76
+ metadata/raw/x86_64-26.5.fwinfo
@@ -0,0 +1,3 @@
1
+ macOS 26.5 (25F71)
2
+ Apple clang version 21.0.0 (clang-2100.1.1.101)
3
+ SDK: macOS 26.5
@@ -0,0 +1,4 @@
1
+ pyobjc-core>=12.2
2
+ pyobjc-framework-Cocoa>=12.2
3
+ pyobjc-framework-Quartz>=12.2
4
+ pyobjc-framework-CoreML>=12.2
@@ -22,12 +22,14 @@ NS_ASSUME_NONNULL_BEGIN
22
22
  * Start of compiler definitions
23
23
  *
24
24
  */
25
+ #if 0
25
26
  #ifndef __has_feature
26
27
  #define __has_feature(x) 0
27
28
  #endif
28
29
  #ifndef __has_extension
29
30
  #define __has_extension(x) __has_feature(x)
30
31
  #endif
32
+ #endif
31
33
 
32
34
  #if __has_extension(c_static_assert)
33
35
  #define STATIC_ASSERT(test, message) _Static_assert(test, message)
@@ -55,46 +57,10 @@ NS_ASSUME_NONNULL_BEGIN
55
57
  /*
56
58
  *
57
59
  * Start of compiler support helpers
58
- *
59
- * XXX: Are these needed?
60
60
  */
61
61
 
62
- #ifdef __GNUC__
63
62
  #define unlikely(x) __builtin_expect(!!(x), 0)
64
63
  #define likely(x) __builtin_expect(!!(x), 1)
65
- #else
66
- #define likely(x) x
67
- #define likely(x) x
68
- #endif
69
-
70
- /* On some versions of GCC <limits.h> defines LONG_LONG_MAX but not LLONG_MAX, compensate.
71
- */
72
- #ifndef LLONG_MIN
73
- #ifdef LONG_LONG_MIN
74
- #define LLONG_MIN LONG_LONG_MIN
75
- #define LLONG_MAX LONG_LONG_MAX
76
- #define ULLONG_MAX ULONG_LONG_MAX
77
- #endif
78
- #endif
79
-
80
- /*
81
- *
82
- * End of compiler support helpers
83
- *
84
- * XXX: These two are no longer needed, all supported platforms
85
- * are 64-bit
86
- */
87
-
88
- #if __LP64__
89
- #define Py_ARG_NSInteger "l"
90
- #define Py_ARG_NSUInteger "k"
91
- #else
92
- #define Py_ARG_NSInteger "i"
93
- #define Py_ARG_NSUInteger "I"
94
- #endif
95
-
96
- #define PyObjC__STR(x) #x
97
- #define PyObjC_STR(x) PyObjC__STR(x)
98
64
 
99
65
  /*
100
66
  *
@@ -131,20 +97,6 @@ NS_ASSUME_NONNULL_BEGIN
131
97
 
132
98
  extern int PyObjC_Cmp(PyObject* o1, PyObject* o2, int* result);
133
99
 
134
- /*
135
- * A micro optimization: when using Python 3.3 or later it
136
- * is possible to access a 'char*' with an ASCII representation
137
- * of a unicode object without first converting it to a bytes
138
- * string (if the string can be encoded as ASCII in the first
139
- * place.
140
- *
141
- * This slightly reduces the object allocation rate during
142
- * attribute access.
143
- *
144
- * XXX: Use PyUnicode_AsUTF8 instead.
145
- */
146
- extern const char* _Nullable PyObjC_Unicode_Fast_Bytes(PyObject* object);
147
-
148
100
  #ifdef __clang__
149
101
 
150
102
  #ifndef Py_LIMITED_API
@@ -286,6 +238,23 @@ static inline PyObject* _Nullable PyList_GetItemRef(PyObject* l, Py_ssize_t i)
286
238
  Py_XINCREF(result);
287
239
  return result;
288
240
  }
241
+
242
+ static inline int
243
+ PyDict_SetDefaultRef(PyObject* p, PyObject* key, PyObject* default_value,
244
+ PyObject* _Nonnull* _Nullable result)
245
+ {
246
+ *result = PyDict_SetDefault(p, key, default_value);
247
+ if (*result == NULL) {
248
+ return -1;
249
+ }
250
+ Py_INCREF(*result);
251
+
252
+ /* This does not follow the spec, should return 1 when the key was already
253
+ * in the dict. That part of the API is not used in PyObjC though.
254
+ */
255
+ return 0;
256
+ }
257
+
289
258
  #endif
290
259
 
291
260
  #if PY_VERSION_HEX < 0x030c0000
@@ -392,6 +361,11 @@ PyUnstable_TryIncRef(PyObject* op __attribute__((__unused__)))
392
361
  }
393
362
  #endif
394
363
 
364
+ #if PY_VERSION_HEX < 0x030f00a7
365
+ #define PyAnyDict_CheckExact PyDict_CheckExact
366
+ #define PyAnyDict_Check PyDict_Check
367
+ #endif
368
+
395
369
  NS_ASSUME_NONNULL_END
396
370
 
397
371
  #endif /* PyObjC_COMPAT_H */
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: pyobjc-framework-Vision
3
- Version: 12.0
3
+ Version: 12.2
4
4
  Summary: Wrappers for the framework Vision on macOS
5
5
  Home-page: https://github.com/ronaldoussoren/pyobjc
6
6
  Author: Ronald Oussoren
@@ -17,7 +17,6 @@ Classifier: Operating System :: MacOS :: MacOS X
17
17
  Classifier: Programming Language :: Python
18
18
  Classifier: Programming Language :: Python :: 3
19
19
  Classifier: Programming Language :: Python :: 3 :: Only
20
- Classifier: Programming Language :: Python :: 3.9
21
20
  Classifier: Programming Language :: Python :: 3.10
22
21
  Classifier: Programming Language :: Python :: 3.11
23
22
  Classifier: Programming Language :: Python :: 3.12
@@ -25,16 +24,16 @@ Classifier: Programming Language :: Python :: 3.13
25
24
  Classifier: Programming Language :: Python :: 3.14
26
25
  Classifier: Programming Language :: Python :: 3.15
27
26
  Classifier: Programming Language :: Python :: Implementation :: CPython
28
- Classifier: Programming Language :: Python :: Free Threading :: 2 - Beta
27
+ Classifier: Programming Language :: Python :: Free Threading :: 3 - Stable
29
28
  Classifier: Programming Language :: Objective C
30
29
  Classifier: Topic :: Software Development :: Libraries :: Python Modules
31
30
  Classifier: Topic :: Software Development :: User Interfaces
32
- Requires-Python: >=3.9
31
+ Requires-Python: >=3.10
33
32
  Description-Content-Type: text/x-rst; charset=UTF-8
34
- Requires-Dist: pyobjc-core>=12.0
35
- Requires-Dist: pyobjc-framework-Cocoa>=12.0
36
- Requires-Dist: pyobjc-framework-Quartz>=12.0
37
- Requires-Dist: pyobjc-framework-CoreML>=12.0
33
+ Requires-Dist: pyobjc-core>=12.2
34
+ Requires-Dist: pyobjc-framework-Cocoa>=12.2
35
+ Requires-Dist: pyobjc-framework-Quartz>=12.2
36
+ Requires-Dist: pyobjc-framework-CoreML>=12.2
38
37
  Dynamic: author
39
38
  Dynamic: author-email
40
39
  Dynamic: classifier