[issue40477] Python Launcher app on macOS 10.15+ fails to run scripts

2022-01-02 Thread Ned Deily
Ned Deily added the comment: Thanks, Ronald, for tracking down the NSAppleEventsUsageDescription requirement! The PR here solves two problems encountered by users of the macOS Python Launcher app on recent macOS releases (10.14+): 1. The launcher app was no longer able to launch the macOS

[issue40477] Python Launcher app on macOS 10.15+ fails to run scripts

2022-01-02 Thread miss-islington
miss-islington added the comment: New changeset 50da397be4f71e5c12759281446b06ce14b6a5c4 by Miss Islington (bot) in branch '3.9': bpo-40477: macOS Python Launcher app fixes for recent macOS releases (GH-30348) https://github.com/python/cpython/commit/50da397be4f71e5c12759281446b06ce14b6a5c4

[issue40477] Python Launcher app on macOS 10.15+ fails to run scripts

2022-01-02 Thread Ned Deily
Ned Deily added the comment: New changeset b312794de0f78da15593d059f09b4071d95c0d0e by Miss Islington (bot) in branch '3.10': bpo-40477: macOS Python Launcher app fixes for recent macOS releases (GH-30348) (GH-30349)

[issue40477] Python Launcher app on macOS 10.15+ fails to run scripts

2022-01-02 Thread miss-islington
Change by miss-islington : -- pull_requests: +28563 pull_request: https://github.com/python/cpython/pull/30350 ___ Python tracker ___

[issue40477] Python Launcher app on macOS 10.15+ fails to run scripts

2022-01-02 Thread Ned Deily
Ned Deily added the comment: New changeset 549e62827262264cda30455e10e315602129da72 by Ned Deily in branch 'main': bpo-40477: macOS Python Launcher app fixes for recent macOS releases (GH-30348) https://github.com/python/cpython/commit/549e62827262264cda30455e10e315602129da72 --

[issue40477] Python Launcher app on macOS 10.15+ fails to run scripts

2022-01-02 Thread miss-islington
Change by miss-islington : -- nosy: +miss-islington nosy_count: 6.0 -> 7.0 pull_requests: +28562 pull_request: https://github.com/python/cpython/pull/30349 ___ Python tracker

[issue40477] Python Launcher app on macOS 10.15+ fails to run scripts

2022-01-02 Thread Ned Deily
Change by Ned Deily : -- keywords: +patch pull_requests: +28561 stage: needs patch -> patch review pull_request: https://github.com/python/cpython/pull/30348 ___ Python tracker

[issue40477] Python Launcher app on macOS 10.15+ fails to run scripts

2021-12-12 Thread Ronald Oussoren
Ronald Oussoren added the comment: Pfff Apple's documentation is too incomplete. In recent versions the apple events entitlement only works when the program also has an NSAppleEventsUsageDescription key in Info.plist with a string value that describes why it needs the entitlement, this

[issue40477] Python Launcher app on macOS 10.15+ fails to run scripts

2021-12-12 Thread Ronald Oussoren
Ronald Oussoren added the comment: It looks like this is related to code signing and entitlements, in particular: * On my system Terminal.app is in the "Automation" list in the Security & Privacy control panel, and none of the installed Python Launchers are * The script let below works

[issue40477] Python Launcher app on macOS 10.15+ fails to run scripts

2021-12-12 Thread Ronald Oussoren
Ronald Oussoren added the comment: FWIW, I'm experimenting with using Scripting Bridge instead of raw Apple Events in Python Laucher. Mostly to check if that fixes the issue because I can run scripts in Terminal using Scripting Bridge from a Python script using PyObjC. Scripting Bridge

[issue40477] Python Launcher app on macOS 10.15+ fails to run scripts

2021-12-11 Thread Ned Deily
Ned Deily added the comment: >From comments in duplicate Issue46043: "There is definitely something odd going on here. I am seeing different behaviors across different systems: I have at least one macOS 12.0.1 system where the Launcher app seems to work OK with the current 3.10.1 (as long as