From 9919f5fe6003ba102aa7597f12de422d92764197 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Tue, 16 Jul 2024 00:26:10 +0000 Subject: [PATCH 1/2] Update all dependencies --- .github/workflows/ci.yml | 28 ++++++++++++++-------------- .github/workflows/contrib.yml | 4 ++-- .github/workflows/high.yml | 26 +++++++++++++------------- .github/workflows/release.yml | 4 ++-- .pre-commit-config.yaml | 2 +- docs/pyproject.toml | 4 ++-- requirements/dev.in | 8 ++++---- requirements/install.txt | 2 +- requirements/uv.txt | 2 +- scripts/pyproject.toml | 6 +++--- submodules/boilercore | 2 +- 11 files changed, 44 insertions(+), 44 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 73cd50b..44eec21 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -25,11 +25,11 @@ jobs: - uses: "actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332" # v4.1.7 with: submodules: True - - uses: "actions/setup-python@82c7e631bb3cdc910f68e0081d67478d79c6982d" # v5.1.0 + - uses: "actions/setup-python@39cd14951b08e74b54015e9e001cdefcf80e669f" # v5.1.1 with: python-version: "${{ matrix.python }}" - run: "scripts/Sync-Py.ps1" - - uses: "actions/upload-artifact@65462800fd760344b1a7b4382951275a0abb4808" # v4.3.3 + - uses: "actions/upload-artifact@0b2256b8c012f0828dc542b3febcab082c67f72b" # v4.3.4 with: name: "lock" path: "lock.json" @@ -48,14 +48,14 @@ jobs: - uses: "actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332" # v4.1.7 with: submodules: True - - uses: "actions/download-artifact@65a9edc5881444af0b9093a5e628f2fe47ea3b2e" # v4.1.7 + - uses: "actions/download-artifact@fa0a91b85d4f404e444e00e005971372dc801d16" # v4.1.8 with: name: "lock" - uses: "actions/cache@0c45773b623bea8c8e75f6c82b208c3cf94ea4f9" # v4.0.2 with: path: "${{ env.UV_CACHE_DIR }}" key: "uv-${{ matrix.runner }}-${{ matrix.python }}-${{ hashFiles('lock.json') }}" - - uses: "actions/setup-python@82c7e631bb3cdc910f68e0081d67478d79c6982d" # v5.1.0 + - uses: "actions/setup-python@39cd14951b08e74b54015e9e001cdefcf80e669f" # v5.1.1 with: python-version: "${{ matrix.python }}" - run: "scripts/Sync-Py.ps1" @@ -89,14 +89,14 @@ jobs: - uses: "actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332" # v4.1.7 with: submodules: True - - uses: "actions/download-artifact@65a9edc5881444af0b9093a5e628f2fe47ea3b2e" # v4.1.7 + - uses: "actions/download-artifact@fa0a91b85d4f404e444e00e005971372dc801d16" # v4.1.8 with: name: "lock" - uses: "actions/cache@0c45773b623bea8c8e75f6c82b208c3cf94ea4f9" # v4.0.2 with: path: "${{ env.UV_CACHE_DIR }}" key: "uv-${{ matrix.runner }}-${{ matrix.python }}-${{ hashFiles('lock.json') }}" - - uses: "actions/setup-python@82c7e631bb3cdc910f68e0081d67478d79c6982d" # v5.1.0 + - uses: "actions/setup-python@39cd14951b08e74b54015e9e001cdefcf80e669f" # v5.1.1 with: python-version: "${{ matrix.python }}" - run: "scripts/Sync-Py.ps1" @@ -112,14 +112,14 @@ jobs: - uses: "actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332" # v4.1.7 with: submodules: True - - uses: "actions/download-artifact@65a9edc5881444af0b9093a5e628f2fe47ea3b2e" # v4.1.7 + - uses: "actions/download-artifact@fa0a91b85d4f404e444e00e005971372dc801d16" # v4.1.8 with: name: "lock" - uses: "actions/cache@0c45773b623bea8c8e75f6c82b208c3cf94ea4f9" # v4.0.2 with: path: "${{ env.UV_CACHE_DIR }}" key: "uv-${{ matrix.runner }}-${{ matrix.python }}-${{ hashFiles('lock.json') }}" - - uses: "actions/setup-python@82c7e631bb3cdc910f68e0081d67478d79c6982d" # v5.1.0 + - uses: "actions/setup-python@39cd14951b08e74b54015e9e001cdefcf80e669f" # v5.1.1 with: python-version: "${{ matrix.python }}" - run: "scripts/Sync-Py.ps1" @@ -135,14 +135,14 @@ jobs: - uses: "actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332" # v4.1.7 with: submodules: True - - uses: "actions/download-artifact@65a9edc5881444af0b9093a5e628f2fe47ea3b2e" # v4.1.7 + - uses: "actions/download-artifact@fa0a91b85d4f404e444e00e005971372dc801d16" # v4.1.8 with: name: "lock" - uses: "actions/cache@0c45773b623bea8c8e75f6c82b208c3cf94ea4f9" # v4.0.2 with: path: "${{ env.UV_CACHE_DIR }}" key: "uv-${{ matrix.runner }}-${{ matrix.python }}-${{ hashFiles('lock.json') }}" - - uses: "actions/setup-python@82c7e631bb3cdc910f68e0081d67478d79c6982d" # v5.1.0 + - uses: "actions/setup-python@39cd14951b08e74b54015e9e001cdefcf80e669f" # v5.1.1 with: python-version: "${{ matrix.python }}" - run: "scripts/Sync-Py.ps1" @@ -167,14 +167,14 @@ jobs: submodules: True - if: startsWith(matrix.runner, 'ubuntu') || startsWith(matrix.runner, 'macos') run: "scripts/Initialize-UlLinuxMacOS.ps1" - - uses: "actions/download-artifact@65a9edc5881444af0b9093a5e628f2fe47ea3b2e" # v4.1.7 + - uses: "actions/download-artifact@fa0a91b85d4f404e444e00e005971372dc801d16" # v4.1.8 with: name: "lock" - uses: "actions/cache@0c45773b623bea8c8e75f6c82b208c3cf94ea4f9" # v4.0.2 with: path: "${{ env.UV_CACHE_DIR }}" key: "uv-${{ matrix.runner }}-${{ matrix.python }}-${{ hashFiles('lock.json') }}" - - uses: "actions/setup-python@82c7e631bb3cdc910f68e0081d67478d79c6982d" # v5.1.0 + - uses: "actions/setup-python@39cd14951b08e74b54015e9e001cdefcf80e669f" # v5.1.1 with: python-version: "${{ matrix.python }}" - run: "scripts/Sync-Py.ps1 -Version '${{ matrix.python }}'" @@ -201,14 +201,14 @@ jobs: - uses: "actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332" # v4.1.7 with: submodules: True - - uses: "actions/download-artifact@65a9edc5881444af0b9093a5e628f2fe47ea3b2e" # v4.1.7 + - uses: "actions/download-artifact@fa0a91b85d4f404e444e00e005971372dc801d16" # v4.1.8 with: name: "lock" - uses: "actions/cache@0c45773b623bea8c8e75f6c82b208c3cf94ea4f9" # v4.0.2 with: path: "${{ env.UV_CACHE_DIR }}" key: "uv-${{ matrix.runner }}-${{ matrix.python }}-${{ hashFiles('lock.json') }}" - - uses: "actions/setup-python@82c7e631bb3cdc910f68e0081d67478d79c6982d" # v5.1.0 + - uses: "actions/setup-python@39cd14951b08e74b54015e9e001cdefcf80e669f" # v5.1.1 with: python-version: "${{ matrix.python }}" - run: ". scripts/Initialize-Shell.ps1; scripts/Sync-Py.ps1" diff --git a/.github/workflows/contrib.yml b/.github/workflows/contrib.yml index 826b35a..707906d 100644 --- a/.github/workflows/contrib.yml +++ b/.github/workflows/contrib.yml @@ -39,7 +39,7 @@ jobs: with: path: "${{ env.UV_CACHE_DIR }}" key: "uv-${{ matrix.runner }}-${{ matrix.python }}-${{ hashFiles('lock.json') }}" - - uses: "actions/setup-python@82c7e631bb3cdc910f68e0081d67478d79c6982d" # v5.1.0 + - uses: "actions/setup-python@39cd14951b08e74b54015e9e001cdefcf80e669f" # v5.1.1 with: python-version: "${{ matrix.python }}" - run: "scripts/Sync-Py.ps1 -Version '3.11'" @@ -62,7 +62,7 @@ jobs: with: path: "${{ env.UV_CACHE_DIR }}" key: "uv-${{ matrix.runner }}-${{ matrix.python }}-${{ hashFiles('lock.json') }}" - - uses: "actions/setup-python@82c7e631bb3cdc910f68e0081d67478d79c6982d" # v5.1.0 + - uses: "actions/setup-python@39cd14951b08e74b54015e9e001cdefcf80e669f" # v5.1.1 with: python-version: "${{ matrix.python }}" - working-directory: "repo path with spaces" diff --git a/.github/workflows/high.yml b/.github/workflows/high.yml index 212cb14..df00a97 100644 --- a/.github/workflows/high.yml +++ b/.github/workflows/high.yml @@ -22,11 +22,11 @@ jobs: - uses: "actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332" # v4.1.7 with: submodules: True - - uses: "actions/setup-python@82c7e631bb3cdc910f68e0081d67478d79c6982d" # v5.1.0 + - uses: "actions/setup-python@39cd14951b08e74b54015e9e001cdefcf80e669f" # v5.1.1 with: python-version: "${{ matrix.python }}" - run: "scripts/Sync-Py.ps1" - - uses: "actions/upload-artifact@65462800fd760344b1a7b4382951275a0abb4808" # v4.3.3 + - uses: "actions/upload-artifact@0b2256b8c012f0828dc542b3febcab082c67f72b" # v4.3.4 with: name: "lock" path: "lock-high.json" @@ -41,10 +41,10 @@ jobs: - uses: "actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332" # v4.1.7 with: submodules: True - - uses: "actions/download-artifact@65a9edc5881444af0b9093a5e628f2fe47ea3b2e" # v4.1.7 + - uses: "actions/download-artifact@fa0a91b85d4f404e444e00e005971372dc801d16" # v4.1.8 with: name: "lock" - - uses: "actions/setup-python@82c7e631bb3cdc910f68e0081d67478d79c6982d" # v5.1.0 + - uses: "actions/setup-python@39cd14951b08e74b54015e9e001cdefcf80e669f" # v5.1.1 with: python-version: "${{ matrix.python }}" - run: "scripts/Sync-Py.ps1" @@ -61,10 +61,10 @@ jobs: - uses: "actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332" # v4.1.7 with: submodules: True - - uses: "actions/download-artifact@65a9edc5881444af0b9093a5e628f2fe47ea3b2e" # v4.1.7 + - uses: "actions/download-artifact@fa0a91b85d4f404e444e00e005971372dc801d16" # v4.1.8 with: name: "lock" - - uses: "actions/setup-python@82c7e631bb3cdc910f68e0081d67478d79c6982d" # v5.1.0 + - uses: "actions/setup-python@39cd14951b08e74b54015e9e001cdefcf80e669f" # v5.1.1 with: python-version: "${{ matrix.python }}" - run: "scripts/Sync-Py.ps1" @@ -80,10 +80,10 @@ jobs: - uses: "actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332" # v4.1.7 with: submodules: True - - uses: "actions/download-artifact@65a9edc5881444af0b9093a5e628f2fe47ea3b2e" # v4.1.7 + - uses: "actions/download-artifact@fa0a91b85d4f404e444e00e005971372dc801d16" # v4.1.8 with: name: "lock" - - uses: "actions/setup-python@82c7e631bb3cdc910f68e0081d67478d79c6982d" # v5.1.0 + - uses: "actions/setup-python@39cd14951b08e74b54015e9e001cdefcf80e669f" # v5.1.1 with: python-version: "${{ matrix.python }}" - run: "scripts/Sync-Py.ps1" @@ -99,10 +99,10 @@ jobs: - uses: "actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332" # v4.1.7 with: submodules: True - - uses: "actions/download-artifact@65a9edc5881444af0b9093a5e628f2fe47ea3b2e" # v4.1.7 + - uses: "actions/download-artifact@fa0a91b85d4f404e444e00e005971372dc801d16" # v4.1.8 with: name: "lock" - - uses: "actions/setup-python@82c7e631bb3cdc910f68e0081d67478d79c6982d" # v5.1.0 + - uses: "actions/setup-python@39cd14951b08e74b54015e9e001cdefcf80e669f" # v5.1.1 with: python-version: "${{ matrix.python }}" - run: "scripts/Sync-Py.ps1" @@ -127,10 +127,10 @@ jobs: submodules: True - if: startsWith(matrix.runner, 'ubuntu') || startsWith(matrix.runner, 'macos') run: "scripts/Initialize-UlLinuxMacOS.ps1" - - uses: "actions/download-artifact@65a9edc5881444af0b9093a5e628f2fe47ea3b2e" # v4.1.7 + - uses: "actions/download-artifact@fa0a91b85d4f404e444e00e005971372dc801d16" # v4.1.8 with: name: "lock" - - uses: "actions/setup-python@82c7e631bb3cdc910f68e0081d67478d79c6982d" # v5.1.0 + - uses: "actions/setup-python@39cd14951b08e74b54015e9e001cdefcf80e669f" # v5.1.1 with: python-version: "${{ matrix.python }}" - run: "scripts/Sync-Py.ps1 -Version '${{ matrix.python }}'" @@ -150,7 +150,7 @@ jobs: runs-on: "${{ matrix.runner }}" steps: - uses: "actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332" # v4.1.7 - - uses: "actions/download-artifact@65a9edc5881444af0b9093a5e628f2fe47ea3b2e" # v4.1.7 + - uses: "actions/download-artifact@fa0a91b85d4f404e444e00e005971372dc801d16" # v4.1.8 with: name: "lock" - uses: "stefanzweifel/git-auto-commit-action@8621497c8c39c72f3e2a999a26b4ca1b5058a842" # v5.0.1 diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index d419f2b..8ae2ff7 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -25,12 +25,12 @@ jobs: url: "https://pypi.org/p/boilerdaq" steps: - uses: "actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332" # v4.1.7 - - uses: "actions/setup-python@82c7e631bb3cdc910f68e0081d67478d79c6982d" # v5.1.0 + - uses: "actions/setup-python@39cd14951b08e74b54015e9e001cdefcf80e669f" # v5.1.1 with: python-version: "${{ matrix.python }}" - run: "scripts/Sync-Py.ps1 -Release" - run: ". scripts/Initialize-Shell.ps1; python -m build --installer uv" - - uses: actions/attest-build-provenance@bdd51370e0416ac948727f861e03c2f05d32d78e # v1.3.2 + - uses: actions/attest-build-provenance@5e9cb68e95676991667494a6a4e59b8a2f13e1d0 # v1.3.3 with: subject-path: "dist/**" - run: "gh release upload '${{ github.event.release.tag_name }}' dist/**" diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 1b03d07..7c27d82 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -131,7 +131,7 @@ repos: |tests/.* )$ - repo: "https://github.com/charliermarsh/ruff-pre-commit" - rev: "v0.4.10" + rev: "v0.5.2" hooks: - id: "ruff" args: ["--extend-fixable", "PIE790"] diff --git a/docs/pyproject.toml b/docs/pyproject.toml index f7d1a0c..a0a7319 100644 --- a/docs/pyproject.toml +++ b/docs/pyproject.toml @@ -10,7 +10,7 @@ dependencies = [ # ? Core docs "docutils==0.21.2", "linkify-it-py==2.0.3", - "myst-nb==1.1.0", + "myst-nb==1.1.1", "myst-parser==3.0.1", "numpydoc==1.7.0", "ruamel-yaml==0.18.6", @@ -21,7 +21,7 @@ dependencies = [ "sphinx-thebe==0.3.1", "sphinx-tippy==0.4.3", "sphinx-togglebutton==0.3.2", - "sphinx==7.3.7", + "sphinx==7.4.4", "sphinxcontrib-bibtex==2.6.2", "sphinxcontrib-mermaid==0.9.2", "sphinxcontrib-towncrier==0.4.0a0", diff --git a/requirements/dev.in b/requirements/dev.in index f08b725..5e0bcf9 100644 --- a/requirements/dev.in +++ b/requirements/dev.in @@ -6,11 +6,11 @@ debugpy==1.8.2 dvc[gs]==3.51.2 fawltydeps==0.16.0 pandas-stubs~=2.2.2 -pipdeptree==2.23.0 +pipdeptree==2.23.1 pre-commit==3.7.1 -pyright==1.1.364 +pyright==1.1.371 pyside6==6.7.2 ; sys_platform != 'linux' # Missing wheels -ruff==0.4.10 +ruff==0.5.2 snakeviz==2.2.0 -sourcery==1.19.0 +sourcery==1.21.0 towncrier==23.11.0 diff --git a/requirements/install.txt b/requirements/install.txt index e9157ea..10075cd 100644 --- a/requirements/install.txt +++ b/requirements/install.txt @@ -1,2 +1,2 @@ httpx==0.27.0 -zstandard==0.22.0 +zstandard==0.23.0 diff --git a/requirements/uv.txt b/requirements/uv.txt index 23ae329..087739e 100644 --- a/requirements/uv.txt +++ b/requirements/uv.txt @@ -1 +1 @@ -uv==0.2.23 +uv==0.2.25 diff --git a/scripts/pyproject.toml b/scripts/pyproject.toml index 012a9f4..3523cfc 100644 --- a/scripts/pyproject.toml +++ b/scripts/pyproject.toml @@ -8,10 +8,10 @@ version = "0.0.0" description = "Tools." dependencies = [ # ? Core script tools - "copier==9.2.0", - "cyclopts==2.7.1", + "copier==9.3.1", + "cyclopts==2.9.3", "dulwich==0.22.1", - "ipython==8.25.0", + "ipython==8.26.0", "pipx==1.6.0", "toml==0.10.2 ; python_version < '3.11'", ] diff --git a/submodules/boilercore b/submodules/boilercore index 2306b23..27bf853 160000 --- a/submodules/boilercore +++ b/submodules/boilercore @@ -1 +1 @@ -Subproject commit 2306b2324ef805a4df0f211bf7cfec837fe56d9b +Subproject commit 27bf853a424c3725def1ba9d17b8f1c5d0165337 From 95b13df7cbf3d0bdb52e5ebacfb806aba4cf3b74 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Tue, 16 Jul 2024 00:26:27 +0000 Subject: [PATCH 2/2] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- scripts/boilerdaq_tools/add_changes.py | 6 ++---- tests/boilerdaq_tests/test_boilerdaq.py | 2 +- 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/scripts/boilerdaq_tools/add_changes.py b/scripts/boilerdaq_tools/add_changes.py index 1093f69..ba9999d 100644 --- a/scripts/boilerdaq_tools/add_changes.py +++ b/scripts/boilerdaq_tools/add_changes.py @@ -20,9 +20,7 @@ def add_change(typ: ChangeType = "change"): change = get_change(owner, repo, issue) content = quote(f"{change.name}\n") run( - split( # noqa: S603 - f"""towncrier create --content {content} {change.id}.{typ}.md""" - ), + split(f"""towncrier create --content {content} {change.id}.{typ}.md"""), check=True, ) @@ -96,7 +94,7 @@ def query_gh_issue( ) -> dict[str, Any]: """Query GitHub for an issue.""" result = run( - [ # noqa: S607, S603 + [ # noqa: S607 "gh", "api", "graphql", diff --git a/tests/boilerdaq_tests/test_boilerdaq.py b/tests/boilerdaq_tests/test_boilerdaq.py index d447c87..f80cd96 100644 --- a/tests/boilerdaq_tests/test_boilerdaq.py +++ b/tests/boilerdaq_tests/test_boilerdaq.py @@ -5,7 +5,7 @@ from boilerdaq.daq import Looper -@pytest.mark.slow() +@pytest.mark.slow def test_stages(looper: Looper): """Test stages.""" looper.start()