pyobjc-framework-SecurityFoundation 11.0__tar.gz → 12.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_securityfoundation-11.0 → pyobjc_framework_securityfoundation-12.0}/Lib/SecurityFoundation/_metadata.py +13 -13
  2. {pyobjc_framework_securityfoundation-11.0 → pyobjc_framework_securityfoundation-12.0}/Lib/pyobjc_framework_SecurityFoundation.egg-info/PKG-INFO +20 -7
  3. {pyobjc_framework_securityfoundation-11.0 → pyobjc_framework_securityfoundation-12.0}/Lib/pyobjc_framework_SecurityFoundation.egg-info/SOURCES.txt +2 -8
  4. pyobjc_framework_securityfoundation-12.0/Lib/pyobjc_framework_SecurityFoundation.egg-info/pyobjc-build-info.txt +3 -0
  5. pyobjc_framework_securityfoundation-12.0/Lib/pyobjc_framework_SecurityFoundation.egg-info/requires.txt +3 -0
  6. {pyobjc_framework_securityfoundation-11.0 → pyobjc_framework_securityfoundation-12.0}/License.txt +1 -1
  7. {pyobjc_framework_securityfoundation-11.0 → pyobjc_framework_securityfoundation-12.0}/PKG-INFO +20 -7
  8. pyobjc_framework_securityfoundation-12.0/PyObjCTest/__init__.py +1 -0
  9. {pyobjc_framework_securityfoundation-11.0 → pyobjc_framework_securityfoundation-12.0}/PyObjCTest/test_sfauthorization.py +23 -0
  10. pyobjc_framework_securityfoundation-12.0/metadata/SecurityFoundation.fwinfo +63 -0
  11. pyobjc_framework_securityfoundation-11.0/metadata/raw/arm64-15.0.fwinfo → pyobjc_framework_securityfoundation-12.0/metadata/raw/arm64-26.0.fwinfo +2 -2
  12. pyobjc_framework_securityfoundation-11.0/metadata/raw/x86_64-15.0.fwinfo → pyobjc_framework_securityfoundation-12.0/metadata/raw/x86_64-26.0.fwinfo +2 -2
  13. {pyobjc_framework_securityfoundation-11.0 → pyobjc_framework_securityfoundation-12.0}/pyobjc_setup.py +9 -41
  14. {pyobjc_framework_securityfoundation-11.0 → pyobjc_framework_securityfoundation-12.0}/setup.py +1 -1
  15. pyobjc_framework_securityfoundation-11.0/Lib/pyobjc_framework_SecurityFoundation.egg-info/pyobjc-build-info.txt +0 -3
  16. pyobjc_framework_securityfoundation-11.0/Lib/pyobjc_framework_SecurityFoundation.egg-info/requires.txt +0 -3
  17. pyobjc_framework_securityfoundation-11.0/PyObjCTest/__init__.py +0 -1
  18. pyobjc_framework_securityfoundation-11.0/metadata/SecurityFoundation.fwinfo +0 -36
  19. pyobjc_framework_securityfoundation-11.0/metadata/raw/arm64-12.3.fwinfo +0 -230
  20. pyobjc_framework_securityfoundation-11.0/metadata/raw/arm64-14.5.fwinfo +0 -231
  21. pyobjc_framework_securityfoundation-11.0/metadata/raw/x86_64-10.13.fwinfo +0 -26
  22. pyobjc_framework_securityfoundation-11.0/metadata/raw/x86_64-10.16.fwinfo +0 -28
  23. pyobjc_framework_securityfoundation-11.0/metadata/raw/x86_64-12.3.fwinfo +0 -230
  24. pyobjc_framework_securityfoundation-11.0/metadata/raw/x86_64-14.5.fwinfo +0 -231
  25. {pyobjc_framework_securityfoundation-11.0 → pyobjc_framework_securityfoundation-12.0}/Lib/SecurityFoundation/__init__.py +0 -0
  26. {pyobjc_framework_securityfoundation-11.0 → pyobjc_framework_securityfoundation-12.0}/Lib/pyobjc_framework_SecurityFoundation.egg-info/dependency_links.txt +0 -0
  27. {pyobjc_framework_securityfoundation-11.0 → pyobjc_framework_securityfoundation-12.0}/Lib/pyobjc_framework_SecurityFoundation.egg-info/not-zip-safe +0 -0
  28. {pyobjc_framework_securityfoundation-11.0 → pyobjc_framework_securityfoundation-12.0}/Lib/pyobjc_framework_SecurityFoundation.egg-info/top_level.txt +0 -0
  29. {pyobjc_framework_securityfoundation-11.0 → pyobjc_framework_securityfoundation-12.0}/MANIFEST.in +0 -0
  30. {pyobjc_framework_securityfoundation-11.0 → pyobjc_framework_securityfoundation-12.0}/PyObjCTest/test_securityfoundation.py +0 -0
  31. {pyobjc_framework_securityfoundation-11.0 → pyobjc_framework_securityfoundation-12.0}/metadata/metadata.ini +0 -0
  32. {pyobjc_framework_securityfoundation-11.0 → pyobjc_framework_securityfoundation-12.0}/pyproject.toml +0 -0
  33. {pyobjc_framework_securityfoundation-11.0 → pyobjc_framework_securityfoundation-12.0}/setup.cfg +0 -0
@@ -1,6 +1,6 @@
1
1
  # This file is generated by objective.metadata
2
2
  #
3
- # Last update: Tue Jun 11 10:19:45 2024
3
+ # Last update: Thu Jul 24 14:29:26 2025
4
4
  #
5
5
  # flake8: noqa
6
6
 
@@ -43,9 +43,9 @@ try:
43
43
  b"authorizationWithFlags:rights:environment:",
44
44
  {
45
45
  "arguments": {
46
- 3: {"type": b"^{_AuthorizationRights=I^{_AuthorizationItem=^cQ^vI}}"},
46
+ 3: {"type": "^{_AuthorizationRights=I^{_AuthorizationItem=^cQ^vI}}"},
47
47
  4: {
48
- "type": b"^{_AuthorizationEnvironment=I^{_AuthorizationItem=^cQ^vI}}"
48
+ "type": "^{_AuthorizationEnvironment=I^{_AuthorizationItem=^cQ^vI}}"
49
49
  },
50
50
  }
51
51
  },
@@ -55,9 +55,9 @@ try:
55
55
  b"initWithFlags:rights:environment:",
56
56
  {
57
57
  "arguments": {
58
- 3: {"type": b"^{_AuthorizationRights=I^{_AuthorizationItem=^cQ^vI}}"},
58
+ 3: {"type": "^{_AuthorizationRights=I^{_AuthorizationItem=^cQ^vI}}"},
59
59
  4: {
60
- "type": b"^{_AuthorizationEnvironment=I^{_AuthorizationItem=^cQ^vI}}"
60
+ "type": "^{_AuthorizationEnvironment=I^{_AuthorizationItem=^cQ^vI}}"
61
61
  },
62
62
  }
63
63
  },
@@ -73,12 +73,9 @@ try:
73
73
  {
74
74
  "retval": {"type": "Z"},
75
75
  "arguments": {
76
- 2: {"type": b"^{_AuthorizationRights=I^{_AuthorizationItem=^cQ^vI}}"},
77
- 4: {
78
- "type": b"^{_AuthorizationEnvironment=I^{_AuthorizationItem=^cQ^vI}}"
79
- },
76
+ 2: {"type": "^{_AuthorizationRights=I^{_AuthorizationItem=^cQ^vI}}"},
80
77
  5: {
81
- "type": b"^^{_AuthorizationRights=I^{_AuthorizationItem=^cQ^vI}}",
78
+ "type": "^^{_AuthorizationRights=I^{_AuthorizationItem=^cQ^vI}}",
82
79
  "type_modifier": b"o",
83
80
  },
84
81
  6: {"type_modifier": b"o"},
@@ -90,11 +87,14 @@ try:
90
87
  b"permitWithRights:flags:environment:authorizedRights:",
91
88
  {
92
89
  "arguments": {
93
- 2: {"type": b"^{_AuthorizationRights=I^{_AuthorizationItem=^cQ^vI}}"},
90
+ 2: {"type": "^{_AuthorizationRights=I^{_AuthorizationItem=^cQ^vI}}"},
94
91
  4: {
95
- "type": b"^{_AuthorizationEnvironment=I^{_AuthorizationItem=^cQ^vI}}"
92
+ "type": "^{_AuthorizationEnvironment=I^{_AuthorizationItem=^cQ^vI}}"
93
+ },
94
+ 5: {
95
+ "type": "^{_AuthorizationRights=I^{_AuthorizationItem=^cQ^vI}}",
96
+ "type_modifier": b"o",
96
97
  },
97
- 5: {"type": b"^{_AuthorizationRights=I^{_AuthorizationItem=^cQ^vI}}"},
98
98
  }
99
99
  },
100
100
  )
@@ -1,18 +1,17 @@
1
- Metadata-Version: 2.1
1
+ Metadata-Version: 2.4
2
2
  Name: pyobjc-framework-SecurityFoundation
3
- Version: 11.0
3
+ Version: 12.0
4
4
  Summary: Wrappers for the framework SecurityFoundation on macOS
5
5
  Home-page: https://github.com/ronaldoussoren/pyobjc
6
6
  Author: Ronald Oussoren
7
7
  Author-email: pyobjc-dev@lists.sourceforge.net
8
- License: MIT License
8
+ License: MIT
9
9
  Keywords: PyObjC,SecurityFoundation
10
10
  Platform: MacOS X
11
11
  Classifier: Development Status :: 5 - Production/Stable
12
12
  Classifier: Environment :: Console
13
13
  Classifier: Environment :: MacOS X :: Cocoa
14
14
  Classifier: Intended Audience :: Developers
15
- Classifier: License :: OSI Approved :: MIT License
16
15
  Classifier: Natural Language :: English
17
16
  Classifier: Operating System :: MacOS :: MacOS X
18
17
  Classifier: Programming Language :: Python
@@ -24,15 +23,29 @@ Classifier: Programming Language :: Python :: 3.11
24
23
  Classifier: Programming Language :: Python :: 3.12
25
24
  Classifier: Programming Language :: Python :: 3.13
26
25
  Classifier: Programming Language :: Python :: 3.14
26
+ Classifier: Programming Language :: Python :: 3.15
27
27
  Classifier: Programming Language :: Python :: Implementation :: CPython
28
+ Classifier: Programming Language :: Python :: Free Threading :: 2 - Beta
28
29
  Classifier: Programming Language :: Objective C
29
30
  Classifier: Topic :: Software Development :: Libraries :: Python Modules
30
31
  Classifier: Topic :: Software Development :: User Interfaces
31
32
  Requires-Python: >=3.9
32
33
  Description-Content-Type: text/x-rst; charset=UTF-8
33
- Requires-Dist: pyobjc-core>=11.0
34
- Requires-Dist: pyobjc-framework-Cocoa>=11.0
35
- Requires-Dist: pyobjc-framework-Security>=11.0
34
+ Requires-Dist: pyobjc-core>=12.0
35
+ Requires-Dist: pyobjc-framework-Cocoa>=12.0
36
+ Requires-Dist: pyobjc-framework-Security>=12.0
37
+ Dynamic: author
38
+ Dynamic: author-email
39
+ Dynamic: classifier
40
+ Dynamic: description
41
+ Dynamic: description-content-type
42
+ Dynamic: home-page
43
+ Dynamic: keywords
44
+ Dynamic: license
45
+ Dynamic: platform
46
+ Dynamic: requires-dist
47
+ Dynamic: requires-python
48
+ Dynamic: summary
36
49
  Project-URL: Documentation, https://pyobjc.readthedocs.io/en/latest/
37
50
  Project-URL: Issue tracker, https://github.com/ronaldoussoren/pyobjc/issues
38
51
  Project-URL: Repository, https://github.com/ronaldoussoren/pyobjc
@@ -17,11 +17,5 @@ PyObjCTest/test_securityfoundation.py
17
17
  PyObjCTest/test_sfauthorization.py
18
18
  metadata/SecurityFoundation.fwinfo
19
19
  metadata/metadata.ini
20
- metadata/raw/arm64-12.3.fwinfo
21
- metadata/raw/arm64-14.5.fwinfo
22
- metadata/raw/arm64-15.0.fwinfo
23
- metadata/raw/x86_64-10.13.fwinfo
24
- metadata/raw/x86_64-10.16.fwinfo
25
- metadata/raw/x86_64-12.3.fwinfo
26
- metadata/raw/x86_64-14.5.fwinfo
27
- metadata/raw/x86_64-15.0.fwinfo
20
+ metadata/raw/arm64-26.0.fwinfo
21
+ metadata/raw/x86_64-26.0.fwinfo
@@ -0,0 +1,3 @@
1
+ macOS 26.0.1 (25A362)
2
+ Apple clang version 17.0.0 (clang-1700.3.19.1)
3
+ SDK: macOS 26.0
@@ -0,0 +1,3 @@
1
+ pyobjc-core>=12.0
2
+ pyobjc-framework-Cocoa>=12.0
3
+ pyobjc-framework-Security>=12.0
@@ -1,7 +1,7 @@
1
1
  (This is the MIT license, note that libffi-src is a separate product with its own license)
2
2
 
3
3
  Copyright 2002, 2003 - Bill Bumgarner, Ronald Oussoren, Steve Majewski, Lele Gaifax, et.al.
4
- Copyright 2003-2024 - Ronald Oussoren
4
+ Copyright 2003-2025 - Ronald Oussoren
5
5
 
6
6
  Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
7
7
 
@@ -1,18 +1,17 @@
1
- Metadata-Version: 2.1
1
+ Metadata-Version: 2.4
2
2
  Name: pyobjc-framework-SecurityFoundation
3
- Version: 11.0
3
+ Version: 12.0
4
4
  Summary: Wrappers for the framework SecurityFoundation on macOS
5
5
  Home-page: https://github.com/ronaldoussoren/pyobjc
6
6
  Author: Ronald Oussoren
7
7
  Author-email: pyobjc-dev@lists.sourceforge.net
8
- License: MIT License
8
+ License: MIT
9
9
  Keywords: PyObjC,SecurityFoundation
10
10
  Platform: MacOS X
11
11
  Classifier: Development Status :: 5 - Production/Stable
12
12
  Classifier: Environment :: Console
13
13
  Classifier: Environment :: MacOS X :: Cocoa
14
14
  Classifier: Intended Audience :: Developers
15
- Classifier: License :: OSI Approved :: MIT License
16
15
  Classifier: Natural Language :: English
17
16
  Classifier: Operating System :: MacOS :: MacOS X
18
17
  Classifier: Programming Language :: Python
@@ -24,15 +23,29 @@ Classifier: Programming Language :: Python :: 3.11
24
23
  Classifier: Programming Language :: Python :: 3.12
25
24
  Classifier: Programming Language :: Python :: 3.13
26
25
  Classifier: Programming Language :: Python :: 3.14
26
+ Classifier: Programming Language :: Python :: 3.15
27
27
  Classifier: Programming Language :: Python :: Implementation :: CPython
28
+ Classifier: Programming Language :: Python :: Free Threading :: 2 - Beta
28
29
  Classifier: Programming Language :: Objective C
29
30
  Classifier: Topic :: Software Development :: Libraries :: Python Modules
30
31
  Classifier: Topic :: Software Development :: User Interfaces
31
32
  Requires-Python: >=3.9
32
33
  Description-Content-Type: text/x-rst; charset=UTF-8
33
- Requires-Dist: pyobjc-core>=11.0
34
- Requires-Dist: pyobjc-framework-Cocoa>=11.0
35
- Requires-Dist: pyobjc-framework-Security>=11.0
34
+ Requires-Dist: pyobjc-core>=12.0
35
+ Requires-Dist: pyobjc-framework-Cocoa>=12.0
36
+ Requires-Dist: pyobjc-framework-Security>=12.0
37
+ Dynamic: author
38
+ Dynamic: author-email
39
+ Dynamic: classifier
40
+ Dynamic: description
41
+ Dynamic: description-content-type
42
+ Dynamic: home-page
43
+ Dynamic: keywords
44
+ Dynamic: license
45
+ Dynamic: platform
46
+ Dynamic: requires-dist
47
+ Dynamic: requires-python
48
+ Dynamic: summary
36
49
 
37
50
 
38
51
  Wrappers for the "SecurityFoundation" framework on macOS.
@@ -0,0 +1 @@
1
+ """testsuite"""
@@ -25,3 +25,26 @@ class TestSFAuthorization(TestCase):
25
25
  SecurityFoundation.SFAuthorization.obtainWithRights_flags_environment_authorizedRights_error_,
26
26
  4,
27
27
  )
28
+
29
+ # XXX: These look like the need more work.
30
+ self.assertArgHasType(
31
+ SecurityFoundation.SFAuthorization.authorizationWithFlags_rights_environment_,
32
+ 1,
33
+ b"^{_AuthorizationRights=I^{_AuthorizationItem=^cQ^vI}}",
34
+ )
35
+ self.assertArgHasType(
36
+ SecurityFoundation.SFAuthorization.authorizationWithFlags_rights_environment_,
37
+ 2,
38
+ b"^{_AuthorizationEnvironment=I^{_AuthorizationItem=^cQ^vI}}",
39
+ )
40
+
41
+ self.assertArgHasType(
42
+ SecurityFoundation.SFAuthorization.initWithFlags_rights_environment_,
43
+ 1,
44
+ b"^{_AuthorizationRights=I^{_AuthorizationItem=^cQ^vI}}",
45
+ )
46
+ self.assertArgHasType(
47
+ SecurityFoundation.SFAuthorization.initWithFlags_rights_environment_,
48
+ 2,
49
+ b"^{_AuthorizationEnvironment=I^{_AuthorizationItem=^cQ^vI}}",
50
+ )
@@ -0,0 +1,63 @@
1
+ // objective.metadata exceptions file, see its document
2
+ // for information on how to update this file.
3
+ {
4
+ "definitions": {
5
+ "classes": {
6
+ "SFAuthorization": {
7
+ "methods": [
8
+ {
9
+ "selector": "initWithFlags:rights:environment:",
10
+ "class_method": false,
11
+ "args": {
12
+ "1": { "type_override": "^{_AuthorizationRights=I^{_AuthorizationItem=^cQ^vI}}"},
13
+ "2": { "type_override": "^{_AuthorizationEnvironment=I^{_AuthorizationItem=^cQ^vI}}"}
14
+ }
15
+ },
16
+ {
17
+ "selector": "authorizationWithFlags:rights:environment:",
18
+ "class_method": true,
19
+ "args": {
20
+ "1": { "type_override": "^{_AuthorizationRights=I^{_AuthorizationItem=^cQ^vI}}"},
21
+ "2": { "type_override": "^{_AuthorizationEnvironment=I^{_AuthorizationItem=^cQ^vI}}"}
22
+ }
23
+ },
24
+ {
25
+ "selector": "obtainWithRight:flags:error:",
26
+ "class_method": false,
27
+ "retval": {
28
+ "type_override": "Z"
29
+ },
30
+ "args": {
31
+ "2": { "type_modifier": "o" }
32
+ }
33
+ },
34
+ {
35
+ "selector": "obtainWithRights:flags:environment:authorizedRights:error:",
36
+ "class_method": false,
37
+ "retval": {
38
+ "type_override": "Z"
39
+ },
40
+ "args": {
41
+ "0": {"type_override": "^{_AuthorizationRights=I^{_AuthorizationItem=^cQ^vI}}"},
42
+ "4": { "type_override": "^{_AuthorizationEnvironment=I^{_AuthorizationItem=^cQ^vI}}" },
43
+ "3": { "type_modifier": "o", "type_override": "^^{_AuthorizationRights=I^{_AuthorizationItem=^cQ^vI}}" },
44
+ "4": { "type_modifier": "o" }
45
+ }
46
+ },
47
+ {
48
+ "selector": "permitWithRights:flags:environment:authorizedRights:",
49
+ "class_method": false,
50
+ "args": {
51
+ "0": { "type_override": "^{_AuthorizationRights=I^{_AuthorizationItem=^cQ^vI}}" },
52
+ "2": { "type_override": "^{_AuthorizationEnvironment=I^{_AuthorizationItem=^cQ^vI}}" },
53
+ "3": { "type_override": "^{_AuthorizationRights=I^{_AuthorizationItem=^cQ^vI}}", "type_modifier": "o" }
54
+ }
55
+ }
56
+ ]
57
+ }
58
+ },
59
+ "formal_protocols": {},
60
+ "functions": {},
61
+ "informal_protocols": {}
62
+ }
63
+ }
@@ -1,7 +1,7 @@
1
1
  // GENERATED FILE DO NOT EDIT
2
2
  //
3
3
  // This file was generated by objective.metadata
4
- // Last update: Tue Jun 11 10:19:45 2024
4
+ // Last update: Thu Jul 24 14:28:53 2025
5
5
  {
6
6
  "arch": "arm64",
7
7
  "definitions": {
@@ -227,5 +227,5 @@
227
227
  "SFDefines.h"
228
228
  ],
229
229
  "release": "10.16",
230
- "sdk": "/Users/ronald/Applications/Xcode-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.0.sdk"
230
+ "sdk": "/Users/ronald/Applications/Xcode-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX26.0.sdk"
231
231
  }
@@ -1,7 +1,7 @@
1
1
  // GENERATED FILE DO NOT EDIT
2
2
  //
3
3
  // This file was generated by objective.metadata
4
- // Last update: Tue Jun 11 10:19:43 2024
4
+ // Last update: Thu Jul 24 14:28:51 2025
5
5
  {
6
6
  "arch": "x86_64",
7
7
  "definitions": {
@@ -227,5 +227,5 @@
227
227
  "SFDefines.h"
228
228
  ],
229
229
  "release": "10.16",
230
- "sdk": "/Users/ronald/Applications/Xcode-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.0.sdk"
230
+ "sdk": "/Users/ronald/Applications/Xcode-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX26.0.sdk"
231
231
  }
@@ -11,12 +11,11 @@ To change this file:
11
11
 
12
12
  __all__ = ("setup", "Extension", "Command")
13
13
 
14
+ import importlib
14
15
  import os
15
- import pkg_resources
16
16
  import plistlib
17
17
  import re
18
18
  import shlex
19
- import shutil
20
19
  import subprocess
21
20
  import sys
22
21
  import tempfile
@@ -138,10 +137,6 @@ class oc_test(Command):
138
137
  self.verbosity = int(self.verbosity)
139
138
 
140
139
  def cleanup_environment(self):
141
- from pkg_resources import add_activation_listener
142
-
143
- add_activation_listener(lambda dist: dist.activate())
144
-
145
140
  ei_cmd = self.get_finalized_command("egg_info")
146
141
  egg_name = ei_cmd.egg_name.replace("-", "_")
147
142
 
@@ -155,12 +150,9 @@ class oc_test(Command):
155
150
  log.info(f"removing installed {dirname!r} from sys.path before testing")
156
151
  sys.path.remove(dirname)
157
152
 
158
- pkg_resources.working_set.__init__()
153
+ importlib.invalidate_caches()
159
154
 
160
155
  def add_project_to_sys_path(self):
161
- from pkg_resources import normalize_path, add_activation_listener
162
- from pkg_resources import working_set, require
163
-
164
156
  self.reinitialize_command("egg_info")
165
157
  self.run_command("egg_info")
166
158
  self.reinitialize_command("build_ext", inplace=1)
@@ -173,20 +165,16 @@ class oc_test(Command):
173
165
  del sys.modules["PyObjCTools"]
174
166
 
175
167
  ei_cmd = self.get_finalized_command("egg_info")
176
- sys.path.insert(0, normalize_path(ei_cmd.egg_base))
168
+ sys.path.insert(0, os.path.abspath(ei_cmd.egg_base))
177
169
  sys.path.insert(1, os.path.dirname(__file__))
178
170
 
179
- add_activation_listener(lambda dist: dist.activate())
180
- working_set.__init__()
181
- require(f"{ei_cmd.egg_name}=={ei_cmd.egg_version}")
171
+ importlib.invalidate_caches()
182
172
 
183
173
  def remove_from_sys_path(self):
184
- from pkg_resources import working_set
185
-
186
174
  sys.path[:] = self.__old_path
187
175
  sys.modules.clear()
188
176
  sys.modules.update(self.__old_modules)
189
- working_set.__init__()
177
+ importlib.invalidate_caches()
190
178
 
191
179
  def run(self):
192
180
  self.cleanup_environment()
@@ -235,7 +223,6 @@ Development Status :: 5 - Production/Stable
235
223
  Environment :: Console
236
224
  Environment :: MacOS X :: Cocoa
237
225
  Intended Audience :: Developers
238
- License :: OSI Approved :: MIT License
239
226
  Natural Language :: English
240
227
  Operating System :: MacOS :: MacOS X
241
228
  Programming Language :: Python
@@ -247,7 +234,9 @@ Programming Language :: Python :: 3.11
247
234
  Programming Language :: Python :: 3.12
248
235
  Programming Language :: Python :: 3.13
249
236
  Programming Language :: Python :: 3.14
237
+ Programming Language :: Python :: 3.15
250
238
  Programming Language :: Python :: Implementation :: CPython
239
+ Programming Language :: Python :: Free Threading :: 2 - Beta
251
240
  Programming Language :: Objective C
252
241
  Topic :: Software Development :: Libraries :: Python Modules
253
242
  Topic :: Software Development :: User Interfaces
@@ -450,28 +439,7 @@ class pyobjc_build_ext(build_ext.build_ext):
450
439
  # in 2.3 and later the headers are in the egg,
451
440
  # before that we ship a copy.
452
441
  if os.path.exists("Modules") and not os.path.isfile("Modules/pyobjc-api.h"):
453
- (dist,) = pkg_resources.require("pyobjc-core")
454
-
455
- include_root = os.path.join(self.build_temp, "pyobjc-include")
456
- if os.path.exists(include_root):
457
- shutil.rmtree(include_root)
458
-
459
- os.makedirs(include_root)
460
- if dist.has_metadata("include"):
461
- for fn in dist.metadata_listdir("include"):
462
- data = dist.get_metadata(f"include/{fn}")
463
- fp = open(os.path.join(include_root, fn), "w")
464
- try:
465
- fp.write(data)
466
- finally:
467
- fp.close()
468
-
469
- else:
470
- raise SystemExit("pyobjc-core egg-info does not include header files")
471
-
472
- for e in self.extensions:
473
- if include_root not in e.include_dirs:
474
- e.include_dirs.append(include_root)
442
+ raise DistutilsError("pyobjc-api.h not included")
475
443
 
476
444
  # Run the actual build
477
445
  build_ext.build_ext.run(self)
@@ -708,7 +676,7 @@ def setup(
708
676
  dependency_links=[],
709
677
  package_data={"": ["*.bridgesupport"]},
710
678
  zip_safe=False,
711
- license="MIT License",
679
+ license="MIT",
712
680
  classifiers=CLASSIFIERS,
713
681
  python_requires=">=3.9",
714
682
  keywords=["PyObjC"] + [p for p in k["packages"] if p not in ("PyObjCTools",)],
@@ -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 = "11.0"
18
+ VERSION = "12.0"
19
19
 
20
20
  setup(
21
21
  name="pyobjc-framework-SecurityFoundation",
@@ -1,3 +0,0 @@
1
- macOS 15.3 (24D5040f)
2
- Apple clang version 16.0.0 (clang-1600.0.26.6)
3
- SDK: macOS 15.2
@@ -1,3 +0,0 @@
1
- pyobjc-core>=11.0
2
- pyobjc-framework-Cocoa>=11.0
3
- pyobjc-framework-Security>=11.0
@@ -1 +0,0 @@
1
- """ testsuite """
@@ -1,36 +0,0 @@
1
- // objective.metadata exceptions file, see its document
2
- // for information on how to update this file.
3
- {
4
- "definitions": {
5
- "classes": {
6
- "SFAuthorization": {
7
- "methods": [
8
- {
9
- "selector": "obtainWithRight:flags:error:",
10
- "class_method": false,
11
- "retval": {
12
- "type_override": "Z"
13
- },
14
- "args": {
15
- "2": { "type_modifier": "o" }
16
- }
17
- },
18
- {
19
- "selector": "obtainWithRights:flags:environment:authorizedRights:error:",
20
- "class_method": false,
21
- "retval": {
22
- "type_override": "Z"
23
- },
24
- "args": {
25
- "3": { "type_modifier": "o" },
26
- "4": { "type_modifier": "o" }
27
- }
28
- }
29
- ]
30
- }
31
- },
32
- "formal_protocols": {},
33
- "functions": {},
34
- "informal_protocols": {}
35
- }
36
- }