The bindings for the Message and ServerNotification frameworks,
which were removed in macOS 10.9, will be removed in PyObjC 9.
Added bindings for ScreenCaptureKit (new in macOS 12.3)
Updated framework bindings for the macOS 12.3 SDK.
Based on Xcode 13.3 beta 3
Reverted a change in 8.3: It is once again not possible to
use the "is" operator to check if two proxies for an NSString
refer to the same Cocoa object.
The change in 8.3 changed long standng behaviour for mutable
strings and may have caused unintended problems.
#418: Added :class:typing.NewType definitions to the
various framework bindings for all enum types in Cocoa
(such as NSComparisonResult).
Using this it is now possible to annotate methods returning
such types, although it is not yet possible to type check
this.
For example:
.. sourcecode:: python
class MyObject(NSObject):
def compare_(self, other: NSObject) -> NSComparisonResult:
return NSOrderSame
The actual representation of enum types is provisional
and might change in the future.
#440: Added :class:typing.NewType definitions to the
various framework bindings for all NS_STRING_ENUM,
NS_TYPED_ENUM and NS_TYPED_EXTENSIBLE_ENUM types in Cocoa.
#432: Fix compatibility check when a class implements protocol NSObject.
The following code used to fail the protocol implementation check:
.. sourcecode:: python
class AppDelegate( Cocoa.NSObject, protocols=[objc.protocolNamed("NSApplicationDelegate")]):
pass
The bindings for the Message and ServerNotification frameworks,
which were removed in macOS 10.9, will be removed in PyObjC 9.
Added bindings for ScreenCaptureKit (new in macOS 12.3)
Updated framework bindings for the macOS 12.3 SDK.
Based on Xcode 13.3 beta 3
Reverted a change in 8.3: It is once again not possible to
use the "is" operator to check if two proxies for an NSString
refer to the same Cocoa object.
The change in 8.3 changed long standng behaviour for mutable
strings and may have caused unintended problems.
#418: Added :class:typing.NewType definitions to the
various framework bindings for all enum types in Cocoa
(such as NSComparisonResult).
Using this it is now possible to annotate methods returning
such types, although it is not yet possible to type check
this.
For example:
.. sourcecode:: python
class MyObject(NSObject):
def compare_(self, other: NSObject) -> NSComparisonResult:
return NSOrderSame
The actual representation of enum types is provisional
and might change in the future.
#440: Added :class:typing.NewType definitions to the
various framework bindings for all NS_STRING_ENUM,
NS_TYPED_ENUM and NS_TYPED_EXTENSIBLE_ENUM types in Cocoa.
#432: Fix compatibility check when a class implements protocol NSObject.
The following code used to fail the protocol implementation check:
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Bumps pyobjc-framework-cocoa from 7.3 to 8.4.
Release notes
Sourced from pyobjc-framework-cocoa's releases.
... (truncated)
Changelog
Sourced from pyobjc-framework-cocoa's changelog.
... (truncated)
Commits
0afee14
PyObjC 8.4 release148ef8f
Fix a number of test failures on macOS 10.135d9adbb
Fix test failures when building on a 10.13 host.b1fe520
Revert change in 8.3 that ensured the "is" operator works with NSString proxies.9496160
Temporarily disable test72b47dc
Workaround for CPython issue BPO-46903.4ced87e
Switch from distutils.sysconfig to sysconfig as the former is deprecated40d6f32
Ensure the GIL is held when calling the CPython APIea2be31
Fix exception handlingff514e9
Fix PyUnicode_Type invariant in pyobjc_unicode implementationDependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase
.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)