Skip to content

Bump support packages and update logging.#122

Merged
mhsmith merged 1 commit into
mainfrom
support-bump
Jun 13, 2026
Merged

Bump support packages and update logging.#122
mhsmith merged 1 commit into
mainfrom
support-bump

Conversation

@freakboy3742

@freakboy3742 freakboy3742 commented Jun 12, 2026

Copy link
Copy Markdown
Member

Update the support packages to the latest versions, and apply

macOS 26 has altered how logging operates, so NSLog messages now appear in the system log as <private>.

To work around this, we need to use an updated version of std-nslog which uses os_log rather than NSLog. However, this requires a binary module, which means the logger can't be loaded until app_packages has been added to the site path.

However - as of Python 3.14, the functionality of std-nslog is baked into Python by default. As long as you're using 3.14.6+, you can get all of the functionality of std-nslog without importing the package.

So, this PR disables the use of the nslog shim loader entirely on 3.14 or newer, and re-orders the addition of the shim on Python 3.13 and earlier.

Also updates the README into no-newlines format.

The macOS app stub will need to be re-tagged once this PR lands.

Building this template requires an in development version of Briefcase (beeware/briefcase#2877); this adds std-nslog 2.0.0 as a dependency on macOS.

briefcase-repo: https://github.com/freakboy3742/briefcase.git
briefcase-ref: apple-logs

PR Checklist:

  • I will abide by the BeeWare Code of Conduct
  • I have read and have followed the CONTRIBUTING.md file
  • This PR was generated or assisted using an AI tool

@mhsmith mhsmith merged commit 679a8b9 into main Jun 13, 2026
24 of 43 checks passed
@mhsmith mhsmith deleted the support-bump branch June 13, 2026 02:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants