pyobjc-framework-SoundAnalysis 12.2.2__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 (33) hide show
  1. {pyobjc_framework_soundanalysis-12.2.2 → pyobjc_framework_soundanalysis-13.0}/Lib/SoundAnalysis/_metadata.py +10 -12
  2. {pyobjc_framework_soundanalysis-12.2.2 → pyobjc_framework_soundanalysis-13.0}/Lib/pyobjc_framework_SoundAnalysis.egg-info/PKG-INFO +5 -5
  3. {pyobjc_framework_soundanalysis-12.2.2 → pyobjc_framework_soundanalysis-13.0}/Lib/pyobjc_framework_SoundAnalysis.egg-info/SOURCES.txt +2 -2
  4. pyobjc_framework_soundanalysis-13.0/Lib/pyobjc_framework_SoundAnalysis.egg-info/pyobjc-build-info.txt +3 -0
  5. pyobjc_framework_soundanalysis-13.0/Lib/pyobjc_framework_SoundAnalysis.egg-info/requires.txt +2 -0
  6. {pyobjc_framework_soundanalysis-12.2.2 → pyobjc_framework_soundanalysis-13.0}/PKG-INFO +5 -5
  7. {pyobjc_framework_soundanalysis-12.2.2 → pyobjc_framework_soundanalysis-13.0}/PyObjCTest/test_snrequest.py +1 -1
  8. {pyobjc_framework_soundanalysis-12.2.2 → pyobjc_framework_soundanalysis-13.0}/PyObjCTest/test_snresult.py +2 -2
  9. {pyobjc_framework_soundanalysis-12.2.2 → pyobjc_framework_soundanalysis-13.0}/PyObjCTest/test_sntimedurationconstraint.py +1 -3
  10. {pyobjc_framework_soundanalysis-12.2.2 → pyobjc_framework_soundanalysis-13.0}/PyObjCTest/test_sntypes.py +1 -1
  11. pyobjc_framework_soundanalysis-13.0/metadata/SoundAnalysis.fwinfo +30 -0
  12. pyobjc_framework_soundanalysis-12.2.2/metadata/raw/arm64-26.5.fwinfo → pyobjc_framework_soundanalysis-13.0/metadata/raw/arm64-27.fwinfo +2 -3
  13. pyobjc_framework_soundanalysis-12.2.2/metadata/raw/x86_64-26.5.fwinfo → pyobjc_framework_soundanalysis-13.0/metadata/raw/x86_64-27.fwinfo +2 -3
  14. {pyobjc_framework_soundanalysis-12.2.2 → pyobjc_framework_soundanalysis-13.0}/pyobjc_setup.py +7 -7
  15. {pyobjc_framework_soundanalysis-12.2.2 → pyobjc_framework_soundanalysis-13.0}/setup.py +1 -1
  16. pyobjc_framework_soundanalysis-12.2.2/Lib/pyobjc_framework_SoundAnalysis.egg-info/pyobjc-build-info.txt +0 -3
  17. pyobjc_framework_soundanalysis-12.2.2/Lib/pyobjc_framework_SoundAnalysis.egg-info/requires.txt +0 -2
  18. pyobjc_framework_soundanalysis-12.2.2/metadata/SoundAnalysis.fwinfo +0 -119
  19. {pyobjc_framework_soundanalysis-12.2.2 → pyobjc_framework_soundanalysis-13.0}/Lib/SoundAnalysis/__init__.py +0 -0
  20. {pyobjc_framework_soundanalysis-12.2.2 → pyobjc_framework_soundanalysis-13.0}/Lib/pyobjc_framework_SoundAnalysis.egg-info/dependency_links.txt +0 -0
  21. {pyobjc_framework_soundanalysis-12.2.2 → pyobjc_framework_soundanalysis-13.0}/Lib/pyobjc_framework_SoundAnalysis.egg-info/not-zip-safe +0 -0
  22. {pyobjc_framework_soundanalysis-12.2.2 → pyobjc_framework_soundanalysis-13.0}/Lib/pyobjc_framework_SoundAnalysis.egg-info/top_level.txt +0 -0
  23. {pyobjc_framework_soundanalysis-12.2.2 → pyobjc_framework_soundanalysis-13.0}/License.txt +0 -0
  24. {pyobjc_framework_soundanalysis-12.2.2 → pyobjc_framework_soundanalysis-13.0}/MANIFEST.in +0 -0
  25. {pyobjc_framework_soundanalysis-12.2.2 → pyobjc_framework_soundanalysis-13.0}/PyObjCTest/__init__.py +0 -0
  26. {pyobjc_framework_soundanalysis-12.2.2 → pyobjc_framework_soundanalysis-13.0}/PyObjCTest/test_snanalyzer.py +0 -0
  27. {pyobjc_framework_soundanalysis-12.2.2 → pyobjc_framework_soundanalysis-13.0}/PyObjCTest/test_snclassificationresult.py +0 -0
  28. {pyobjc_framework_soundanalysis-12.2.2 → pyobjc_framework_soundanalysis-13.0}/PyObjCTest/test_snclassifysoundrequest.py +0 -0
  29. {pyobjc_framework_soundanalysis-12.2.2 → pyobjc_framework_soundanalysis-13.0}/PyObjCTest/test_snerror.py +0 -0
  30. {pyobjc_framework_soundanalysis-12.2.2 → pyobjc_framework_soundanalysis-13.0}/PyObjCTest/test_soundanalysis.py +0 -0
  31. {pyobjc_framework_soundanalysis-12.2.2 → pyobjc_framework_soundanalysis-13.0}/metadata/metadata.ini +0 -0
  32. {pyobjc_framework_soundanalysis-12.2.2 → pyobjc_framework_soundanalysis-13.0}/pyproject.toml +0 -0
  33. {pyobjc_framework_soundanalysis-12.2.2 → pyobjc_framework_soundanalysis-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:59:03 2026
4
- #
5
3
  # flake8: noqa
6
4
 
7
5
  import objc, sys
@@ -95,15 +93,10 @@ try:
95
93
  b"addRequest:withObserver:error:",
96
94
  {"retval": {"type": b"Z"}, "arguments": {4: {"type_modifier": b"o"}}},
97
95
  )
98
- r(
99
- b"SNClassificationResult",
100
- b"analyzeWithCompletionHandler:",
101
- {"retval": {"type": "{_CMTimeRange={CMTime=qiIq}{CMTime=qiIq}}"}},
102
- )
103
96
  r(
104
97
  b"SNClassificationResult",
105
98
  b"timeRange",
106
- {"retval": {"type": "{CMTimeRange={CMTime=qiIq}{CMTime=qiIq}}"}},
99
+ {"retval": {"type": b"{CMTimeRange={CMTime=qiIq}{CMTime=qiIq}}"}},
107
100
  )
108
101
  r(
109
102
  b"SNClassifySoundRequest",
@@ -118,22 +111,22 @@ try:
118
111
  r(
119
112
  b"SNClassifySoundRequest",
120
113
  b"setWindowDuration:",
121
- {"arguments": {2: {"type": "{CMTime=qiIq}"}}},
114
+ {"arguments": {2: {"type": b"{CMTime=qiIq}"}}},
122
115
  )
123
116
  r(
124
117
  b"SNClassifySoundRequest",
125
118
  b"windowDuration",
126
- {"retval": {"type": "{CMTime=qiIq}"}},
119
+ {"retval": {"type": b"{CMTime=qiIq}"}},
127
120
  )
128
121
  r(
129
122
  b"SNTimeDurationConstraint",
130
123
  b"durationRange",
131
- {"retval": {"type": "{CMTimeRange={CMTime=qiIq}{CMTime=qiIq}}"}},
124
+ {"retval": {"type": b"{CMTimeRange={CMTime=qiIq}{CMTime=qiIq}}"}},
132
125
  )
133
126
  r(
134
127
  b"SNTimeDurationConstraint",
135
128
  b"initWithDurationRange:",
136
- {"arguments": {2: {"type": "{CMTimeRange={CMTime=qiIq}{CMTime=qiIq}}"}}},
129
+ {"arguments": {2: {"type": b"{CMTimeRange={CMTime=qiIq}{CMTime=qiIq}}"}}},
137
130
  )
138
131
  finally:
139
132
  objc._updatingMetadata(False)
@@ -159,5 +152,10 @@ objc.registerNewKeywordsFromSelector(
159
152
  "SNTimeDurationConstraint", b"initWithEnumeratedDurations:"
160
153
  )
161
154
  expressions = {}
155
+ formal_protocols = {
156
+ "SNRequest": "SNRequest",
157
+ "SNResult": "SNResult",
158
+ "SNResultsObserving": "SNResultsObserving",
159
+ }
162
160
 
163
161
  # END OF FILE
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: pyobjc-framework-SoundAnalysis
3
- Version: 12.2.2
3
+ Version: 13.0
4
4
  Summary: Wrappers for the framework SoundAnalysis 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.2
34
- Requires-Dist: pyobjc-framework-Cocoa>=12.2.2
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
@@ -24,5 +24,5 @@ PyObjCTest/test_sntypes.py
24
24
  PyObjCTest/test_soundanalysis.py
25
25
  metadata/SoundAnalysis.fwinfo
26
26
  metadata/metadata.ini
27
- metadata/raw/arm64-26.5.fwinfo
28
- metadata/raw/x86_64-26.5.fwinfo
27
+ metadata/raw/arm64-27.fwinfo
28
+ 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-SoundAnalysis
3
- Version: 12.2.2
3
+ Version: 13.0
4
4
  Summary: Wrappers for the framework SoundAnalysis 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.2
34
- Requires-Dist: pyobjc-framework-Cocoa>=12.2.2
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
@@ -5,4 +5,4 @@ from PyObjCTools.TestSupport import TestCase, min_sdk_level
5
5
  class TestSNRequest(TestCase):
6
6
  @min_sdk_level("10.15")
7
7
  def test_protocols(self):
8
- self.assertProtocolExists("SNRequest")
8
+ self.assertProtocolExists("SNRequest", SoundAnalysis)
@@ -5,5 +5,5 @@ from PyObjCTools.TestSupport import TestCase, min_sdk_level
5
5
  class TestSNResult(TestCase):
6
6
  @min_sdk_level("10.15")
7
7
  def test_protocols(self):
8
- self.assertProtocolExists("SNResult")
9
- self.assertProtocolExists("SNResultsObserving")
8
+ self.assertProtocolExists("SNResult", SoundAnalysis)
9
+ self.assertProtocolExists("SNResultsObserving", SoundAnalysis)
@@ -4,10 +4,8 @@ from PyObjCTools.TestSupport import TestCase
4
4
 
5
5
 
6
6
  class TestSNTimeDurationConstraint(TestCase):
7
- def test_enum_types(self):
7
+ def test_enums(self):
8
8
  self.assertIsEnumType(SoundAnalysis.SNTimeDurationConstraintType)
9
-
10
- def test_constants(self):
11
9
  self.assertEqual(SoundAnalysis.SNTimeDurationConstraintTypeEnumerated, 1)
12
10
  self.assertEqual(SoundAnalysis.SNTimeDurationConstraintTypeRange, 2)
13
11
 
@@ -3,7 +3,7 @@ from PyObjCTools.TestSupport import TestCase, min_os_level
3
3
 
4
4
 
5
5
  class TestSNError(TestCase):
6
- def test_typed_enum(self):
6
+ def test_typed_enums(self):
7
7
  self.assertIsTypedEnum(SoundAnalysis.SNClassifierIdentifier, str)
8
8
 
9
9
  @min_os_level("12.0")
@@ -0,0 +1,30 @@
1
+ // objective.metadata exceptions file, see its document
2
+ // for information on how to update this file.
3
+ {
4
+ "definitions": {
5
+ "typed_enum": {
6
+ "SNClassifierIdentifier": { "type": "@", "type_name": "NSString" }
7
+ },
8
+ "classes": {
9
+ "SNAudioFileAnalyzer": {
10
+ "methods": [
11
+ {
12
+ "args": {
13
+ "0": {
14
+ "callable": {
15
+ "arguments": {
16
+ "0": { "type": "^v" },
17
+ "1": { "type": "@" }
18
+ },
19
+ "retval": { "type": "v" }
20
+ }
21
+ }
22
+ },
23
+ "class_method": false,
24
+ "selector": "analyzeWithCompletionHandler:"
25
+ }
26
+ ]
27
+ }
28
+ }
29
+ }
30
+ }
@@ -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:59:02 2026
5
4
  {
6
5
  "arch": "arm64",
7
6
  "definitions": {
@@ -1055,6 +1054,6 @@
1055
1054
  "SNTimeDurationConstraint.h",
1056
1055
  "SNTypes.h"
1057
1056
  ],
1058
- "release": "26.5",
1059
- "sdk": "/Users/ronald/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX26.5.sdk"
1057
+ "release": "macOS 27.2",
1058
+ "sdk": "Xcode 27.2 (27B5038i)/MacOSX27.sdk"
1060
1059
  }
@@ -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:58:59 2026
5
4
  {
6
5
  "arch": "x86_64",
7
6
  "definitions": {
@@ -1055,6 +1054,6 @@
1055
1054
  "SNTimeDurationConstraint.h",
1056
1055
  "SNTypes.h"
1057
1056
  ],
1058
- "release": "26.5",
1059
- "sdk": "/Users/ronald/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX26.5.sdk"
1057
+ "release": "macOS 27.2",
1058
+ "sdk": "Xcode 27.2 (27B5038i)/MacOSX27.sdk"
1060
1059
  }
@@ -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.2"
18
+ VERSION = "13.0"
19
19
 
20
20
  setup(
21
21
  name="pyobjc-framework-SoundAnalysis",
@@ -1,3 +0,0 @@
1
- macOS 26.6 (25G70)
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.2
2
- pyobjc-framework-Cocoa>=12.2.2
@@ -1,119 +0,0 @@
1
- // objective.metadata exceptions file, see its document
2
- // for information on how to update this file.
3
- {
4
- "definitions": {
5
- "typed_enum": {
6
- "SNClassifierIdentifier": { "type": "@", "type_name": "NSString" }
7
- },
8
- "classes": {
9
- "SNTimeDurationConstraint": {
10
- "methods": [
11
- {
12
- "retval": {
13
- "type_override": "{CMTimeRange={CMTime=qiIq}{CMTime=qiIq}}"
14
- },
15
- "class_method": false,
16
- "selector": "durationRange"
17
- },
18
- {
19
- "args": {
20
- "0": { "type_override": "{CMTimeRange={CMTime=qiIq}{CMTime=qiIq}}" }
21
- },
22
- "class_method": false,
23
- "selector": "initWithDurationRange:"
24
- }
25
- ]
26
- },
27
- "SNClassificationResult": {
28
- "methods": [
29
- {
30
- "retval": {
31
- "type_override": "{_CMTimeRange={CMTime=qiIq}{CMTime=qiIq}}"
32
- },
33
- "class_method": false,
34
- "selector": "analyzeWithCompletionHandler:"
35
- },
36
- {
37
- "retval": {
38
- "type_override": "{CMTimeRange={CMTime=qiIq}{CMTime=qiIq}}"
39
- },
40
- "class_method": false,
41
- "selector": "timeRange"
42
- }
43
- ]
44
- },
45
- "SNAudioFileAnalyzer": {
46
- "methods": [
47
- {
48
- "args": {
49
- "0": {
50
- "callable": {
51
- "arguments": {
52
- "0": { "type": "^v" },
53
- "1": { "type": "@" }
54
- },
55
- "retval": { "type": "v" }
56
- }
57
- }
58
- },
59
- "class_method": false,
60
- "selector": "analyzeWithCompletionHandler:"
61
- },
62
- {
63
- "args": {
64
- "1": { "type_modifier": "o" }
65
- },
66
- "class_method": false,
67
- "selector": "initWithURL:error:"
68
- },
69
- {
70
- "args": {
71
- "2": { "type_modifier": "o" }
72
- },
73
- "class_method": false,
74
- "selector": "addRequest:withObserver:error:"
75
- }
76
- ]
77
- },
78
- "SNAudioStreamAnalyzer": {
79
- "methods": [
80
- {
81
- "args": {
82
- "2": { "type_modifier": "o" }
83
- },
84
- "class_method": false,
85
- "selector": "addRequest:withObserver:error:"
86
- }
87
- ]
88
- },
89
- "SNClassifySoundRequest": {
90
- "methods": [
91
- {
92
- "args": {
93
- "1": { "type_modifier": "o" }
94
- },
95
- "class_method": false,
96
- "selector": "initWithMLModel:error:"
97
- },
98
- {
99
- "args": {
100
- "0": { "type_override": "{CMTime=qiIq}" }
101
- },
102
- "class_method": false,
103
- "selector": "setWindowDuration:"
104
- },
105
- {
106
- "retval": {
107
- "type_override": "{CMTime=qiIq}"
108
- },
109
- "class_method": false,
110
- "selector": "windowDuration"
111
- }
112
- ]
113
- }
114
- },
115
- "formal_protocols": {},
116
- "functions": {},
117
- "informal_protocols": {}
118
- }
119
- }