diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 759ddc3..8dcf235 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -69,7 +69,7 @@ jobs: subject-path: "dist/*.whl" - name: Upload artefacts - uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4 + uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1 with: name: dist-wheels path: ./dist/*.whl @@ -107,7 +107,7 @@ jobs: subject-path: "dist/*.tar.gz" - name: Upload artefacts - uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4 + uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1 with: name: dist-sdist path: ./dist/*.tar.gz @@ -136,7 +136,7 @@ jobs: python-version: ${{ matrix.python-version }} allow-prereleases: true - - uses: actions/download-artifact@d3f86a106a0bac45b974a628896c90dbdf5c8093 # v4 + - uses: actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # v8.0.1 with: name: dist-wheels path: wheelhouse diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 9abae93..24d9ee5 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -9,13 +9,13 @@ repos: - id: end-of-file-fixer - id: trailing-whitespace - repo: https://github.com/astral-sh/ruff-pre-commit - rev: v0.15.13 + rev: v0.15.15 hooks: - id: ruff-check args: [--fix] - id: ruff-format - repo: https://github.com/rvben/rumdl-pre-commit - rev: v0.1.87 + rev: v0.2.3 hooks: - id: rumdl - repo: https://github.com/zizmorcore/zizmor-pre-commit diff --git a/CHANGELOG.md b/CHANGELOG.md index 07019cd..c9c0e1b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,18 +2,7 @@ ## 2.0.0 (In development) -* The shim now writes to Apple's unified logging system (`os_log`) instead - of the deprecated `NSLog` API. Output written to `stdout` and `stderr` - appears in Console.app and `log stream` as before, but is now tagged with - the `OS_LOG_TYPE_DEFAULT` and `OS_LOG_TYPE_ERROR` levels respectively, - so the two streams can be filtered separately. -* The `STD_NSLOG_SUBSYSTEM` and `STD_NSLOG_CATEGORY` environment variables - can be used to associate log output with a specific subsystem and category - for `log` predicate filtering. If unset, `OS_LOG_DEFAULT` is used, - preserving the legacy behavior. -* The package now ships a native extension module (`_oslog_shim`) and is - therefore distributed as platform-specific wheels for macOS and iOS rather - than a pure-Python wheel. +* The shim now writes to Apple's unified logging system (`os_log`) instead of the deprecated `NSLog` API. Output written to `stdout` and `stderr` appears in Console.app and `log stream` as before, but is now tagged with the `OS_LOG_TYPE_DEFAULT` and `OS_LOG_TYPE_ERROR` levels respectively, so the two streams can be filtered separately. * The `encoding` attribute on the writer is now `"utf-8"` (previously `"utf-16-le"` / `"utf-16-be"`), reflecting the underlying API. ## 1.0.3 (November 25 2022) diff --git a/pyproject.toml b/pyproject.toml index 0b73074..f826b23 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,7 +1,7 @@ [build-system] requires = [ - "setuptools==82.0.0", - "setuptools_scm==9.2.2", + "setuptools==82.0.1", + "setuptools_scm==10.0.5", ] build-backend = "setuptools.build_meta"