From fe6477b29d19bf2a9c8f305549ecbd5ce3894f09 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 18 Nov 2024 08:46:59 -0800 Subject: [PATCH 1/2] gh-actions(deps): bump tektronix/python-package-ci-cd (#350) Bumps the gh-actions-dependencies group with 1 update: [tektronix/python-package-ci-cd](https://github.com/tektronix/python-package-ci-cd). Updates `tektronix/python-package-ci-cd` from 1.5.1 to 1.5.2 - [Release notes](https://github.com/tektronix/python-package-ci-cd/releases) - [Changelog](https://github.com/tektronix/python-package-ci-cd/blob/main/CHANGELOG.md) - [Commits](https://github.com/tektronix/python-package-ci-cd/compare/v1.5.1...v1.5.2) --- updated-dependencies: - dependency-name: tektronix/python-package-ci-cd dependency-type: direct:production update-type: version-update:semver-patch dependency-group: gh-actions-dependencies ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- .github/workflows/check-api-for-breaking-changes.yml | 2 +- .github/workflows/codeql-analysis.yml | 2 +- .github/workflows/enforce-community-standards.yml | 2 +- .github/workflows/package-build.yml | 2 +- .github/workflows/package-release.yml | 2 +- .github/workflows/package-testpypi.yml | 2 +- .github/workflows/publish-api-comparison.yml | 2 +- .github/workflows/publish-test-results.yml | 2 +- .github/workflows/sbom-scan.yml | 2 +- .github/workflows/test-code.yml | 2 +- .github/workflows/test-docs.yml | 2 +- .github/workflows/update-python-and-pre-commit-dependencies.yml | 2 +- 12 files changed, 12 insertions(+), 12 deletions(-) diff --git a/.github/workflows/check-api-for-breaking-changes.yml b/.github/workflows/check-api-for-breaking-changes.yml index f182d39f..999ed816 100644 --- a/.github/workflows/check-api-for-breaking-changes.yml +++ b/.github/workflows/check-api-for-breaking-changes.yml @@ -5,6 +5,6 @@ on: branches: [main] jobs: check-api-for-breaking-changes: - uses: tektronix/python-package-ci-cd/.github/workflows/_reusable-check-api-for-breaking-changes.yml@v1.5.1 + uses: tektronix/python-package-ci-cd/.github/workflows/_reusable-check-api-for-breaking-changes.yml@v1.5.2 with: package-name: tm_devices diff --git a/.github/workflows/codeql-analysis.yml b/.github/workflows/codeql-analysis.yml index 97427b5f..30ac067e 100644 --- a/.github/workflows/codeql-analysis.yml +++ b/.github/workflows/codeql-analysis.yml @@ -9,7 +9,7 @@ on: - cron: 17 16 * * 4 jobs: analyze: - uses: tektronix/python-package-ci-cd/.github/workflows/_reusable-codeql-analysis.yml@v1.5.1 + uses: tektronix/python-package-ci-cd/.github/workflows/_reusable-codeql-analysis.yml@v1.5.2 with: languages-array: '["python", "javascript"]' codeql-queries: security-extended,security-and-quality diff --git a/.github/workflows/enforce-community-standards.yml b/.github/workflows/enforce-community-standards.yml index 5cf218a9..d5af0a0f 100644 --- a/.github/workflows/enforce-community-standards.yml +++ b/.github/workflows/enforce-community-standards.yml @@ -7,4 +7,4 @@ on: branches: [main] jobs: enforce-community-standards: - uses: tektronix/python-package-ci-cd/.github/workflows/_reusable-enforce-community-standards.yml@v1.5.1 + uses: tektronix/python-package-ci-cd/.github/workflows/_reusable-enforce-community-standards.yml@v1.5.2 diff --git a/.github/workflows/package-build.yml b/.github/workflows/package-build.yml index de7a00da..d8e5718b 100644 --- a/.github/workflows/package-build.yml +++ b/.github/workflows/package-build.yml @@ -12,7 +12,7 @@ concurrency: cancel-in-progress: ${{ github.ref != 'refs/heads/main' }} jobs: package-build: - uses: tektronix/python-package-ci-cd/.github/workflows/_reusable-package-build.yml@v1.5.1 + uses: tektronix/python-package-ci-cd/.github/workflows/_reusable-package-build.yml@v1.5.2 with: package-name: tm_devices python-versions-array: '["3.8", "3.9", "3.10", "3.11", "3.12", "3.13"]' # when updating this, make sure to update all workflows that use this strategy diff --git a/.github/workflows/package-release.yml b/.github/workflows/package-release.yml index 00560616..9a0a5d15 100644 --- a/.github/workflows/package-release.yml +++ b/.github/workflows/package-release.yml @@ -16,7 +16,7 @@ concurrency: group: pypi jobs: package-release: - uses: tektronix/python-package-ci-cd/.github/workflows/_reusable-package-release.yml@v1.5.1 + uses: tektronix/python-package-ci-cd/.github/workflows/_reusable-package-release.yml@v1.5.2 with: package-name: tm_devices repo-name: tektronix/tm_devices diff --git a/.github/workflows/package-testpypi.yml b/.github/workflows/package-testpypi.yml index 5c923ab2..59aae420 100644 --- a/.github/workflows/package-testpypi.yml +++ b/.github/workflows/package-testpypi.yml @@ -7,7 +7,7 @@ concurrency: group: pypi jobs: package-testpypi: - uses: tektronix/python-package-ci-cd/.github/workflows/_reusable-package-testpypi.yml@v1.5.1 + uses: tektronix/python-package-ci-cd/.github/workflows/_reusable-package-testpypi.yml@v1.5.2 with: package-name: tm_devices repo-name: tektronix/tm_devices diff --git a/.github/workflows/publish-api-comparison.yml b/.github/workflows/publish-api-comparison.yml index 9037c443..e5f0b5db 100644 --- a/.github/workflows/publish-api-comparison.yml +++ b/.github/workflows/publish-api-comparison.yml @@ -6,7 +6,7 @@ on: types: [completed] jobs: publish-api-comparison: - uses: tektronix/python-package-ci-cd/.github/workflows/_reusable-publish-api-comparison.yml@v1.5.1 + uses: tektronix/python-package-ci-cd/.github/workflows/_reusable-publish-api-comparison.yml@v1.5.2 permissions: checks: write pull-requests: write diff --git a/.github/workflows/publish-test-results.yml b/.github/workflows/publish-test-results.yml index a503d773..edd90982 100644 --- a/.github/workflows/publish-test-results.yml +++ b/.github/workflows/publish-test-results.yml @@ -6,7 +6,7 @@ on: types: [completed] jobs: publish-test-results: - uses: tektronix/python-package-ci-cd/.github/workflows/_reusable-publish-test-results.yml@v1.5.1 + uses: tektronix/python-package-ci-cd/.github/workflows/_reusable-publish-test-results.yml@v1.5.2 with: operating-systems-array: '["ubuntu", "windows", "macos"]' permissions: diff --git a/.github/workflows/sbom-scan.yml b/.github/workflows/sbom-scan.yml index 1d7b4c77..63431ea0 100644 --- a/.github/workflows/sbom-scan.yml +++ b/.github/workflows/sbom-scan.yml @@ -9,7 +9,7 @@ on: types: [published] jobs: sbom-scan: - uses: tektronix/python-package-ci-cd/.github/workflows/_reusable-sbom-scan.yml@v1.5.1 + uses: tektronix/python-package-ci-cd/.github/workflows/_reusable-sbom-scan.yml@v1.5.2 permissions: security-events: write contents: write diff --git a/.github/workflows/test-code.yml b/.github/workflows/test-code.yml index 9d8ea231..ef56a59b 100644 --- a/.github/workflows/test-code.yml +++ b/.github/workflows/test-code.yml @@ -10,7 +10,7 @@ concurrency: cancel-in-progress: ${{ github.ref != 'refs/heads/main' }} jobs: test-code: - uses: tektronix/python-package-ci-cd/.github/workflows/_reusable-test-code.yml@v1.5.1 + uses: tektronix/python-package-ci-cd/.github/workflows/_reusable-test-code.yml@v1.5.2 with: repo-name: tektronix/tm_devices operating-systems-array: '["ubuntu", "windows", "macos"]' diff --git a/.github/workflows/test-docs.yml b/.github/workflows/test-docs.yml index 363611a6..7d49f8bd 100644 --- a/.github/workflows/test-docs.yml +++ b/.github/workflows/test-docs.yml @@ -10,7 +10,7 @@ concurrency: cancel-in-progress: ${{ github.ref != 'refs/heads/main' }} jobs: test-docs: - uses: tektronix/python-package-ci-cd/.github/workflows/_reusable-test-docs.yml@v1.5.1 + uses: tektronix/python-package-ci-cd/.github/workflows/_reusable-test-docs.yml@v1.5.2 with: node-version: 20 # The node version needs to stay in sync with .readthedocs.yml python-version: '3.11' # This needs to stay in sync with .readthedocs.yml and the tox config in pyproject.toml diff --git a/.github/workflows/update-python-and-pre-commit-dependencies.yml b/.github/workflows/update-python-and-pre-commit-dependencies.yml index eb80999f..6a9483f8 100644 --- a/.github/workflows/update-python-and-pre-commit-dependencies.yml +++ b/.github/workflows/update-python-and-pre-commit-dependencies.yml @@ -6,7 +6,7 @@ on: jobs: update-python-and-pre-commit-dependencies: if: ${{ github.actor == 'dependabot[bot]' && contains(github.head_ref, '/pip/') }} - uses: tektronix/python-package-ci-cd/.github/workflows/_reusable-update-python-and-pre-commit-dependencies.yml@v1.5.1 + uses: tektronix/python-package-ci-cd/.github/workflows/_reusable-update-python-and-pre-commit-dependencies.yml@v1.5.2 with: commit-user-name: ${{ vars.TEK_OPENSOURCE_NAME }} commit-user-email: ${{ vars.TEK_OPENSOURCE_EMAIL }} From a2b83d65ff0a0061d321f25eb97321a4620e398b Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 18 Nov 2024 09:47:58 -0800 Subject: [PATCH 2/2] python-deps(deps-dev): update ruff requirement from 0.7.3 to 0.7.4 in the python-dependencies group (#351) * python-deps(deps-dev): update ruff requirement Updates the requirements on [ruff](https://github.com/astral-sh/ruff) to permit the latest version. Updates `ruff` to 0.7.4 - [Release notes](https://github.com/astral-sh/ruff/releases) - [Changelog](https://github.com/astral-sh/ruff/blob/main/CHANGELOG.md) - [Commits](https://github.com/astral-sh/ruff/compare/0.7.3...0.7.4) --- updated-dependencies: - dependency-name: ruff dependency-type: direct:development dependency-group: python-dependencies ... Signed-off-by: dependabot[bot] * chore: Update dependencies. * chore: Revert pre-commit hook update since newer versions of the hook don't support Python 3.8. Also prevent that hook from being updated in the future. --------- Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Tektronix Bot Co-authored-by: Felt, Nicholas --- .../workflows/update-python-and-pre-commit-dependencies.yml | 2 +- .pre-commit-config.yaml | 4 ++-- docs/requirements.txt | 2 +- pyproject.toml | 2 +- tests/requirements.txt | 4 ++-- 5 files changed, 7 insertions(+), 7 deletions(-) diff --git a/.github/workflows/update-python-and-pre-commit-dependencies.yml b/.github/workflows/update-python-and-pre-commit-dependencies.yml index 6a9483f8..295f83d0 100644 --- a/.github/workflows/update-python-and-pre-commit-dependencies.yml +++ b/.github/workflows/update-python-and-pre-commit-dependencies.yml @@ -14,7 +14,7 @@ jobs: update-pre-commit: true run-pre-commit: true pre-commit-hook-skip-list: pylint,pyright,pyright-verifytypes,pyroma,poetry-audit - pre-commit-repo-update-skip-list: https://github.com/executablebooks/mdformat + pre-commit-repo-update-skip-list: https://github.com/executablebooks/mdformat,https://github.com/pappasam/toml-sort export-dependency-groups: docs,tests permissions: contents: write diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 0c1a7e6c..2185182c 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -52,7 +52,7 @@ repos: - id: actionlint additional_dependencies: [pyflakes, shellcheck-py] - repo: https://github.com/commitizen-tools/commitizen - rev: 665aa59a2794b47de0cae6fe51886d6366268194 # frozen: v3.30.1 + rev: d3f092d98dc7585ce9cb3295bafb942ca5be1886 # frozen: v3.31.0 hooks: - id: commitizen stages: [commit-msg] @@ -133,7 +133,7 @@ repos: always_run: true args: [audit, --json, --ignore-code=CVE-2019-8341] - repo: https://github.com/astral-sh/ruff-pre-commit - rev: 6a19e69c83fd6e3a3ffdd5e32a40e35c37b02218 # frozen: v0.7.3 + rev: cafecb2f683a620516412e109877570ca7648cbd # frozen: v0.7.4 hooks: - id: ruff args: [--fix, --exit-non-zero-on-fix] diff --git a/docs/requirements.txt b/docs/requirements.txt index ec988665..c5b6a360 100644 --- a/docs/requirements.txt +++ b/docs/requirements.txt @@ -51,7 +51,7 @@ soupsieve==2.6 ; python_version >= "3.8" and python_version < "4.0" super-collections==0.5.3 ; python_version >= "3.8" and python_version < "4.0" symspellpy==6.7.8 ; python_version >= "3.8" and python_version < "4.0" termcolor==2.4.0 ; python_version >= "3.8" and python_version < "4.0" -tomli==2.0.2 ; python_version >= "3.8" and python_version < "4.0" +tomli==2.1.0 ; python_version >= "3.8" and python_version < "4.0" typeguard==4.4.0 ; python_version >= "3.8" and python_version < "4.0" typing-extensions==4.12.2 ; python_version >= "3.8" and python_version < "4.0" urllib3==2.2.3 ; python_version >= "3.8" and python_version < "4.0" diff --git a/pyproject.toml b/pyproject.toml index 24e3b86c..4b93b59e 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -156,7 +156,7 @@ pytest-env = "^1.1.3" pytest-github-report = "^0.0.1" pytest-html = "^4.1.1" pytest-order = "^1.2.1" -ruff = "0.7.3" +ruff = "0.7.4" [tool.poetry.scripts] list-visa-resources = "tm_devices:print_available_visa_devices" diff --git a/tests/requirements.txt b/tests/requirements.txt index 4a24ad2a..698f4bf6 100644 --- a/tests/requirements.txt +++ b/tests/requirements.txt @@ -38,13 +38,13 @@ pytest-order==1.3.0 ; python_version >= "3.8" and python_version < "4.0" python-dateutil==2.9.0.post0 ; python_version >= "3.8" and python_version < "4.0" pytz==2024.2 ; python_version >= "3.8" and python_version < "4.0" requests==2.32.3 ; python_version >= "3.8" and python_version < "4.0" -ruff==0.7.3 ; python_version >= "3.8" and python_version < "4.0" +ruff==0.7.4 ; python_version >= "3.8" and python_version < "4.0" setuptools==75.3.0 ; python_version >= "3.8" and python_version < "4.0" six==1.16.0 ; python_version >= "3.8" and python_version < "4.0" soupsieve==2.6 ; python_version >= "3.8" and python_version < "4.0" tabledata==1.3.3 ; python_version >= "3.8" and python_version < "4.0" tcolorpy==0.1.6 ; python_version >= "3.8" and python_version < "4.0" -tomli==2.0.2 ; python_version >= "3.8" and python_full_version <= "3.11.0a6" +tomli==2.1.0 ; python_version >= "3.8" and python_full_version <= "3.11.0a6" typepy==1.3.2 ; python_version >= "3.8" and python_version < "4.0" typepy[datetime]==1.3.2 ; python_version >= "3.8" and python_version < "4.0" urllib3==2.2.3 ; python_version >= "3.8" and python_version < "4.0"