pyobjc-framework-Accounts 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 (29) hide show
  1. {pyobjc_framework_accounts-12.2.2 → pyobjc_framework_accounts-13.0}/Lib/Accounts/_metadata.py +0 -2
  2. {pyobjc_framework_accounts-12.2.2 → pyobjc_framework_accounts-13.0}/Lib/pyobjc_framework_Accounts.egg-info/PKG-INFO +5 -5
  3. {pyobjc_framework_accounts-12.2.2 → pyobjc_framework_accounts-13.0}/Lib/pyobjc_framework_Accounts.egg-info/SOURCES.txt +2 -2
  4. pyobjc_framework_accounts-13.0/Lib/pyobjc_framework_Accounts.egg-info/pyobjc-build-info.txt +3 -0
  5. pyobjc_framework_accounts-13.0/Lib/pyobjc_framework_Accounts.egg-info/requires.txt +2 -0
  6. {pyobjc_framework_accounts-12.2.2 → pyobjc_framework_accounts-13.0}/PKG-INFO +5 -5
  7. {pyobjc_framework_accounts-12.2.2 → pyobjc_framework_accounts-13.0}/PyObjCTest/test_acaccountstore.py +7 -9
  8. {pyobjc_framework_accounts-12.2.2 → pyobjc_framework_accounts-13.0}/PyObjCTest/test_acaccounttype.py +3 -7
  9. {pyobjc_framework_accounts-12.2.2 → pyobjc_framework_accounts-13.0}/PyObjCTest/test_acerror.py +2 -5
  10. {pyobjc_framework_accounts-12.2.2 → pyobjc_framework_accounts-13.0}/metadata/Accounts.fwinfo +1 -13
  11. pyobjc_framework_accounts-12.2.2/metadata/raw/arm64-26.5.fwinfo → pyobjc_framework_accounts-13.0/metadata/raw/arm64-27.fwinfo +2 -3
  12. pyobjc_framework_accounts-12.2.2/metadata/raw/x86_64-26.5.fwinfo → pyobjc_framework_accounts-13.0/metadata/raw/x86_64-27.fwinfo +2 -3
  13. {pyobjc_framework_accounts-12.2.2 → pyobjc_framework_accounts-13.0}/pyobjc_setup.py +7 -7
  14. {pyobjc_framework_accounts-12.2.2 → pyobjc_framework_accounts-13.0}/setup.py +1 -1
  15. pyobjc_framework_accounts-12.2.2/Lib/pyobjc_framework_Accounts.egg-info/pyobjc-build-info.txt +0 -3
  16. pyobjc_framework_accounts-12.2.2/Lib/pyobjc_framework_Accounts.egg-info/requires.txt +0 -2
  17. {pyobjc_framework_accounts-12.2.2 → pyobjc_framework_accounts-13.0}/Examples/demo.py +0 -0
  18. {pyobjc_framework_accounts-12.2.2 → pyobjc_framework_accounts-13.0}/LICENSE.txt +0 -0
  19. {pyobjc_framework_accounts-12.2.2 → pyobjc_framework_accounts-13.0}/Lib/Accounts/__init__.py +0 -0
  20. {pyobjc_framework_accounts-12.2.2 → pyobjc_framework_accounts-13.0}/Lib/pyobjc_framework_Accounts.egg-info/dependency_links.txt +0 -0
  21. {pyobjc_framework_accounts-12.2.2 → pyobjc_framework_accounts-13.0}/Lib/pyobjc_framework_Accounts.egg-info/not-zip-safe +0 -0
  22. {pyobjc_framework_accounts-12.2.2 → pyobjc_framework_accounts-13.0}/Lib/pyobjc_framework_Accounts.egg-info/top_level.txt +0 -0
  23. {pyobjc_framework_accounts-12.2.2 → pyobjc_framework_accounts-13.0}/MANIFEST.in +0 -0
  24. {pyobjc_framework_accounts-12.2.2 → pyobjc_framework_accounts-13.0}/PyObjCTest/__init__.py +0 -0
  25. {pyobjc_framework_accounts-12.2.2 → pyobjc_framework_accounts-13.0}/PyObjCTest/test_accounts.py +0 -0
  26. {pyobjc_framework_accounts-12.2.2 → pyobjc_framework_accounts-13.0}/README.txt +0 -0
  27. {pyobjc_framework_accounts-12.2.2 → pyobjc_framework_accounts-13.0}/metadata/metadata.ini +0 -0
  28. {pyobjc_framework_accounts-12.2.2 → pyobjc_framework_accounts-13.0}/pyproject.toml +0 -0
  29. {pyobjc_framework_accounts-12.2.2 → pyobjc_framework_accounts-13.0}/setup.cfg +0 -0
@@ -1,7 +1,5 @@
1
1
  # This file is generated by objective.metadata
2
2
  #
3
- # Last update: Tue May 26 19:33:59 2026
4
- #
5
3
  # flake8: noqa
6
4
 
7
5
  import objc, sys
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: pyobjc-framework-Accounts
3
- Version: 12.2.2
3
+ Version: 13.0
4
4
  Summary: Wrappers for the framework Accounts on macOS
5
5
  Home-page: https://github.com/ronaldoussoren/pyobjc
6
6
  Author: Ronald Oussoren
@@ -17,22 +17,22 @@ 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
33
  License-File: LICENSE.txt
34
- Requires-Dist: pyobjc-core>=12.2.2
35
- Requires-Dist: pyobjc-framework-Cocoa>=12.2.2
34
+ Requires-Dist: pyobjc-core>=13.0
35
+ Requires-Dist: pyobjc-framework-Cocoa>=13.0
36
36
  Dynamic: author
37
37
  Dynamic: author-email
38
38
  Dynamic: classifier
@@ -21,5 +21,5 @@ PyObjCTest/test_accounts.py
21
21
  PyObjCTest/test_acerror.py
22
22
  metadata/Accounts.fwinfo
23
23
  metadata/metadata.ini
24
- metadata/raw/arm64-26.5.fwinfo
25
- metadata/raw/x86_64-26.5.fwinfo
24
+ metadata/raw/arm64-27.fwinfo
25
+ 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-Accounts
3
- Version: 12.2.2
3
+ Version: 13.0
4
4
  Summary: Wrappers for the framework Accounts on macOS
5
5
  Home-page: https://github.com/ronaldoussoren/pyobjc
6
6
  Author: Ronald Oussoren
@@ -17,22 +17,22 @@ 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
33
  License-File: LICENSE.txt
34
- Requires-Dist: pyobjc-core>=12.2.2
35
- Requires-Dist: pyobjc-framework-Cocoa>=12.2.2
34
+ Requires-Dist: pyobjc-core>=13.0
35
+ Requires-Dist: pyobjc-framework-Cocoa>=13.0
36
36
  Dynamic: author
37
37
  Dynamic: author-email
38
38
  Dynamic: classifier
@@ -1,4 +1,4 @@
1
- from PyObjCTools.TestSupport import TestCase, min_os_level
1
+ from PyObjCTools.TestSupport import TestCase
2
2
  import Accounts
3
3
  import objc
4
4
 
@@ -9,19 +9,17 @@ ACAccountStoreCredentialRenewalHandler = b"v" + objc._C_NSInteger + b"@"
9
9
 
10
10
 
11
11
  class TestACAccountStore(TestCase):
12
- def test_enum_types(self):
12
+ def test_enums(self):
13
13
  self.assertIsEnumType(Accounts.ACAccountCredentialRenewResult)
14
-
15
- @min_os_level("10.8")
16
- def testConstants(self):
17
- self.assertHasAttr(Accounts, "ACAccountStoreDidChangeNotification")
18
- self.assertIsInstance(Accounts.ACAccountStoreDidChangeNotification, str)
19
-
20
14
  self.assertEqual(Accounts.ACAccountCredentialRenewResultRenewed, 0)
21
15
  self.assertEqual(Accounts.ACAccountCredentialRenewResultRejected, 1)
22
16
  self.assertEqual(Accounts.ACAccountCredentialRenewResultFailed, 2)
23
17
 
24
- def testMethods(self):
18
+ def test_constants(self):
19
+ self.assertHasAttr(Accounts, "ACAccountStoreDidChangeNotification")
20
+ self.assertIsInstance(Accounts.ACAccountStoreDidChangeNotification, str)
21
+
22
+ def test_methods(self):
25
23
  self.assertArgIsBlock(
26
24
  Accounts.ACAccountStore.saveAccount_withCompletionHandler_,
27
25
  1,
@@ -1,18 +1,15 @@
1
- from PyObjCTools.TestSupport import TestCase, min_os_level
1
+ from PyObjCTools.TestSupport import TestCase
2
2
  import Accounts
3
3
 
4
4
 
5
5
  class TestACAccountType(TestCase):
6
- @min_os_level("10.9")
7
- def testConstants10_9(self):
6
+ def test_constants(self):
8
7
  self.assertIsInstance(Accounts.ACAccountTypeIdentifierLinkedIn, str)
9
8
  self.assertIsInstance(Accounts.ACAccountTypeIdentifierTencentWeibo, str)
10
9
  self.assertIsInstance(Accounts.ACLinkedInAppIdKey, str)
11
10
  self.assertIsInstance(Accounts.ACLinkedInPermissionsKey, str)
12
11
  self.assertIsInstance(Accounts.ACTencentWeiboAppIdKey, str)
13
12
 
14
- @min_os_level("10.8")
15
- def testConstants(self):
16
13
  self.assertIsInstance(Accounts.ACAccountTypeIdentifierTwitter, str)
17
14
  self.assertIsInstance(Accounts.ACAccountTypeIdentifierSinaWeibo, str)
18
15
  self.assertIsInstance(Accounts.ACFacebookAppIdKey, str)
@@ -22,6 +19,5 @@ class TestACAccountType(TestCase):
22
19
  self.assertIsInstance(Accounts.ACFacebookAudienceFriends, str)
23
20
  self.assertIsInstance(Accounts.ACFacebookAudienceOnlyMe, str)
24
21
 
25
- @min_os_level("10.8")
26
- def testMethods(self):
22
+ def test_methods(self):
27
23
  self.assertResultIsBOOL(Accounts.ACAccountType.accessGranted)
@@ -1,10 +1,9 @@
1
- from PyObjCTools.TestSupport import TestCase, min_os_level
1
+ from PyObjCTools.TestSupport import TestCase
2
2
  import Accounts
3
3
 
4
4
 
5
5
  class TestACError(TestCase):
6
- @min_os_level("10.9")
7
- def testConstants10_9(self):
6
+ def test_constants(self):
8
7
  self.assertEqual(Accounts.ACErrorAccessDeniedByProtectionPolicy, 10)
9
8
  self.assertEqual(Accounts.ACErrorClientPermissionDenied, 9)
10
9
  self.assertEqual(Accounts.ACErrorCredentialNotFound, 11)
@@ -21,8 +20,6 @@ class TestACError(TestCase):
21
20
  self.assertEqual(Accounts.ACErrorCredentialItemNotFound, 22)
22
21
  self.assertEqual(Accounts.ACErrorCredentialItemNotExpired, 23)
23
22
 
24
- @min_os_level("10.8")
25
- def testConstants(self):
26
23
  self.assertIsInstance(Accounts.ACErrorDomain, str)
27
24
 
28
25
  self.assertEqual(Accounts.ACErrorUnknown, 1)
@@ -2,15 +2,6 @@
2
2
  # for information on how to update this file.
3
3
  {
4
4
  "definitions": {
5
- "enum": {
6
- "ACErrorDeniedByPlugin": { "value": 17 },
7
- "ACErrorCoreDataSaveFailed": { "value": 18 },
8
- "ACErrorFailedSerializingAccountInfo": { "value": 19 },
9
- "ACErrorInvalidCommand": { "value": 20 },
10
- "ACErrorMissingTransportMessageID": { "value": 21 },
11
- "ACErrorCredentialItemNotFound": { "value": 22 },
12
- "ACErrorCredentialItemNotExpired": { "value": 23 }
13
- },
14
5
  "classes": {
15
6
  "ACAccountStore": {
16
7
  "methods": [
@@ -96,9 +87,6 @@
96
87
  }
97
88
  ]
98
89
  }
99
- },
100
- "formal_protocols": {},
101
- "functions": {},
102
- "informal_protocols": {}
90
+ }
103
91
  }
104
92
  }
@@ -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:41:37 2026
5
4
  {
6
5
  "arch": "arm64",
7
6
  "definitions": {
@@ -1029,6 +1028,6 @@
1029
1028
  "ACError.h",
1030
1029
  "AccountsDefines.h"
1031
1030
  ],
1032
- "release": "26.5",
1033
- "sdk": "/Users/ronald/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX26.5.sdk"
1031
+ "release": "macOS 27.2",
1032
+ "sdk": "Xcode 27.2 (27B5038i)/MacOSX27.sdk"
1034
1033
  }
@@ -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:41:35 2026
5
4
  {
6
5
  "arch": "x86_64",
7
6
  "definitions": {
@@ -1029,6 +1028,6 @@
1029
1028
  "ACError.h",
1030
1029
  "AccountsDefines.h"
1031
1030
  ],
1032
- "release": "26.5",
1033
- "sdk": "/Users/ronald/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX26.5.sdk"
1031
+ "release": "macOS 27.2",
1032
+ "sdk": "Xcode 27.2 (27B5038i)/MacOSX27.sdk"
1034
1033
  }
@@ -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-Accounts",
@@ -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