pyobjc-framework-MLCompute 12.2.1__tar.gz → 13.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 (48) hide show
  1. {pyobjc_framework_mlcompute-12.2.1 → pyobjc_framework_mlcompute-13.0}/Lib/MLCompute/_metadata.py +1 -3
  2. {pyobjc_framework_mlcompute-12.2.1 → pyobjc_framework_mlcompute-13.0}/Lib/pyobjc_framework_MLCompute.egg-info/PKG-INFO +5 -5
  3. {pyobjc_framework_mlcompute-12.2.1 → pyobjc_framework_mlcompute-13.0}/Lib/pyobjc_framework_MLCompute.egg-info/SOURCES.txt +2 -2
  4. pyobjc_framework_mlcompute-13.0/Lib/pyobjc_framework_MLCompute.egg-info/pyobjc-build-info.txt +3 -0
  5. pyobjc_framework_mlcompute-13.0/Lib/pyobjc_framework_MLCompute.egg-info/requires.txt +2 -0
  6. {pyobjc_framework_mlcompute-12.2.1 → pyobjc_framework_mlcompute-13.0}/PKG-INFO +5 -5
  7. {pyobjc_framework_mlcompute-12.2.1 → pyobjc_framework_mlcompute-13.0}/PyObjCTest/test_mlctypes.py +19 -24
  8. {pyobjc_framework_mlcompute-12.2.1 → pyobjc_framework_mlcompute-13.0}/metadata/MLCompute.fwinfo +1 -49
  9. pyobjc_framework_mlcompute-12.2.1/metadata/raw/arm64-26.5.fwinfo → pyobjc_framework_mlcompute-13.0/metadata/raw/arm64-27.fwinfo +2 -3
  10. pyobjc_framework_mlcompute-12.2.1/metadata/raw/x86_64-26.5.fwinfo → pyobjc_framework_mlcompute-13.0/metadata/raw/x86_64-27.fwinfo +2 -3
  11. {pyobjc_framework_mlcompute-12.2.1 → pyobjc_framework_mlcompute-13.0}/pyobjc_setup.py +7 -7
  12. {pyobjc_framework_mlcompute-12.2.1 → pyobjc_framework_mlcompute-13.0}/setup.py +1 -1
  13. pyobjc_framework_mlcompute-12.2.1/Lib/pyobjc_framework_MLCompute.egg-info/pyobjc-build-info.txt +0 -3
  14. pyobjc_framework_mlcompute-12.2.1/Lib/pyobjc_framework_MLCompute.egg-info/requires.txt +0 -2
  15. {pyobjc_framework_mlcompute-12.2.1 → pyobjc_framework_mlcompute-13.0}/Lib/MLCompute/__init__.py +0 -0
  16. {pyobjc_framework_mlcompute-12.2.1 → pyobjc_framework_mlcompute-13.0}/Lib/pyobjc_framework_MLCompute.egg-info/dependency_links.txt +0 -0
  17. {pyobjc_framework_mlcompute-12.2.1 → pyobjc_framework_mlcompute-13.0}/Lib/pyobjc_framework_MLCompute.egg-info/not-zip-safe +0 -0
  18. {pyobjc_framework_mlcompute-12.2.1 → pyobjc_framework_mlcompute-13.0}/Lib/pyobjc_framework_MLCompute.egg-info/top_level.txt +0 -0
  19. {pyobjc_framework_mlcompute-12.2.1 → pyobjc_framework_mlcompute-13.0}/License.txt +0 -0
  20. {pyobjc_framework_mlcompute-12.2.1 → pyobjc_framework_mlcompute-13.0}/MANIFEST.in +0 -0
  21. {pyobjc_framework_mlcompute-12.2.1 → pyobjc_framework_mlcompute-13.0}/PyObjCTest/__init__.py +0 -0
  22. {pyobjc_framework_mlcompute-12.2.1 → pyobjc_framework_mlcompute-13.0}/PyObjCTest/test_mlcadamoptimzer.py +0 -0
  23. {pyobjc_framework_mlcompute-12.2.1 → pyobjc_framework_mlcompute-13.0}/PyObjCTest/test_mlcadmwoptimzer.py +0 -0
  24. {pyobjc_framework_mlcompute-12.2.1 → pyobjc_framework_mlcompute-13.0}/PyObjCTest/test_mlcconvolutiondescriptor.py +0 -0
  25. {pyobjc_framework_mlcompute-12.2.1 → pyobjc_framework_mlcompute-13.0}/PyObjCTest/test_mlcdevice.py +0 -0
  26. {pyobjc_framework_mlcompute-12.2.1 → pyobjc_framework_mlcompute-13.0}/PyObjCTest/test_mlcembeddingdescriptor.py +0 -0
  27. {pyobjc_framework_mlcompute-12.2.1 → pyobjc_framework_mlcompute-13.0}/PyObjCTest/test_mlcgraph.py +0 -0
  28. {pyobjc_framework_mlcompute-12.2.1 → pyobjc_framework_mlcompute-13.0}/PyObjCTest/test_mlcinferencegraph.py +0 -0
  29. {pyobjc_framework_mlcompute-12.2.1 → pyobjc_framework_mlcompute-13.0}/PyObjCTest/test_mlclayer.py +0 -0
  30. {pyobjc_framework_mlcompute-12.2.1 → pyobjc_framework_mlcompute-13.0}/PyObjCTest/test_mlclstmdescriptor.py +0 -0
  31. {pyobjc_framework_mlcompute-12.2.1 → pyobjc_framework_mlcompute-13.0}/PyObjCTest/test_mlcmatmuldescriptor.py +0 -0
  32. {pyobjc_framework_mlcompute-12.2.1 → pyobjc_framework_mlcompute-13.0}/PyObjCTest/test_mlcmultiheadattentiondescriptor.py +0 -0
  33. {pyobjc_framework_mlcompute-12.2.1 → pyobjc_framework_mlcompute-13.0}/PyObjCTest/test_mlcompute.py +0 -0
  34. {pyobjc_framework_mlcompute-12.2.1 → pyobjc_framework_mlcompute-13.0}/PyObjCTest/test_mlcoptimizer.py +0 -0
  35. {pyobjc_framework_mlcompute-12.2.1 → pyobjc_framework_mlcompute-13.0}/PyObjCTest/test_mlcoptimizerdescriptor.py +0 -0
  36. {pyobjc_framework_mlcompute-12.2.1 → pyobjc_framework_mlcompute-13.0}/PyObjCTest/test_mlcpoolingdescriptor.py +0 -0
  37. {pyobjc_framework_mlcompute-12.2.1 → pyobjc_framework_mlcompute-13.0}/PyObjCTest/test_mlcrmspropoptimizer.py +0 -0
  38. {pyobjc_framework_mlcompute-12.2.1 → pyobjc_framework_mlcompute-13.0}/PyObjCTest/test_mlcsgdoptimizer.py +0 -0
  39. {pyobjc_framework_mlcompute-12.2.1 → pyobjc_framework_mlcompute-13.0}/PyObjCTest/test_mlctensor.py +0 -0
  40. {pyobjc_framework_mlcompute-12.2.1 → pyobjc_framework_mlcompute-13.0}/PyObjCTest/test_mlctensordata.py +0 -0
  41. {pyobjc_framework_mlcompute-12.2.1 → pyobjc_framework_mlcompute-13.0}/PyObjCTest/test_mlctensordescriptor.py +0 -0
  42. {pyobjc_framework_mlcompute-12.2.1 → pyobjc_framework_mlcompute-13.0}/PyObjCTest/test_mlctensorparameter.py +0 -0
  43. {pyobjc_framework_mlcompute-12.2.1 → pyobjc_framework_mlcompute-13.0}/PyObjCTest/test_mlctraininggraph.py +0 -0
  44. {pyobjc_framework_mlcompute-12.2.1 → pyobjc_framework_mlcompute-13.0}/PyObjCTest/test_mlcupsamplelayer.py +0 -0
  45. {pyobjc_framework_mlcompute-12.2.1 → pyobjc_framework_mlcompute-13.0}/PyObjCTest/test_mlcyololossdescriptor.py +0 -0
  46. {pyobjc_framework_mlcompute-12.2.1 → pyobjc_framework_mlcompute-13.0}/metadata/metadata.ini +0 -0
  47. {pyobjc_framework_mlcompute-12.2.1 → pyobjc_framework_mlcompute-13.0}/pyproject.toml +0 -0
  48. {pyobjc_framework_mlcompute-12.2.1 → pyobjc_framework_mlcompute-13.0}/setup.cfg +0 -0
@@ -1,7 +1,5 @@
1
1
  # This file is generated by objective.metadata
2
2
  #
3
- # Last update: Sun May 24 11:51:45 2026
4
- #
5
3
  # flake8: noqa
6
4
 
7
5
  import objc, sys
@@ -244,10 +242,10 @@ try:
244
242
  b"descriptorWithInputSize:hiddenSize:layerCount:usesBiases:batchFirst:isBidirectional:returnsSequences:dropout:resultMode:",
245
243
  {
246
244
  "arguments": {
245
+ 8: {"type": "Z"},
247
246
  5: {"type": "Z"},
248
247
  6: {"type": "Z"},
249
248
  7: {"type": "Z"},
250
- 8: {"type": "Z"},
251
249
  }
252
250
  },
253
251
  )
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: pyobjc-framework-MLCompute
3
- Version: 12.2.1
3
+ Version: 13.0
4
4
  Summary: Wrappers for the framework MLCompute on macOS
5
5
  Home-page: https://github.com/ronaldoussoren/pyobjc
6
6
  Author: Ronald Oussoren
@@ -17,21 +17,21 @@ 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.10
21
20
  Classifier: Programming Language :: Python :: 3.11
22
21
  Classifier: Programming Language :: Python :: 3.12
23
22
  Classifier: Programming Language :: Python :: 3.13
24
23
  Classifier: Programming Language :: Python :: 3.14
25
24
  Classifier: Programming Language :: Python :: 3.15
25
+ Classifier: Programming Language :: Python :: 3.16
26
26
  Classifier: Programming Language :: Python :: Implementation :: CPython
27
27
  Classifier: Programming Language :: Python :: Free Threading :: 3 - Stable
28
28
  Classifier: Programming Language :: Objective C
29
29
  Classifier: Topic :: Software Development :: Libraries :: Python Modules
30
30
  Classifier: Topic :: Software Development :: User Interfaces
31
- Requires-Python: >=3.10
31
+ Requires-Python: >=3.11
32
32
  Description-Content-Type: text/x-rst; charset=UTF-8
33
- Requires-Dist: pyobjc-core>=12.2.1
34
- Requires-Dist: pyobjc-framework-Cocoa>=12.2.1
33
+ Requires-Dist: pyobjc-core>=13.0
34
+ Requires-Dist: pyobjc-framework-Cocoa>=13.0
35
35
  Dynamic: author
36
36
  Dynamic: author-email
37
37
  Dynamic: classifier
@@ -40,5 +40,5 @@ PyObjCTest/test_mlcupsamplelayer.py
40
40
  PyObjCTest/test_mlcyololossdescriptor.py
41
41
  metadata/MLCompute.fwinfo
42
42
  metadata/metadata.ini
43
- metadata/raw/arm64-26.5.fwinfo
44
- metadata/raw/x86_64-26.5.fwinfo
43
+ metadata/raw/arm64-27.fwinfo
44
+ metadata/raw/x86_64-27.fwinfo
@@ -0,0 +1,3 @@
1
+ macOS 27.2 (26B123)
2
+ Apple clang version 21.0.0 (clang-2100.4.1.1)
3
+ SDK: macOS 27.2
@@ -0,0 +1,2 @@
1
+ pyobjc-core>=13.0
2
+ pyobjc-framework-Cocoa>=13.0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: pyobjc-framework-MLCompute
3
- Version: 12.2.1
3
+ Version: 13.0
4
4
  Summary: Wrappers for the framework MLCompute on macOS
5
5
  Home-page: https://github.com/ronaldoussoren/pyobjc
6
6
  Author: Ronald Oussoren
@@ -17,21 +17,21 @@ 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.10
21
20
  Classifier: Programming Language :: Python :: 3.11
22
21
  Classifier: Programming Language :: Python :: 3.12
23
22
  Classifier: Programming Language :: Python :: 3.13
24
23
  Classifier: Programming Language :: Python :: 3.14
25
24
  Classifier: Programming Language :: Python :: 3.15
25
+ Classifier: Programming Language :: Python :: 3.16
26
26
  Classifier: Programming Language :: Python :: Implementation :: CPython
27
27
  Classifier: Programming Language :: Python :: Free Threading :: 3 - Stable
28
28
  Classifier: Programming Language :: Objective C
29
29
  Classifier: Topic :: Software Development :: Libraries :: Python Modules
30
30
  Classifier: Topic :: Software Development :: User Interfaces
31
- Requires-Python: >=3.10
31
+ Requires-Python: >=3.11
32
32
  Description-Content-Type: text/x-rst; charset=UTF-8
33
- Requires-Dist: pyobjc-core>=12.2.1
34
- Requires-Dist: pyobjc-framework-Cocoa>=12.2.1
33
+ Requires-Dist: pyobjc-core>=13.0
34
+ Requires-Dist: pyobjc-framework-Cocoa>=13.0
35
35
  Dynamic: author
36
36
  Dynamic: author-email
37
37
  Dynamic: classifier
@@ -4,28 +4,8 @@ import MLCompute
4
4
 
5
5
 
6
6
  class MLCTypes(TestCase):
7
- def test_enum_types(self):
8
- self.assertIsEnumType(MLCompute.MLCActivationType)
9
- self.assertIsEnumType(MLCompute.MLCArithmeticOperation)
10
- self.assertIsEnumType(MLCompute.MLCComparisonOperation)
11
- self.assertIsEnumType(MLCompute.MLCConvolutionType)
7
+ def test_enums(self):
12
8
  self.assertIsEnumType(MLCompute.MLCDataType)
13
- self.assertIsEnumType(MLCompute.MLCDeviceType)
14
- self.assertIsEnumType(MLCompute.MLCExecutionOptions)
15
- self.assertIsEnumType(MLCompute.MLCGradientClippingType)
16
- self.assertIsEnumType(MLCompute.MLCGraphCompilationOptions)
17
- self.assertIsEnumType(MLCompute.MLCLSTMResultMode)
18
- self.assertIsEnumType(MLCompute.MLCLossType)
19
- self.assertIsEnumType(MLCompute.MLCPaddingPolicy)
20
- self.assertIsEnumType(MLCompute.MLCPaddingType)
21
- self.assertIsEnumType(MLCompute.MLCPoolingType)
22
- self.assertIsEnumType(MLCompute.MLCRandomInitializerType)
23
- self.assertIsEnumType(MLCompute.MLCReductionType)
24
- self.assertIsEnumType(MLCompute.MLCRegularizationType)
25
- self.assertIsEnumType(MLCompute.MLCSampleMode)
26
- self.assertIsEnumType(MLCompute.MLCSoftmaxOperation)
27
-
28
- def test_constants(self):
29
9
  self.assertEqual(MLCompute.MLCDataTypeInvalid, 0)
30
10
  self.assertEqual(MLCompute.MLCDataTypeFloat32, 1)
31
11
  self.assertEqual(MLCompute.MLCDataTypeFloat16, 3)
@@ -35,24 +15,28 @@ class MLCTypes(TestCase):
35
15
  self.assertEqual(MLCompute.MLCDataTypeInt8, 8)
36
16
  self.assertNotHasAttr(MLCompute, "MLCDataTypeCount")
37
17
 
18
+ self.assertIsEnumType(MLCompute.MLCRandomInitializerType)
38
19
  self.assertEqual(MLCompute.MLCRandomInitializerTypeInvalid, 0)
39
20
  self.assertEqual(MLCompute.MLCRandomInitializerTypeUniform, 1)
40
21
  self.assertEqual(MLCompute.MLCRandomInitializerTypeGlorotUniform, 2)
41
22
  self.assertEqual(MLCompute.MLCRandomInitializerTypeXavier, 3)
42
23
  self.assertNotHasAttr(MLCompute, "MLCRandomInitializerTypeCount")
43
24
 
25
+ self.assertIsEnumType(MLCompute.MLCDeviceType)
44
26
  self.assertEqual(MLCompute.MLCDeviceTypeCPU, 0)
45
27
  self.assertEqual(MLCompute.MLCDeviceTypeGPU, 1)
46
28
  self.assertEqual(MLCompute.MLCDeviceTypeAny, 2)
47
29
  self.assertEqual(MLCompute.MLCDeviceTypeANE, 3)
48
30
  self.assertNotHasAttr(MLCompute, "MLCDeviceTypeCount")
49
31
 
32
+ self.assertIsEnumType(MLCompute.MLCGraphCompilationOptions)
50
33
  self.assertEqual(MLCompute.MLCGraphCompilationOptionsNone, 0x00)
51
34
  self.assertEqual(MLCompute.MLCGraphCompilationOptionsDebugLayers, 0x01)
52
35
  self.assertEqual(MLCompute.MLCGraphCompilationOptionsDisableLayerFusion, 0x02)
53
36
  self.assertEqual(MLCompute.MLCGraphCompilationOptionsLinkGraphs, 0x04)
54
37
  self.assertEqual(MLCompute.MLCGraphCompilationOptionsComputeAllGradients, 0x08)
55
38
 
39
+ self.assertIsEnumType(MLCompute.MLCExecutionOptions)
56
40
  self.assertEqual(MLCompute.MLCExecutionOptionsNone, 0x00)
57
41
  self.assertEqual(
58
42
  MLCompute.MLCExecutionOptionsSkipWritingInputDataToDevice, 0x01
@@ -62,10 +46,12 @@ class MLCTypes(TestCase):
62
46
  self.assertEqual(MLCompute.MLCExecutionOptionsForwardForInference, 0x08)
63
47
  self.assertEqual(MLCompute.MLCExecutionOptionsPerLayerProfiling, 0x10)
64
48
 
49
+ self.assertIsEnumType(MLCompute.MLCGradientClippingType)
65
50
  self.assertEqual(MLCompute.MLCGradientClippingTypeByValue, 0)
66
51
  self.assertEqual(MLCompute.MLCGradientClippingTypeByNorm, 1)
67
52
  self.assertEqual(MLCompute.MLCGradientClippingTypeByGlobalNorm, 2)
68
53
 
54
+ self.assertIsEnumType(MLCompute.MLCArithmeticOperation)
69
55
  self.assertEqual(MLCompute.MLCArithmeticOperationAdd, 0)
70
56
  self.assertEqual(MLCompute.MLCArithmeticOperationSubtract, 1)
71
57
  self.assertEqual(MLCompute.MLCArithmeticOperationMultiply, 2)
@@ -99,6 +85,7 @@ class MLCTypes(TestCase):
99
85
 
100
86
  self.assertNotHasAttr(MLCompute, "MLCArithmeticOperationCount")
101
87
 
88
+ self.assertIsEnumType(MLCompute.MLCLossType)
102
89
  self.assertEqual(MLCompute.MLCLossTypeMeanAbsoluteError, 0)
103
90
  self.assertEqual(MLCompute.MLCLossTypeMeanSquaredError, 1)
104
91
  self.assertEqual(MLCompute.MLCLossTypeSoftmaxCrossEntropy, 2)
@@ -110,6 +97,7 @@ class MLCTypes(TestCase):
110
97
  self.assertEqual(MLCompute.MLCLossTypeLog, 8)
111
98
  self.assertNotHasAttr(MLCompute, "MLCLossTypeCount")
112
99
 
100
+ self.assertIsEnumType(MLCompute.MLCActivationType)
113
101
  self.assertEqual(MLCompute.MLCActivationTypeNone, 0)
114
102
  self.assertEqual(MLCompute.MLCActivationTypeReLU, 1)
115
103
  self.assertEqual(MLCompute.MLCActivationTypeLinear, 2)
@@ -131,27 +119,31 @@ class MLCTypes(TestCase):
131
119
  self.assertEqual(MLCompute.MLCActivationTypeGELU, 18)
132
120
  self.assertEqual(MLCompute.MLCActivationTypeHardSwish, 19)
133
121
  self.assertEqual(MLCompute.MLCActivationTypeClamp, 20)
134
-
135
122
  self.assertNotHasAttr(MLCompute, "MLCActivationTypeCount")
136
123
 
124
+ self.assertIsEnumType(MLCompute.MLCConvolutionType)
137
125
  self.assertEqual(MLCompute.MLCConvolutionTypeStandard, 0)
138
126
  self.assertEqual(MLCompute.MLCConvolutionTypeTransposed, 1)
139
127
  self.assertEqual(MLCompute.MLCConvolutionTypeDepthwise, 2)
140
128
 
129
+ self.assertIsEnumType(MLCompute.MLCPaddingPolicy)
141
130
  self.assertEqual(MLCompute.MLCPaddingPolicySame, 0)
142
131
  self.assertEqual(MLCompute.MLCPaddingPolicyValid, 1)
143
132
  self.assertEqual(MLCompute.MLCPaddingPolicyUsePaddingSize, 2)
144
133
 
134
+ self.assertIsEnumType(MLCompute.MLCPaddingType)
145
135
  self.assertEqual(MLCompute.MLCPaddingTypeZero, 0)
146
136
  self.assertEqual(MLCompute.MLCPaddingTypeReflect, 1)
147
137
  self.assertEqual(MLCompute.MLCPaddingTypeSymmetric, 2)
148
138
  self.assertEqual(MLCompute.MLCPaddingTypeConstant, 3)
149
139
 
140
+ self.assertIsEnumType(MLCompute.MLCPoolingType)
150
141
  self.assertEqual(MLCompute.MLCPoolingTypeMax, 1)
151
142
  self.assertEqual(MLCompute.MLCPoolingTypeAverage, 2)
152
143
  self.assertEqual(MLCompute.MLCPoolingTypeL2Norm, 3)
153
144
  self.assertNotHasAttr(MLCompute, "MLCPoolingTypeCount")
154
145
 
146
+ self.assertIsEnumType(MLCompute.MLCReductionType)
155
147
  self.assertEqual(MLCompute.MLCReductionTypeNone, 0)
156
148
  self.assertEqual(MLCompute.MLCReductionTypeSum, 1)
157
149
  self.assertEqual(MLCompute.MLCReductionTypeMean, 2)
@@ -162,22 +154,26 @@ class MLCTypes(TestCase):
162
154
  self.assertEqual(MLCompute.MLCReductionTypeL1Norm, 7)
163
155
  self.assertEqual(MLCompute.MLCReductionTypeAny, 8)
164
156
  self.assertEqual(MLCompute.MLCReductionTypeAll, 9)
165
-
166
157
  self.assertNotHasAttr(MLCompute, "MLCReductionTypeCount")
167
158
 
159
+ self.assertIsEnumType(MLCompute.MLCRegularizationType)
168
160
  self.assertEqual(MLCompute.MLCRegularizationTypeNone, 0)
169
161
  self.assertEqual(MLCompute.MLCRegularizationTypeL1, 1)
170
162
  self.assertEqual(MLCompute.MLCRegularizationTypeL2, 2)
171
163
 
164
+ self.assertIsEnumType(MLCompute.MLCSampleMode)
172
165
  self.assertEqual(MLCompute.MLCSampleModeNearest, 0)
173
166
  self.assertEqual(MLCompute.MLCSampleModeLinear, 1)
174
167
 
168
+ self.assertIsEnumType(MLCompute.MLCSoftmaxOperation)
175
169
  self.assertEqual(MLCompute.MLCSoftmaxOperationSoftmax, 0)
176
170
  self.assertEqual(MLCompute.MLCSoftmaxOperationLogSoftmax, 1)
177
171
 
172
+ self.assertIsEnumType(MLCompute.MLCLSTMResultMode)
178
173
  self.assertEqual(MLCompute.MLCLSTMResultModeOutput, 0x00)
179
174
  self.assertEqual(MLCompute.MLCLSTMResultModeOutputAndStates, 0x01)
180
175
 
176
+ self.assertIsEnumType(MLCompute.MLCComparisonOperation)
181
177
  self.assertEqual(MLCompute.MLCComparisonOperationEqual, 0)
182
178
  self.assertEqual(MLCompute.MLCComparisonOperationNotEqual, 1)
183
179
  self.assertEqual(MLCompute.MLCComparisonOperationLess, 2)
@@ -190,7 +186,6 @@ class MLCTypes(TestCase):
190
186
  self.assertEqual(MLCompute.MLCComparisonOperationLogicalNAND, 9)
191
187
  self.assertEqual(MLCompute.MLCComparisonOperationLogicalNOR, 10)
192
188
  self.assertEqual(MLCompute.MLCComparisonOperationLogicalXOR, 11)
193
-
194
189
  self.assertNotHasAttr(MLCompute, "MLCComparisonOperationCount")
195
190
 
196
191
  def test_functions(self):
@@ -3,39 +3,14 @@
3
3
  {
4
4
  "definitions": {
5
5
  "enum": {
6
- "MLCReductionTypeL1Norm": { "value": 7 },
7
- "MLCReductionTypeAny": { "value": 8 },
8
- "MLCReductionTypeAll": { "value": 9 },
9
6
  "MLCReductionTypeCount": { "ignore": true },
10
- "MLCComparisonOperationEqual": { "value": 0 },
11
- "MLCComparisonOperationNotEqual": { "value": 1 },
12
- "MLCComparisonOperationLess": { "value": 2 },
13
- "MLCComparisonOperationGreater": { "value": 3 },
14
- "MLCComparisonOperationLessOrEqual": { "value": 4 },
15
- "MLCComparisonOperationGreaterOrEqual": { "value": 5 },
16
- "MLCComparisonOperationLogicalAND": { "value": 6 },
17
- "MLCComparisonOperationLogicalOR": { "value": 7 },
18
- "MLCComparisonOperationLogicalNOT": { "value": 8 },
19
- "MLCComparisonOperationLogicalNAND": { "value": 9 },
20
- "MLCComparisonOperationLogicalNOR": { "value": 10 },
21
- "MLCComparisonOperationLogicalXOR": { "value": 11 },
22
7
  "MLCComparisonOperationCount": { "ignore": true },
23
- "MLCActivationTypeHardSwish": { "value": 19 },
24
- "MLCActivationTypeClamp": { "value": 20 },
25
8
  "MLCActivationTypeCount": { "ignore": true },
26
9
  "MLCPoolingTypeCount": { "ignore": true },
27
10
  "MLCLossTypeCount": { "ignore": true },
28
11
  "MLCDataTypeCount": { "ignore": true },
29
- "MLCLSTMResultModeOutput": { "value": 0 },
30
- "MLCLSTMResultModeOutputAndStates": { "value": 1 },
31
12
  "MLCRandomInitializerTypeCount": { "ignore": true },
32
13
  "MLCDeviceTypeCount": { "ignore": true },
33
- "MLCExecutionOptionsForwardForInference": { "value": 8 },
34
- "MLCDataTypeInt32": { "value": 7 },
35
- "MLCArithmeticOperationMultiplyNoNaN": { "value": 26 },
36
- "MLCArithmeticOperationDivideNoNaN": { "value": 27 },
37
- "MLCArithmeticOperationMin": { "value": 28 },
38
- "MLCArithmeticOperationMax": { "value": 29 },
39
14
  "MLCArithmeticOperationCount": { "ignore": true }
40
15
  },
41
16
  "classes": {
@@ -135,13 +110,6 @@
135
110
  "selector": "synchronizeOptimizerData",
136
111
  "class_method": false,
137
112
  "retval": { "type_override": "Z" }
138
- },
139
- {
140
- "args": {
141
- "0": {}
142
- },
143
- "class_method": false,
144
- "selector": "copyDataFromDeviceMemoryToBytes:length:synchronizeWithDevice:"
145
113
  }
146
114
  ]
147
115
  },
@@ -194,22 +162,6 @@
194
162
  }
195
163
  ]
196
164
  }
197
- },
198
- "formal_protocols": {},
199
- "functions": {
200
- "MLCLSTMResultModeDebugDescription": {
201
- "retval": { "type_override": "@" },
202
- "args": {
203
- "0": { "type_override": "Q" }
204
- }
205
- },
206
- "MLCComparisonOperationDebugDescription": {
207
- "retval": { "type_override": "@" },
208
- "args": {
209
- "0": { "type_override": "i" }
210
- }
211
- }
212
- },
213
- "informal_protocols": {}
165
+ }
214
166
  }
215
167
  }
@@ -1,7 +1,6 @@
1
1
  // GENERATED FILE DO NOT EDIT
2
2
  //
3
3
  // This file was generated by objective.metadata
4
- // Last update: Sun May 24 11:51:45 2026
5
4
  {
6
5
  "arch": "arm64",
7
6
  "definitions": {
@@ -16035,6 +16034,6 @@
16035
16034
  "MLCYOLOLossDescriptor.h",
16036
16035
  "MLCYOLOLossLayer.h"
16037
16036
  ],
16038
- "release": "26.5",
16039
- "sdk": "/Users/ronald/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX26.5.sdk"
16037
+ "release": "macOS 27.2",
16038
+ "sdk": "Xcode 27.2 (27B5038i)/MacOSX27.sdk"
16040
16039
  }
@@ -1,7 +1,6 @@
1
1
  // GENERATED FILE DO NOT EDIT
2
2
  //
3
3
  // This file was generated by objective.metadata
4
- // Last update: Sun May 24 11:51:42 2026
5
4
  {
6
5
  "arch": "x86_64",
7
6
  "definitions": {
@@ -16035,6 +16034,6 @@
16035
16034
  "MLCYOLOLossDescriptor.h",
16036
16035
  "MLCYOLOLossLayer.h"
16037
16036
  ],
16038
- "release": "26.5",
16039
- "sdk": "/Users/ronald/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX26.5.sdk"
16037
+ "release": "macOS 27.2",
16038
+ "sdk": "Xcode 27.2 (27B5038i)/MacOSX27.sdk"
16040
16039
  }
@@ -110,13 +110,11 @@ class oc_egg_info(egg_info.egg_info):
110
110
  else:
111
111
  sdk_version = os.path.basename(sdk_root)
112
112
 
113
- build_info = textwrap.dedent(
114
- f"""\
113
+ build_info = textwrap.dedent(f"""\
115
114
  macOS {macos_version} ({macos_build})
116
115
  {clang_version}
117
116
  SDK: {sdk_version}
118
- """
119
- )
117
+ """)
120
118
 
121
119
  self.write_file(
122
120
  "pyobjc-build-info.txt",
@@ -204,7 +202,7 @@ class oc_test(Command):
204
202
  "errors": len(result.errors),
205
203
  "xfails": len(getattr(result, "expectedFailures", [])),
206
204
  "xpass": len(getattr(result, "unexpectedSuccesses", [])),
207
- "skip=": len(getattr(result, "skipped", [])),
205
+ "skip": len(getattr(result, "skipped", [])),
208
206
  "testSeconds": (time_after - time_before),
209
207
  }
210
208
  print(f"SUMMARY: {summary}")
@@ -228,12 +226,12 @@ Operating System :: MacOS :: MacOS X
228
226
  Programming Language :: Python
229
227
  Programming Language :: Python :: 3
230
228
  Programming Language :: Python :: 3 :: Only
231
- Programming Language :: Python :: 3.10
232
229
  Programming Language :: Python :: 3.11
233
230
  Programming Language :: Python :: 3.12
234
231
  Programming Language :: Python :: 3.13
235
232
  Programming Language :: Python :: 3.14
236
233
  Programming Language :: Python :: 3.15
234
+ Programming Language :: Python :: 3.16
237
235
  Programming Language :: Python :: Implementation :: CPython
238
236
  Programming Language :: Python :: Free Threading :: 3 - Stable
239
237
  Programming Language :: Objective C
@@ -499,6 +497,8 @@ def Extension(*args, **kwds):
499
497
  "-DPyObjC_BUILD_RELEASE=%02d%02d"
500
498
  % (tuple(map(int, version.split(".")[:2])))
501
499
  )
500
+ ldflags.append("-isysroot")
501
+ ldflags.append(data)
502
502
  else:
503
503
  cflags.append(
504
504
  "-DPyObjC_BUILD_RELEASE=%02d%02d"
@@ -677,7 +677,7 @@ def setup(
677
677
  zip_safe=False,
678
678
  license="MIT",
679
679
  classifiers=CLASSIFIERS,
680
- python_requires=">=3.10",
680
+ python_requires=">=3.11",
681
681
  keywords=["PyObjC"] + [p for p in k["packages"] if p not in ("PyObjCTools",)],
682
682
  options=options,
683
683
  **k,
@@ -15,7 +15,7 @@ sys.path.insert(0, os.path.dirname(__file__))
15
15
 
16
16
  from pyobjc_setup import setup # noqa: E402
17
17
 
18
- VERSION = "12.2.1"
18
+ VERSION = "13.0"
19
19
 
20
20
  setup(
21
21
  name="pyobjc-framework-MLCompute",
@@ -1,3 +0,0 @@
1
- macOS 26.5 (25F71)
2
- Apple clang version 21.0.0 (clang-2100.1.1.101)
3
- SDK: macOS 26.5
@@ -1,2 +0,0 @@
1
- pyobjc-core>=12.2.1
2
- pyobjc-framework-Cocoa>=12.2.1