rbaron / catprinter

🐱🖨
MIT License
743 stars 54 forks source link

Bump pyobjc-framework-cocoa from 7.3 to 8.4 #30

Closed dependabot[bot] closed 2 years ago

dependabot[bot] commented 2 years ago

Bumps pyobjc-framework-cocoa from 7.3 to 8.4.

Release notes

Sourced from pyobjc-framework-cocoa's releases.

v8.4

  • 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

... (truncated)

Changelog

Sourced from pyobjc-framework-cocoa's changelog.

Version 8.4

  • .. note::

    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

... (truncated)

Commits
  • 0afee14 PyObjC 8.4 release
  • 148ef8f Fix a number of test failures on macOS 10.13
  • 5d9adbb 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 test
  • 72b47dc Workaround for CPython issue BPO-46903.
  • 4ced87e Switch from distutils.sysconfig to sysconfig as the former is deprecated
  • 40d6f32 Ensure the GIL is held when calling the CPython API
  • ea2be31 Fix exception handling
  • ff514e9 Fix PyUnicode_Type invariant in pyobjc_unicode implementation
  • Additional commits viewable in compare view


Dependabot compatibility score

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)
dependabot[bot] commented 2 years ago

Superseded by #34.