diff --git a/.github/dependabot.yml b/.github/dependabot.yml index d836018..3788f26 100644 --- a/.github/dependabot.yml +++ b/.github/dependabot.yml @@ -17,9 +17,6 @@ updates: update-types: - "version-update:semver-patch" - "version-update:semver-minor" - - dependency-name: "setuptools" - versions: - - ">=82" - package-ecosystem: "github-actions" directory: "/" diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index bb4afef..1854044 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -26,7 +26,7 @@ jobs: - uses: actions/checkout@v7 - name: Set up Python - uses: actions/setup-python@v6 + uses: actions/setup-python@v7 with: python-version: "3.11" cache: "pip" @@ -55,13 +55,13 @@ jobs: - uses: actions/checkout@v7 - name: Set up Python - uses: actions/setup-python@v6 + uses: actions/setup-python@v7 with: python-version: ${{ matrix.python-version }} cache: "pip" - name: Install build tool - run: python -m pip install build==1.5.0 twine==6.2.0 setuptools==81.0.0 + run: python -m pip install build==1.5.0 twine==6.2.0 setuptools==83.0.0 - name: Build package artifacts run: python scripts/verify.py package @@ -119,7 +119,7 @@ jobs: - uses: actions/checkout@v7 - name: Set up Python - uses: actions/setup-python@v6 + uses: actions/setup-python@v7 with: python-version: ${{ matrix.python-version }} cache: "pip" diff --git a/pyproject.toml b/pyproject.toml index e5ec4f9..dfdf9a3 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -43,7 +43,7 @@ dev = [ "build>=1.5.0", "pytest>=9.0.3", "ruff>=0.15.13", - "setuptools>=81.0.0,<82", + "setuptools>=83.0.0", "pyright>=1.1.409", "pip-audit>=2.10", "twine>=6.0.0", diff --git a/requirements.dev.txt b/requirements.dev.txt index 7491a1f..b15afdf 100644 --- a/requirements.dev.txt +++ b/requirements.dev.txt @@ -12,7 +12,7 @@ pyright==1.1.409 pytest==9.0.3 quimb==1.14.0 ruff==0.15.13 -setuptools==81.0.0 +setuptools==83.0.0 tensorkrowch==1.1.6 tensornetwork==0.4.6 twine==6.2.0 diff --git a/tests/test_ci_workflow.py b/tests/test_ci_workflow.py index c94c5c6..dc7ab82 100644 --- a/tests/test_ci_workflow.py +++ b/tests/test_ci_workflow.py @@ -164,7 +164,7 @@ def test_ci_workflow_declares_expected_jobs_and_runner_matrices() -> None: assert set(workflow["jobs"]) == {"smoke-minimal", "wheel-smoke", "lint-and-test"} assert workflow["permissions"]["contents"] == "read" assert workflow_text.count("uses: actions/checkout@v7") == 3 - assert workflow_text.count("uses: actions/setup-python@v6") == 3 + assert workflow_text.count("uses: actions/setup-python@v7") == 3 assert workflow["jobs"]["wheel-smoke"]["matrix"]["os"] == ["ubuntu-latest", "windows-latest"] assert workflow["jobs"]["wheel-smoke"]["matrix"]["python-version"] == ["3.12", "3.13"] assert workflow["jobs"]["lint-and-test"]["matrix"]["os"] == [ diff --git a/tests/test_engineering_baseline.py b/tests/test_engineering_baseline.py index 163e4bb..6d52012 100644 --- a/tests/test_engineering_baseline.py +++ b/tests/test_engineering_baseline.py @@ -156,7 +156,7 @@ def test_dev_requirements_pin_verification_tools_and_use_editable_install() -> N "pytest==9.0.3", "quimb==1.14.0", "ruff==0.15.13", - "setuptools==81.0.0", + "setuptools==83.0.0", "tensorkrowch==1.1.6", "tensornetwork==0.4.6", "twine==6.2.0",