Pyobjc

Latest version: v10.2

Safety actively analyzes 628903 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 3 of 7

6.2.1

* Issue 299: Ensure package 'pyobjc' won't try to build the PubSub bindings on macOS 10.15

Reported by Thomas Buchberger

* Minor tweaks to build and pass tests on macOS 10.14 with the latest Xcode
that can be installed on that version of macOS.

* Issue 300: Fix SystemError in block edge case

PyObjC raised a SystemError when converting a callable into
an ObjC block when the callable is a bound method without
positional arguments.

* Issue 275: Fix crash on catalina caused by writing to read-only memory.

Patch by Dan Villiom Podlaski Christiansen

* PR 302: Make sure the SDK detection works when the version is not in the SDK name

Patch by Joshua Root

* There were no SDK updates in Xcode 11.5 and Xcode 11.6 (beta)

6.2

* The project has moved from Bitbucket to Github

* Remove most remnants of Python 2 support

* Clean up code quality issues found using flake8

* Add pre-commit hook to run black on all Python code.

* 290: Fix protocol conformance testing when explicitly implementing a protocol

Before this bugfix a class explicitly conforming to a protocol could not
implement any method that wasn't declared in the protocol, the bridge would
erroneously raise an exception when checking the additional method.

Issue reported by Georg Seifert.

* 289: Fix Python 3 issues in ``PyObjCTools.Conversion``

Reported by vinolin asokan.

* ``PyObjCTools.Conversio.propertyListFromPythonCollection`` didn't
recursively convert members of lists and tuples.

* ``PyObjCTools.Conversio.propertyListFromPythonCollection`` and
``PyObjCTools.Conversio.pythonCollectionFromPropertyList`` now
support sets.

* Update metadata for Xcode 11.4 (beta 2)

* Added bindings for framework ``AutomaticAssessmentConfiguration.framework``
introduced in macOS 10.15.4

* 298: In some cases the compiler uses the type encoding "^{NSObject=}"
instead of "".

Reported by Georg Seifert.

* 264: Added bindings for the Metal framework (new in macOS 10.11)

* Most framework bindings now use the limited ABI for the included C extensions,
reducing the number of wheels that are needed. The exception are
the bindings for Cocoa, Quartz and libdispatch, those use functionality not
available in the limited ABI.

The bridge itself (pyobjc-core) still uses the full CPython API.

The CoreAudio bindings also don't use the limited ABI for now, those
need more work to work with that ABI.

6.1

* Updated for the macOS 10.15.1 SDK (Xcode 11.2)

* Fix reference counting in -[OC_PythonData length], which resulted
in use-after-free.

* 281: Fix problems found in pyobjc-core by the clang static analyser

6.0.1

* 277: Remove debug print accidently left in production

* 278: Surpress "-Wunguarded-availability" warnings in the extension
AppKit._inlines

6.0

* Removed Python 2 support from the C extension in pyobjc-core

* Reformatted code in pyobjc-core:

- Use "black" for Python code
- Use "clang-format" for Objective-C code

As a side-effect of this all usage of "NS_DURING" and "PyObjC_DURING"
has been replaced by the expansion of those macros, mostly because
"clang-format" doesn't understand these kinds of blocks.

Replacing "PyObjC_DURING" by its expansion also reduces the knowledge
needed to understand what's going on w.r.t. the Python GIL.

The macro "PyObjC_DURING", and its siblings, have been removed as well.

* Updated bindings for macOS 10.15 (Xcode 11.0)

* The userspace driver frameworks introduced in macOS 10.15
(DriverKit and related frameworks) will not be exposed through
PyObjC. Please let me know if you have a good
use case for using these frameworks with Python.

* Add new framework wrappers for all other new frameworks
in macOS 10.15:

- AuthenticationServices
- CoreHaptics
- CoreMotion
- DeviceCheck
- ExecutionPolicy
- FileProvider
- FileProviderUI
- LinkPresentation
- OSLog
- PencilKit
- PushKit
- QuickLookThumbnailing
- Speech
- SoundAnalysis
- SystemExtensions

* Add new framework wrappers for a number of older
frameworks:

- MetalKit (new in macOS 10.11)

* Issue 271: Fix crash when creating NSData objects on macOS 10.15

5.3

* PR 21: Switch xcodebuild invocation to xcrun for sdk path

Patch by Clément Bouvier

* 271: Fix crash when creating NSData objects on macOS 10.15

* Fix compile error on macOS 10.15

Page 3 of 7

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.