RSSAmplifier

Blog

Ronald Oussoren

blog.ronaldoussoren.netRSS feed ↗25 posts

Latest posts

(untitled)

I’ve released #PyObjC 12.2.2. This release can be build with Xcode 27 and the Python 3.15 wheels where build with 3.15rc1.

(untitled)

I’ve uploaded #pyobjc 12.2.1 to PyPI with a number of small bugfixes. The most important of which is that the bindings for the Network framework now work on macOS 26. See the changelog for the full details.

(untitled)

I’ve uploaded #pyobjc 12.2 to PyPI. This fixes a number of bugs, contains updates for the macOS 26.5 SDK and includes wheels for Python 3.15. See the changelog for the full list of changes.

(untitled)

I’ve uploaded a new version of py2app to PyPI that fixes incompatibilities with setuptools 82.

(untitled)

Over the last week I’ve pushed out new released of altgraph, modulegraph, macholib, objectgraph, modulegraph2 and finally py2app. These versions now work with Python 3.14, and are prepared for the pending removal of pkg_resources from setuptools.

(untitled)

I’ve uploaded PyObjC 12.1 to PyPI. This primarily contains support for new APIs in macOS 26.1. Due to an incorrect “python_requires” value I’ve yanked the 12.0 release of pyobjc and pyobjc-core .

(untitled)

I’ve uploaded PyObjC 12 to PyPI. This release adds support for API’s introduced in the macOS 26 SDK, drops support for Python 3.9 and fixes a number of bugs. See the changelog for more information.

ANN: PyObjC 11.1

I’ve uploaded PyObjC 11.1 to PyPI. This release has support for APIs introduced in the macOS 15.5 SDK, and has improved support for free-threading. The major change in this release is that PyObjC’s automatic management of Objective-C reference counts now closer matches the semantics used by clang’s ARC. This has some user visible consequences in edge cases, but that should not…

Fun with reference counts

I’m having some type 2 fun with PyObjC while bringing its updates of reference counts closer to the patterns used by ARC. Objective-C using reference counting for memory management, similar to CPython. In modern code bases (and when using Swift) the compiler does this for you (“ARC”), but PyObjC still uses manual updates of the reference counts. PyObjC used CFRetain and CFRelease…

ANN: PyObjC 11, now with less GIL

I’m happy to announce the 11.0 release of PyObjC, slightly delayed from the normal major release in October. This release has two major features: Support for the macOS 15.2 SDK, including new bindings for the frameworks MediaExtension and DeviceDiscoveryExtension Experimental support for GIL-less operation in the free-threaded build of Python 3.13 The latter feature is an important reason…

(untitled)

I’ve uploaded PyObjC 10.3.2 to PyPI. This release fixes a number of small bugs, and adds wheels for the free-threaded build of Python 3.13. Those wheels still require the GIL, actual free threading support will be added later.

(untitled)

I’m behind with the development of support for macOS 15 in PyObjC due to travel and, more importantly, due to being too busy at work. Current plan is to release PyObjC 10.3.2 soon with some bugfixes, and release PyObjC 11 with support for the macOS 15 APIs late november.

(untitled)

I’ve uploaded PyObjC 10.3.1 to PyPI with a bug fix for a regression introduced by the Pythonic class instantation feature.

PyObjC 10.3 with more Pythonic instantation

I’ve tagged and uploaded PyObjC 10.3 to PyPI. This is a fairly substantial update feature wise: It is now possible to instantiate most classes using the regular Python convention instead of Objective-C’s explicit two-step construction. That is, NSObject() is now a valid alternative to NSObject.alloc().init() . The basic idea is that all init selectors are translated into sets of…

(untitled)

I’ve uploaded a new release of py2app to PyPI during the weekend. This adds support for Python 3.13 and fixes compatibility with setuptools 70.0.

(untitled)

I’ve tagged PyObjC 10.2 and uploaded it to PyPI. This release features updates for the 14.4 SDK and allows using pathlib.Path instances where Cocoa expects NSURL instances.

(untitled)

I’ve uploaded PyObjC 10.1 to PyPI. This primarily adds support for new APIs in macOS 14.2, but also fix some issues in support for older macOS versions and the current Python 3.13 alpha release.

(untitled)

Sigh, receiving a signal while the signal handler is being changed can crash on macOS (FB13453490, github.com/python/cp… )

(untitled)

import objc; l = objc.getClassList(); from Cocoa import CFLocaleCopyCommonISOCurrencyCodes, NSArray; isinstance(CFLocaleCopyCommonISOCurrencyCodes(), NSArray) . This passes on macOS 13, but fails on macOS 14 beta’s due to rewriting parts of Cocoa in Swift. Narrowing this down took some time…

PyObjC 9.2 released

PyObjC 9.2 is uploading to PyPI. This contains a number of bugfixes, as well as support for Python 3.12 (tested with beta 1). PyObjC will now also warn about code that uses argumentless super() when super doesn’t resolve to PyObjC’s objc.super . Using builtin.super for resolving superclass attributes for Objective-C classes can result in subtle errors. Using objc.super instead fixes…

(untitled)

I’ve uploaded new versions of py2app and modulegraph that target both the (very) old and the new: Both now support the current Python 3.12 beta, and contain fixes for Python 2.7 support.

PyObjC 9.1b1 - Please Test

PyObjC 9.1 is one of the rare times that I’m publishing explicit beta releases. PyObjC 9.1b1 is available on PyPI ( pip install pyobjc-9.1b1 ). This release contains the usual SDK updates (macOS 13.3) and minor bugfixes, but more importantly it contains some major changes to pyobjc-core. Because of this I kindly request that you test this beta release and let me know about any problems.…

(untitled)

I’ve uploaded py2app 0.28.5 to PyPI. This fixes an issue with the recipe for black.

(untitled)

I’ve uploaded PyObjC 9.0.1 to PyPI. This release contains a number of small bugfixes, API updates for Xcode 14.2 and reintroduces bridgesupport files.

PyObjC 9.0 is released

I’ve (finally) tagged the PyObjC 9.0 release and uploaded it to PyPI. As usual with a major release this release includes support for the APIs introduced in the latest macOS release, macOS 13 (Ventura). Other noteworthy changes are: Dropped support for Python 3.6 as that Python version is no longer supported by the CPython project Added support for APIs using SIMD/vector types in C (such as…