pyobjc-framework-FileProvider 11.0__tar.gz → 11.1__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.

Potentially problematic release.


This version of pyobjc-framework-FileProvider might be problematic. Click here for more details.

Files changed (52) hide show
  1. {pyobjc_framework_fileprovider-11.0 → pyobjc_framework_fileprovider-11.1}/Lib/FileProvider/_metadata.py +15 -1
  2. {pyobjc_framework_fileprovider-11.0 → pyobjc_framework_fileprovider-11.1}/Lib/pyobjc_framework_FileProvider.egg-info/PKG-INFO +17 -6
  3. {pyobjc_framework_fileprovider-11.0 → pyobjc_framework_fileprovider-11.1}/Lib/pyobjc_framework_FileProvider.egg-info/SOURCES.txt +3 -1
  4. pyobjc_framework_fileprovider-11.1/Lib/pyobjc_framework_FileProvider.egg-info/pyobjc-build-info.txt +3 -0
  5. pyobjc_framework_fileprovider-11.1/Lib/pyobjc_framework_FileProvider.egg-info/requires.txt +2 -0
  6. {pyobjc_framework_fileprovider-11.0 → pyobjc_framework_fileprovider-11.1}/License.txt +1 -1
  7. {pyobjc_framework_fileprovider-11.0 → pyobjc_framework_fileprovider-11.1}/Modules/pyobjc-compat.h +95 -2
  8. {pyobjc_framework_fileprovider-11.0 → pyobjc_framework_fileprovider-11.1}/PKG-INFO +17 -6
  9. pyobjc_framework_fileprovider-11.1/PyObjCTest/__init__.py +1 -0
  10. {pyobjc_framework_fileprovider-11.0 → pyobjc_framework_fileprovider-11.1}/PyObjCTest/test_nsfileprovidermanager.py +8 -0
  11. pyobjc_framework_fileprovider-11.1/metadata/raw/arm64-15.4.fwinfo +5606 -0
  12. pyobjc_framework_fileprovider-11.1/metadata/raw/x86_64-15.4.fwinfo +5606 -0
  13. {pyobjc_framework_fileprovider-11.0 → pyobjc_framework_fileprovider-11.1}/pyobjc_setup.py +7 -41
  14. {pyobjc_framework_fileprovider-11.0 → pyobjc_framework_fileprovider-11.1}/setup.py +1 -1
  15. pyobjc_framework_fileprovider-11.0/Lib/pyobjc_framework_FileProvider.egg-info/pyobjc-build-info.txt +0 -3
  16. pyobjc_framework_fileprovider-11.0/Lib/pyobjc_framework_FileProvider.egg-info/requires.txt +0 -2
  17. pyobjc_framework_fileprovider-11.0/PyObjCTest/__init__.py +0 -1
  18. {pyobjc_framework_fileprovider-11.0 → pyobjc_framework_fileprovider-11.1}/Lib/FileProvider/__init__.py +0 -0
  19. {pyobjc_framework_fileprovider-11.0 → pyobjc_framework_fileprovider-11.1}/Lib/pyobjc_framework_FileProvider.egg-info/dependency_links.txt +0 -0
  20. {pyobjc_framework_fileprovider-11.0 → pyobjc_framework_fileprovider-11.1}/Lib/pyobjc_framework_FileProvider.egg-info/not-zip-safe +0 -0
  21. {pyobjc_framework_fileprovider-11.0 → pyobjc_framework_fileprovider-11.1}/Lib/pyobjc_framework_FileProvider.egg-info/top_level.txt +0 -0
  22. {pyobjc_framework_fileprovider-11.0 → pyobjc_framework_fileprovider-11.1}/MANIFEST.in +0 -0
  23. {pyobjc_framework_fileprovider-11.0 → pyobjc_framework_fileprovider-11.1}/Modules/_FileProvider.m +0 -0
  24. {pyobjc_framework_fileprovider-11.0 → pyobjc_framework_fileprovider-11.1}/Modules/_FileProvider_protocols.m +0 -0
  25. {pyobjc_framework_fileprovider-11.0 → pyobjc_framework_fileprovider-11.1}/Modules/pyobjc-api.h +0 -0
  26. {pyobjc_framework_fileprovider-11.0 → pyobjc_framework_fileprovider-11.1}/PyObjCTest/test_fileprovider.py +0 -0
  27. {pyobjc_framework_fileprovider-11.0 → pyobjc_framework_fileprovider-11.1}/PyObjCTest/test_nsfileprovideractions.py +0 -0
  28. {pyobjc_framework_fileprovider-11.0 → pyobjc_framework_fileprovider-11.1}/PyObjCTest/test_nsfileproviderdomain.py +0 -0
  29. {pyobjc_framework_fileprovider-11.0 → pyobjc_framework_fileprovider-11.1}/PyObjCTest/test_nsfileproviderenumerating.py +0 -0
  30. {pyobjc_framework_fileprovider-11.0 → pyobjc_framework_fileprovider-11.1}/PyObjCTest/test_nsfileprovidererror.py +0 -0
  31. {pyobjc_framework_fileprovider-11.0 → pyobjc_framework_fileprovider-11.1}/PyObjCTest/test_nsfileproviderextension.py +0 -0
  32. {pyobjc_framework_fileprovider-11.0 → pyobjc_framework_fileprovider-11.1}/PyObjCTest/test_nsfileprovideritem.py +0 -0
  33. {pyobjc_framework_fileprovider-11.0 → pyobjc_framework_fileprovider-11.1}/PyObjCTest/test_nsfileprovideritemdecoration.py +0 -0
  34. {pyobjc_framework_fileprovider-11.0 → pyobjc_framework_fileprovider-11.1}/PyObjCTest/test_nsfileproviderknownfolders.py +0 -0
  35. {pyobjc_framework_fileprovider-11.0 → pyobjc_framework_fileprovider-11.1}/PyObjCTest/test_nsfileproviderreplicatedextension.py +0 -0
  36. {pyobjc_framework_fileprovider-11.0 → pyobjc_framework_fileprovider-11.1}/PyObjCTest/test_nsfileproviderrequest.py +0 -0
  37. {pyobjc_framework_fileprovider-11.0 → pyobjc_framework_fileprovider-11.1}/PyObjCTest/test_nsfileproviderservice.py +0 -0
  38. {pyobjc_framework_fileprovider-11.0 → pyobjc_framework_fileprovider-11.1}/PyObjCTest/test_nsfileprovidertesting.py +0 -0
  39. {pyobjc_framework_fileprovider-11.0 → pyobjc_framework_fileprovider-11.1}/PyObjCTest/test_nsfileproviderthumbnailing.py +0 -0
  40. {pyobjc_framework_fileprovider-11.0 → pyobjc_framework_fileprovider-11.1}/metadata/FileProvider.fwinfo +0 -0
  41. {pyobjc_framework_fileprovider-11.0 → pyobjc_framework_fileprovider-11.1}/metadata/metadata.ini +0 -0
  42. {pyobjc_framework_fileprovider-11.0 → pyobjc_framework_fileprovider-11.1}/metadata/raw/arm64-12.3.fwinfo +0 -0
  43. {pyobjc_framework_fileprovider-11.0 → pyobjc_framework_fileprovider-11.1}/metadata/raw/arm64-13.3.fwinfo +0 -0
  44. {pyobjc_framework_fileprovider-11.0 → pyobjc_framework_fileprovider-11.1}/metadata/raw/arm64-14.5.fwinfo +0 -0
  45. {pyobjc_framework_fileprovider-11.0 → pyobjc_framework_fileprovider-11.1}/metadata/raw/arm64-15.0.fwinfo +0 -0
  46. {pyobjc_framework_fileprovider-11.0 → pyobjc_framework_fileprovider-11.1}/metadata/raw/x86_64-10.16.fwinfo +0 -0
  47. {pyobjc_framework_fileprovider-11.0 → pyobjc_framework_fileprovider-11.1}/metadata/raw/x86_64-12.3.fwinfo +0 -0
  48. {pyobjc_framework_fileprovider-11.0 → pyobjc_framework_fileprovider-11.1}/metadata/raw/x86_64-13.3.fwinfo +0 -0
  49. {pyobjc_framework_fileprovider-11.0 → pyobjc_framework_fileprovider-11.1}/metadata/raw/x86_64-14.5.fwinfo +0 -0
  50. {pyobjc_framework_fileprovider-11.0 → pyobjc_framework_fileprovider-11.1}/metadata/raw/x86_64-15.0.fwinfo +0 -0
  51. {pyobjc_framework_fileprovider-11.0 → pyobjc_framework_fileprovider-11.1}/pyproject.toml +0 -0
  52. {pyobjc_framework_fileprovider-11.0 → pyobjc_framework_fileprovider-11.1}/setup.cfg +0 -0
@@ -1,6 +1,6 @@
1
1
  # This file is generated by objective.metadata
2
2
  #
3
- # Last update: Wed Jun 19 17:01:54 2024
3
+ # Last update: Sat Mar 8 10:37:18 2025
4
4
  #
5
5
  # flake8: noqa
6
6
 
@@ -799,6 +799,20 @@ try:
799
799
  }
800
800
  },
801
801
  )
802
+ r(
803
+ b"NSFileProviderManager",
804
+ b"requestDiagnosticCollectionForItemWithIdentifier:errorReason:completionHandler:",
805
+ {
806
+ "arguments": {
807
+ 4: {
808
+ "callable": {
809
+ "retval": {"type": b"v"},
810
+ "arguments": {0: {"type": b"^v"}, 1: {"type": b"@"}},
811
+ }
812
+ }
813
+ }
814
+ },
815
+ )
802
816
  r(
803
817
  b"NSFileProviderManager",
804
818
  b"requestDownloadForItemWithIdentifier:requestedRange:completionHandler:",
@@ -1,18 +1,17 @@
1
- Metadata-Version: 2.1
1
+ Metadata-Version: 2.4
2
2
  Name: pyobjc-framework-FileProvider
3
- Version: 11.0
3
+ Version: 11.1
4
4
  Summary: Wrappers for the framework FileProvider 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,FileProvider
10
10
  Platform: MacOS X (>=10.15)
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
@@ -30,8 +29,20 @@ Classifier: Topic :: Software Development :: Libraries :: Python Modules
30
29
  Classifier: Topic :: Software Development :: User Interfaces
31
30
  Requires-Python: >=3.9
32
31
  Description-Content-Type: text/x-rst; charset=UTF-8
33
- Requires-Dist: pyobjc-core>=11.0
34
- Requires-Dist: pyobjc-framework-Cocoa>=11.0
32
+ Requires-Dist: pyobjc-core>=11.1
33
+ Requires-Dist: pyobjc-framework-Cocoa>=11.1
34
+ Dynamic: author
35
+ Dynamic: author-email
36
+ Dynamic: classifier
37
+ Dynamic: description
38
+ Dynamic: description-content-type
39
+ Dynamic: home-page
40
+ Dynamic: keywords
41
+ Dynamic: license
42
+ Dynamic: platform
43
+ Dynamic: requires-dist
44
+ Dynamic: requires-python
45
+ Dynamic: summary
35
46
  Project-URL: Documentation, https://pyobjc.readthedocs.io/en/latest/
36
47
  Project-URL: Issue tracker, https://github.com/ronaldoussoren/pyobjc/issues
37
48
  Project-URL: Repository, https://github.com/ronaldoussoren/pyobjc
@@ -38,8 +38,10 @@ metadata/raw/arm64-12.3.fwinfo
38
38
  metadata/raw/arm64-13.3.fwinfo
39
39
  metadata/raw/arm64-14.5.fwinfo
40
40
  metadata/raw/arm64-15.0.fwinfo
41
+ metadata/raw/arm64-15.4.fwinfo
41
42
  metadata/raw/x86_64-10.16.fwinfo
42
43
  metadata/raw/x86_64-12.3.fwinfo
43
44
  metadata/raw/x86_64-13.3.fwinfo
44
45
  metadata/raw/x86_64-14.5.fwinfo
45
- metadata/raw/x86_64-15.0.fwinfo
46
+ metadata/raw/x86_64-15.0.fwinfo
47
+ metadata/raw/x86_64-15.4.fwinfo
@@ -0,0 +1,3 @@
1
+ macOS 15.5 (24F74)
2
+ Apple clang version 17.0.0 (clang-1700.0.13.5)
3
+ SDK: macOS 15.5
@@ -0,0 +1,2 @@
1
+ pyobjc-core>=11.1
2
+ pyobjc-framework-Cocoa>=11.1
@@ -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
 
@@ -179,7 +179,7 @@ extern const char* _Nullable PyObjC_Unicode_Fast_Bytes(PyObject* object);
179
179
 
180
180
  static inline PyObject* _Nullable* _Nonnull PyTuple_ITEMS(PyObject* tuple)
181
181
  {
182
- return &PyTuple_GET_ITEM(tuple, 0);
182
+ return &PyTuple_GET_ITEM(tuple, 0); // LCOV_BR_EXCL_LINE
183
183
  }
184
184
 
185
185
  /* This is a crude hack to disable a otherwise useful warning in the context of
@@ -198,7 +198,7 @@ _PyObjCTuple_SetItem(PyObject* tuple, Py_ssize_t idx, PyObject* _Nullable value)
198
198
  static inline PyObject*
199
199
  _PyObjCTuple_GetItem(PyObject* tuple, Py_ssize_t idx)
200
200
  {
201
- return PyTuple_GET_ITEM(tuple, idx);
201
+ return PyTuple_GET_ITEM(tuple, idx); // LCOV_BR_EXCL_LINE
202
202
  }
203
203
  #undef PyTuple_GET_ITEM
204
204
  #define PyTuple_GET_ITEM(a, b) _PyObjCTuple_GetItem(a, b)
@@ -314,6 +314,99 @@ static inline PyObject* PyType_GetDict(PyTypeObject* type)
314
314
  }
315
315
  #endif
316
316
 
317
+ #if PY_VERSION_HEX >= 0x030c0000 && PY_VERSION_HEX < 0x030e0000
318
+ /*
319
+ * These are available in 3.14 and above, the definitions below
320
+ * mirror the private implementation in 3.13.
321
+ */
322
+ static inline int PyUnstable_Object_IsUniquelyReferenced(PyObject* ob)
323
+ {
324
+ #ifdef Py_GIL_DISABLED
325
+ return (_Py_IsOwnedByCurrentThread(ob) &&
326
+ _Py_atomic_load_uint32_relaxed(&ob->ob_ref_local) == 1 &&
327
+ _Py_atomic_load_ssize_relaxed(&ob->ob_ref_shared) == 0);
328
+ #else
329
+ return Py_REFCNT(ob) == 1;
330
+ #endif
331
+ }
332
+
333
+ static inline void
334
+ PyUnstable_EnableTryIncRef(PyObject* op __attribute__((__unused__)))
335
+ {
336
+ #ifdef Py_GIL_DISABLED
337
+ for (;;) {
338
+ Py_ssize_t shared = _Py_atomic_load_ssize_relaxed(&op->ob_ref_shared);
339
+ if ((shared & _Py_REF_SHARED_FLAG_MASK) != 0) {
340
+ // Nothing to do if it's in WEAKREFS, QUEUED, or MERGED states.
341
+ return;
342
+ }
343
+ if (_Py_atomic_compare_exchange_ssize(
344
+ &op->ob_ref_shared, &shared, shared | _Py_REF_MAYBE_WEAKREF)) {
345
+ return;
346
+ }
347
+ }
348
+ #endif
349
+ }
350
+
351
+ #ifdef Py_GIL_DISABLED
352
+ static inline int
353
+ _Py_TryIncrefFast(PyObject *op) {
354
+ uint32_t local = _Py_atomic_load_uint32_relaxed(&op->ob_ref_local);
355
+ local += 1;
356
+ if (local == 0) {
357
+ // immortal
358
+ return 1;
359
+ }
360
+ if (_Py_IsOwnedByCurrentThread(op)) {
361
+ _Py_INCREF_STAT_INC();
362
+ _Py_atomic_store_uint32_relaxed(&op->ob_ref_local, local);
363
+ #ifdef Py_REF_DEBUG
364
+ _Py_IncRefTotal(_PyThreadState_GET());
365
+ #endif
366
+ return 1;
367
+ }
368
+ return 0;
369
+ }
370
+
371
+ static inline int
372
+ _Py_TryIncRefShared(PyObject *op)
373
+ {
374
+ Py_ssize_t shared = _Py_atomic_load_ssize_relaxed(&op->ob_ref_shared);
375
+ for (;;) {
376
+ // If the shared refcount is zero and the object is either merged
377
+ // or may not have weak references, then we cannot incref it.
378
+ if (shared == 0 || shared == _Py_REF_MERGED) {
379
+ return 0;
380
+ }
381
+
382
+ if (_Py_atomic_compare_exchange_ssize(
383
+ &op->ob_ref_shared,
384
+ &shared,
385
+ shared + (1 << _Py_REF_SHARED_SHIFT))) {
386
+ #ifdef Py_REF_DEBUG
387
+ _Py_IncRefTotal(_PyThreadState_GET());
388
+ #endif
389
+ _Py_INCREF_STAT_INC();
390
+ return 1;
391
+ }
392
+ }
393
+ }
394
+ #endif
395
+
396
+ static inline int
397
+ PyUnstable_TryIncRef(PyObject *op __attribute__((__unused__)))
398
+ {
399
+ #ifdef Py_GIL_DISABLED
400
+ return _Py_TryIncrefFast(op) || _Py_TryIncRefShared(op);
401
+ #else
402
+ if (Py_REFCNT(op) > 0) {
403
+ Py_INCREF(op);
404
+ return 1;
405
+ }
406
+ return 0;
407
+ #endif
408
+ }
409
+ #endif
317
410
 
318
411
  NS_ASSUME_NONNULL_END
319
412
 
@@ -1,18 +1,17 @@
1
- Metadata-Version: 2.1
1
+ Metadata-Version: 2.4
2
2
  Name: pyobjc-framework-FileProvider
3
- Version: 11.0
3
+ Version: 11.1
4
4
  Summary: Wrappers for the framework FileProvider 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,FileProvider
10
10
  Platform: MacOS X (>=10.15)
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
@@ -30,8 +29,20 @@ Classifier: Topic :: Software Development :: Libraries :: Python Modules
30
29
  Classifier: Topic :: Software Development :: User Interfaces
31
30
  Requires-Python: >=3.9
32
31
  Description-Content-Type: text/x-rst; charset=UTF-8
33
- Requires-Dist: pyobjc-core>=11.0
34
- Requires-Dist: pyobjc-framework-Cocoa>=11.0
32
+ Requires-Dist: pyobjc-core>=11.1
33
+ Requires-Dist: pyobjc-framework-Cocoa>=11.1
34
+ Dynamic: author
35
+ Dynamic: author-email
36
+ Dynamic: classifier
37
+ Dynamic: description
38
+ Dynamic: description-content-type
39
+ Dynamic: home-page
40
+ Dynamic: keywords
41
+ Dynamic: license
42
+ Dynamic: platform
43
+ Dynamic: requires-dist
44
+ Dynamic: requires-python
45
+ Dynamic: summary
35
46
 
36
47
 
37
48
  Wrappers for the "FileProvider" framework on macOS.
@@ -0,0 +1 @@
1
+ """testsuite"""
@@ -173,6 +173,14 @@ class TestNSFileProviderManager(TestCase):
173
173
  3,
174
174
  )
175
175
 
176
+ @min_os_level("15.4")
177
+ def test_methods15_4(self):
178
+ self.assertArgIsBlock(
179
+ FileProvider.NSFileProviderManager.requestDiagnosticCollectionForItemWithIdentifier_errorReason_completionHandler_,
180
+ 2,
181
+ b"v@",
182
+ )
183
+
176
184
  @min_sdk_level("11.3")
177
185
  def test_protocols(self):
178
186
  self.assertProtocolExists("NSFileProviderPendingSetEnumerator")