pyobjc-framework-CoreMediaIO 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 (38) hide show
  1. {pyobjc_framework_coremediaio-12.0 → pyobjc_framework_coremediaio-12.2}/Lib/CoreMediaIO/_metadata.py +21 -7
  2. {pyobjc_framework_coremediaio-12.0 → pyobjc_framework_coremediaio-12.2}/Lib/pyobjc_framework_CoreMediaIO.egg-info/PKG-INFO +5 -6
  3. {pyobjc_framework_coremediaio-12.0 → pyobjc_framework_coremediaio-12.2}/Lib/pyobjc_framework_CoreMediaIO.egg-info/SOURCES.txt +2 -2
  4. pyobjc_framework_coremediaio-12.2/Lib/pyobjc_framework_CoreMediaIO.egg-info/pyobjc-build-info.txt +3 -0
  5. pyobjc_framework_coremediaio-12.2/Lib/pyobjc_framework_CoreMediaIO.egg-info/requires.txt +2 -0
  6. {pyobjc_framework_coremediaio-12.0 → pyobjc_framework_coremediaio-12.2}/Modules/pyobjc-compat.h +24 -50
  7. {pyobjc_framework_coremediaio-12.0 → pyobjc_framework_coremediaio-12.2}/PKG-INFO +5 -6
  8. {pyobjc_framework_coremediaio-12.0 → pyobjc_framework_coremediaio-12.2}/metadata/CoreMediaIO.fwinfo +34 -34
  9. pyobjc_framework_coremediaio-12.0/metadata/raw/arm64-26.0.fwinfo → pyobjc_framework_coremediaio-12.2/metadata/raw/arm64-26.5.fwinfo +2049 -332
  10. pyobjc_framework_coremediaio-12.0/metadata/raw/x86_64-26.0.fwinfo → pyobjc_framework_coremediaio-12.2/metadata/raw/x86_64-26.5.fwinfo +2049 -332
  11. {pyobjc_framework_coremediaio-12.0 → pyobjc_framework_coremediaio-12.2}/pyobjc_setup.py +4 -5
  12. {pyobjc_framework_coremediaio-12.0 → pyobjc_framework_coremediaio-12.2}/setup.py +1 -1
  13. pyobjc_framework_coremediaio-12.0/Lib/pyobjc_framework_CoreMediaIO.egg-info/pyobjc-build-info.txt +0 -3
  14. pyobjc_framework_coremediaio-12.0/Lib/pyobjc_framework_CoreMediaIO.egg-info/requires.txt +0 -2
  15. {pyobjc_framework_coremediaio-12.0 → pyobjc_framework_coremediaio-12.2}/Lib/CoreMediaIO/__init__.py +0 -0
  16. {pyobjc_framework_coremediaio-12.0 → pyobjc_framework_coremediaio-12.2}/Lib/pyobjc_framework_CoreMediaIO.egg-info/dependency_links.txt +0 -0
  17. {pyobjc_framework_coremediaio-12.0 → pyobjc_framework_coremediaio-12.2}/Lib/pyobjc_framework_CoreMediaIO.egg-info/not-zip-safe +0 -0
  18. {pyobjc_framework_coremediaio-12.0 → pyobjc_framework_coremediaio-12.2}/Lib/pyobjc_framework_CoreMediaIO.egg-info/top_level.txt +0 -0
  19. {pyobjc_framework_coremediaio-12.0 → pyobjc_framework_coremediaio-12.2}/License.txt +0 -0
  20. {pyobjc_framework_coremediaio-12.0 → pyobjc_framework_coremediaio-12.2}/MANIFEST.in +0 -0
  21. {pyobjc_framework_coremediaio-12.0 → pyobjc_framework_coremediaio-12.2}/Modules/_CoreMediaIO.m +0 -0
  22. {pyobjc_framework_coremediaio-12.0 → pyobjc_framework_coremediaio-12.2}/Modules/pyobjc-api.h +0 -0
  23. {pyobjc_framework_coremediaio-12.0 → pyobjc_framework_coremediaio-12.2}/PyObjCTest/__init__.py +0 -0
  24. {pyobjc_framework_coremediaio-12.0 → pyobjc_framework_coremediaio-12.2}/PyObjCTest/test_cmioextensiondevice.py +0 -0
  25. {pyobjc_framework_coremediaio-12.0 → pyobjc_framework_coremediaio-12.2}/PyObjCTest/test_cmioextensionproperties.py +0 -0
  26. {pyobjc_framework_coremediaio-12.0 → pyobjc_framework_coremediaio-12.2}/PyObjCTest/test_cmioextensionprovider.py +0 -0
  27. {pyobjc_framework_coremediaio-12.0 → pyobjc_framework_coremediaio-12.2}/PyObjCTest/test_cmioextensionstream.py +0 -0
  28. {pyobjc_framework_coremediaio-12.0 → pyobjc_framework_coremediaio-12.2}/PyObjCTest/test_cmiohardware.py +0 -0
  29. {pyobjc_framework_coremediaio-12.0 → pyobjc_framework_coremediaio-12.2}/PyObjCTest/test_cmiohardwarecontrol.py +0 -0
  30. {pyobjc_framework_coremediaio-12.0 → pyobjc_framework_coremediaio-12.2}/PyObjCTest/test_cmiohardwaredevice.py +0 -0
  31. {pyobjc_framework_coremediaio-12.0 → pyobjc_framework_coremediaio-12.2}/PyObjCTest/test_cmiohardwareobject.py +0 -0
  32. {pyobjc_framework_coremediaio-12.0 → pyobjc_framework_coremediaio-12.2}/PyObjCTest/test_cmiohardwarestream.py +0 -0
  33. {pyobjc_framework_coremediaio-12.0 → pyobjc_framework_coremediaio-12.2}/PyObjCTest/test_cmiohardwaresystem.py +0 -0
  34. {pyobjc_framework_coremediaio-12.0 → pyobjc_framework_coremediaio-12.2}/PyObjCTest/test_cmiosamplebuffer.py +0 -0
  35. {pyobjc_framework_coremediaio-12.0 → pyobjc_framework_coremediaio-12.2}/PyObjCTest/test_coremediaio.py +0 -0
  36. {pyobjc_framework_coremediaio-12.0 → pyobjc_framework_coremediaio-12.2}/metadata/metadata.ini +0 -0
  37. {pyobjc_framework_coremediaio-12.0 → pyobjc_framework_coremediaio-12.2}/pyproject.toml +0 -0
  38. {pyobjc_framework_coremediaio-12.0 → pyobjc_framework_coremediaio-12.2}/setup.cfg +0 -0
@@ -1,6 +1,6 @@
1
1
  # This file is generated by objective.metadata
2
2
  #
3
- # Last update: Fri Jul 25 09:18:27 2025
3
+ # Last update: Thu May 28 21:32:41 2026
4
4
  #
5
5
  # flake8: noqa
6
6
 
@@ -107,10 +107,10 @@ functions = {
107
107
  "callable": {
108
108
  "retval": {"type": b"v"},
109
109
  "arguments": {
110
- 0: {"type": "^v"},
111
- 1: {"type": "I"},
110
+ 0: {"type": b"^v"},
111
+ 1: {"type": b"I"},
112
112
  2: {
113
- "type": "^{CMIOObjectPropertyAddress=III}",
113
+ "type": b"^{CMIOObjectPropertyAddress=III}",
114
114
  "type_modifier": "n",
115
115
  "c_array_length_in_arg": 1,
116
116
  },
@@ -296,10 +296,10 @@ functions = {
296
296
  "callable": {
297
297
  "retval": {"type": b"v"},
298
298
  "arguments": {
299
- 0: {"type": "^v"},
300
- 1: {"type": "I"},
299
+ 0: {"type": b"^v"},
300
+ 1: {"type": b"I"},
301
301
  2: {
302
- "type": "^{CMIOObjectPropertyAddress=III}",
302
+ "type": b"^{CMIOObjectPropertyAddress=III}",
303
303
  "type_modifier": "n",
304
304
  "c_array_length_in_arg": 1,
305
305
  },
@@ -507,32 +507,41 @@ try:
507
507
  finally:
508
508
  objc._updatingMetadata(False)
509
509
 
510
+ objc.registerNewKeywordsFromSelector("CMIOExtensionClient", b"init")
511
+ objc.registerNewKeywordsFromSelector("CMIOExtensionDevice", b"init")
510
512
  objc.registerNewKeywordsFromSelector(
511
513
  "CMIOExtensionDevice", b"initWithLocalizedName:deviceID:legacyDeviceID:source:"
512
514
  )
513
515
  objc.registerNewKeywordsFromSelector(
514
516
  "CMIOExtensionDevice", b"initWithLocalizedName:deviceID:source:"
515
517
  )
518
+ objc.registerNewKeywordsFromSelector("CMIOExtensionDeviceProperties", b"init")
516
519
  objc.registerNewKeywordsFromSelector(
517
520
  "CMIOExtensionDeviceProperties", b"initWithDictionary:"
518
521
  )
522
+ objc.registerNewKeywordsFromSelector("CMIOExtensionPropertyAttributes", b"init")
519
523
  objc.registerNewKeywordsFromSelector(
520
524
  "CMIOExtensionPropertyAttributes",
521
525
  b"initWithMinValue:maxValue:validValues:readOnly:",
522
526
  )
527
+ objc.registerNewKeywordsFromSelector("CMIOExtensionPropertyState", b"init")
523
528
  objc.registerNewKeywordsFromSelector("CMIOExtensionPropertyState", b"initWithValue:")
524
529
  objc.registerNewKeywordsFromSelector(
525
530
  "CMIOExtensionPropertyState", b"initWithValue:attributes:"
526
531
  )
532
+ objc.registerNewKeywordsFromSelector("CMIOExtensionProvider", b"init")
527
533
  objc.registerNewKeywordsFromSelector(
528
534
  "CMIOExtensionProvider", b"initWithSource:clientQueue:"
529
535
  )
536
+ objc.registerNewKeywordsFromSelector("CMIOExtensionProviderProperties", b"init")
530
537
  objc.registerNewKeywordsFromSelector(
531
538
  "CMIOExtensionProviderProperties", b"initWithDictionary:"
532
539
  )
540
+ objc.registerNewKeywordsFromSelector("CMIOExtensionScheduledOutput", b"init")
533
541
  objc.registerNewKeywordsFromSelector(
534
542
  "CMIOExtensionScheduledOutput", b"initWithSequenceNumber:hostTimeInNanoseconds:"
535
543
  )
544
+ objc.registerNewKeywordsFromSelector("CMIOExtensionStream", b"init")
536
545
  objc.registerNewKeywordsFromSelector(
537
546
  "CMIOExtensionStream", b"initWithLocalizedName:streamID:direction:clockType:source:"
538
547
  )
@@ -540,14 +549,19 @@ objc.registerNewKeywordsFromSelector(
540
549
  "CMIOExtensionStream",
541
550
  b"initWithLocalizedName:streamID:direction:customClockConfiguration:source:",
542
551
  )
552
+ objc.registerNewKeywordsFromSelector(
553
+ "CMIOExtensionStreamCustomClockConfiguration", b"init"
554
+ )
543
555
  objc.registerNewKeywordsFromSelector(
544
556
  "CMIOExtensionStreamCustomClockConfiguration",
545
557
  b"initWithClockName:sourceIdentifier:getTimeCallMinimumInterval:numberOfEventsForRateSmoothing:numberOfAveragesForRateSmoothing:",
546
558
  )
559
+ objc.registerNewKeywordsFromSelector("CMIOExtensionStreamFormat", b"init")
547
560
  objc.registerNewKeywordsFromSelector(
548
561
  "CMIOExtensionStreamFormat",
549
562
  b"initWithFormatDescription:maxFrameDuration:minFrameDuration:validFrameDurations:",
550
563
  )
564
+ objc.registerNewKeywordsFromSelector("CMIOExtensionStreamProperties", b"init")
551
565
  objc.registerNewKeywordsFromSelector(
552
566
  "CMIOExtensionStreamProperties", b"initWithDictionary:"
553
567
  )
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: pyobjc-framework-CoreMediaIO
3
- Version: 12.0
3
+ Version: 12.2
4
4
  Summary: Wrappers for the framework CoreMediaIO 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,14 +24,14 @@ 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
33
+ Requires-Dist: pyobjc-core>=12.2
34
+ Requires-Dist: pyobjc-framework-Cocoa>=12.2
36
35
  Dynamic: author
37
36
  Dynamic: author-email
38
37
  Dynamic: classifier
@@ -30,5 +30,5 @@ PyObjCTest/test_cmiosamplebuffer.py
30
30
  PyObjCTest/test_coremediaio.py
31
31
  metadata/CoreMediaIO.fwinfo
32
32
  metadata/metadata.ini
33
- metadata/raw/arm64-26.0.fwinfo
34
- metadata/raw/x86_64-26.0.fwinfo
33
+ metadata/raw/arm64-26.5.fwinfo
34
+ 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,2 @@
1
+ pyobjc-core>=12.2
2
+ pyobjc-framework-Cocoa>=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-CoreMediaIO
3
- Version: 12.0
3
+ Version: 12.2
4
4
  Summary: Wrappers for the framework CoreMediaIO 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,14 +24,14 @@ 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
33
+ Requires-Dist: pyobjc-core>=12.2
34
+ Requires-Dist: pyobjc-framework-Cocoa>=12.2
36
35
  Dynamic: author
37
36
  Dynamic: author-email
38
37
  Dynamic: classifier
@@ -205,23 +205,23 @@
205
205
  "1": { "type_modifier": "n" },
206
206
  "2": {
207
207
  "callable_retained": true,
208
- "function": {
209
- "args": [
210
- {
211
- "typestr": "I"
208
+ "callable": {
209
+ "arguments": {
210
+ "0": {
211
+ "type": "I"
212
212
  },
213
- {
214
- "typestr": "I"
213
+ "1": {
214
+ "type": "I"
215
215
  },
216
- {
217
- "typestr": "^{CMIOObjectPropertyAddress=III}"
216
+ "2": {
217
+ "type": "^{CMIOObjectPropertyAddress=III}"
218
218
  },
219
- {
220
- "typestr": "^v"
219
+ "3": {
220
+ "type": "^v"
221
221
  }
222
- ],
222
+ },
223
223
  "retval": {
224
- "typestr": "i"
224
+ "type": "i"
225
225
  }
226
226
  }
227
227
  },
@@ -288,23 +288,23 @@
288
288
  "1": { "type_modifier": "n" },
289
289
  "2": {
290
290
  "callable_retained": true,
291
- "function": {
292
- "args": [
293
- {
294
- "typestr": "I"
291
+ "callable": {
292
+ "arguments": {
293
+ "0": {
294
+ "type": "I"
295
295
  },
296
- {
297
- "typestr": "I"
296
+ "1": {
297
+ "type": "I"
298
298
  },
299
- {
300
- "typestr": "^{CMIOObjectPropertyAddress=III}"
299
+ "2": {
300
+ "type": "^{CMIOObjectPropertyAddress=III}"
301
301
  },
302
- {
303
- "typestr": "^v"
302
+ "3": {
303
+ "type": "^v"
304
304
  }
305
- ],
305
+ },
306
306
  "retval": {
307
- "typestr": "i"
307
+ "type": "i"
308
308
  }
309
309
  }
310
310
  },
@@ -412,20 +412,20 @@
412
412
  "CMIOStreamCopyBufferQueue": {
413
413
  "args": {
414
414
  "1": {
415
- "function": {
416
- "args": [
417
- {
418
- "typestr": "I"
415
+ "callable": {
416
+ "arguments": {
417
+ "0": {
418
+ "type": "I"
419
419
  },
420
- {
421
- "typestr": "^v"
420
+ "1": {
421
+ "type": "^v"
422
422
  },
423
- {
424
- "typestr": "^v"
423
+ "2": {
424
+ "type": "^v"
425
425
  }
426
- ],
426
+ },
427
427
  "retval": {
428
- "typestr": "v"
428
+ "type": "v"
429
429
  }
430
430
  }
431
431
  },