'import Quartz' to work on macOS 15 with MacPorts Python 3.12

Joshua Root jmr at macports.org
Wed Oct 16 22:44:40 UTC 2024


On 17/10/2024 09:28, Nils Breunese wrote:
> Joshua Root <jmr at macports.org> wrote:
> 
>>> On 16/10/2024 22:12, Nils Breunese wrote:
>>> Interesting, thanks for checking. Anyone else on macOS 15 who could 
>>> check if this works or not?
>>> I’ve also tried bumping PyObjC to the latest version (10.3.1), but 
>>> the import still doesn’t work for me on macOS 15.
>>
>> When you built the updated pyobjc, did the Quartz module fail to build?
> 
> I don’t know exactly what you mean by the Quartz module, but I bumped 
> the version and the port built successfully. The PR for this version 
> bump is here: https://github.com/macports/macports-ports/pulls <https:// 
> github.com/macports/macports-ports/pulls>
> 
> Nils.

PyObjC consists of a number of python modules. Each has its own 
directory in site-packages: AVFoundation, AVKit, etc. through to WebKit.

Just because the build overall reported success doesn't mean that some 
part of it didn't fail. It's perhaps not the best idea, but some build 
systems will silently continue when that happens and just not produce 
the failed component. You'd have to check the log to know.

- Josh


More information about the macports-dev mailing list