From 620816db1a439b106708b3024fc3136d8d6e5d28 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Sun, 1 Nov 2026 20:28:05 +0000 Subject: [PATCH 1/2] Bump the dependencies group with 2 updates Bumps the dependencies group with 2 updates: [actions/setup-python](https://github.com/actions/setup-python) and [actions/upload-artifact](https://github.com/actions/upload-artifact). Updates `actions/setup-python` from 7.0.0 to 7.1.0 - [Release notes](https://github.com/actions/setup-python/releases) - [Commits](https://github.com/actions/setup-python/compare/5fda3b95a4ea91299a34e894583c3862153e4b97...6d4fd22b20465ccc0f7354476588e8df7c9ca0e0) Updates `actions/upload-artifact` from 7.0.1 to 7.0.2 - [Release notes](https://github.com/actions/upload-artifact/releases) - [Commits](https://github.com/actions/upload-artifact/compare/043fb46d1a93c77aae656e7c1c64a875d1fc6a0a...cf430e030ddbb5b0abf93d22962f4752f3646cd9) Bump setuptools in /pth-tester in the dependencies group Bumps the dependencies group in /pth-tester with 1 update: [setuptools](https://github.com/pypa/setuptools). Updates `setuptools` from 84.0.0 to 84.2.1 - [Release notes](https://github.com/pypa/setuptools/releases) - [Changelog](https://github.com/pypa/setuptools/blob/main/NEWS.rst) - [Commits](https://github.com/pypa/setuptools/compare/v84.0.0...v84.2.1) Bump https://github.com/astral-sh/ruff-pre-commit Bumps the dependencies group with 1 update: [https://github.com/astral-sh/ruff-pre-commit](https://github.com/astral-sh/ruff-pre-commit). Updates `https://github.com/astral-sh/ruff-pre-commit` from v0.16.10 to 0.17.2 - [Release notes](https://github.com/astral-sh/ruff-pre-commit/releases) - [Commits](https://github.com/astral-sh/ruff-pre-commit/compare/v0.16.10...v0.17.2) --- updated-dependencies: - dependency-name: actions/setup-python dependency-version: 7.1.0 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: dependencies - dependency-name: actions/upload-artifact dependency-version: 7.0.2 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: dependencies - dependency-name: setuptools dependency-version: 84.2.1 dependency-type: direct:development update-type: version-update:semver-minor dependency-group: dependencies - dependency-name: https://github.com/astral-sh/ruff-pre-commit dependency-version: 0.17.2 dependency-type: direct:production dependency-group: dependencies ... Signed-off-by: dependabot[bot] --- .github/workflows/ci.yml | 4 ++-- .pre-commit-config.yaml | 2 +- pth-tester/pyproject.toml | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 3bf099e..4434eb4 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -124,7 +124,7 @@ jobs: persist-credentials: false - name: Set up Python - uses: actions/setup-python@5fda3b95a4ea91299a34e894583c3862153e4b97 # v7.0.0 + uses: actions/setup-python@6d4fd22b20465ccc0f7354476588e8df7c9ca0e0 # v7.1.0 if: matrix.python-version != 'system' with: python-version: ${{ matrix.python-version }} @@ -144,7 +144,7 @@ jobs: run: briefcase package ${{ matrix.briefcase-target }} --update --adhoc-sign - name: Upload Logs - uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1 + uses: actions/upload-artifact@cf430e030ddbb5b0abf93d22962f4752f3646cd9 # v7.0.2 if: failure() with: name: build-failure-logs-${{ matrix.backend }}-${{ matrix.python-version }} diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 9c5b3be..0c48746 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -15,7 +15,7 @@ repos: - id: docformatter args: [--in-place, --black] - repo: https://github.com/astral-sh/ruff-pre-commit - rev: v0.16.10 + rev: v0.17.2 hooks: - id: ruff-format - id: ruff-check diff --git a/pth-tester/pyproject.toml b/pth-tester/pyproject.toml index 8af578c..0589906 100644 --- a/pth-tester/pyproject.toml +++ b/pth-tester/pyproject.toml @@ -1,5 +1,5 @@ [build-system] -requires = ["setuptools==84.0.0", "wheel"] +requires = ["setuptools==84.2.1", "wheel"] build-backend = "setuptools.build_meta" [project] From de79d91d076e190430b4f206021f70f28843b15b Mon Sep 17 00:00:00 2001 From: Russell Keith-Magee Date: Mon, 2 Nov 2026 06:59:26 +0800 Subject: [PATCH 2/2] Finalize battery removal. --- tests/test_common.py | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/tests/test_common.py b/tests/test_common.py index 974bb58..1b66b5e 100644 --- a/tests/test_common.py +++ b/tests/test_common.py @@ -82,7 +82,9 @@ def test_stdlib_modules(): "_queue", "_random", "_socket", + "_statistics", "_struct", + "_typing", "array", "binascii", "cmath", @@ -98,11 +100,7 @@ def test_stdlib_modules(): ] # Modules added in 3.8 - all_modules.extend(["_statistics"]) - - # Modules added in 3.11 - if sys.version_info >= (3, 11): - all_modules.extend(["_typing"]) + all_modules.extend([]) # Modules that do not exist on Android if hasattr(sys, "getandroidapilevel"):