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] 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"):