From d74e8313d3285717786c1c6e8cc043953ea6393d Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 6 Jan 2025 23:20:31 +0000 Subject: [PATCH 1/2] gh-actions(deps): bump tektronix/python-package-ci-cd 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.3 to 1.6.1 - [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.3...v1.6.1) --- updated-dependencies: - dependency-name: tektronix/python-package-ci-cd dependency-type: direct:production update-type: version-update:semver-minor dependency-group: gh-actions-dependencies ... Signed-off-by: dependabot[bot] --- .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 fc11795..cda9483 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.3 + uses: tektronix/python-package-ci-cd/.github/workflows/_reusable-check-api-for-breaking-changes.yml@v1.6.1 with: package-name: tm_data_types diff --git a/.github/workflows/codeql-analysis.yml b/.github/workflows/codeql-analysis.yml index ee220ac..6716343 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.3 + uses: tektronix/python-package-ci-cd/.github/workflows/_reusable-codeql-analysis.yml@v1.6.1 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 71f21ba..f41ab92 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.3 + uses: tektronix/python-package-ci-cd/.github/workflows/_reusable-enforce-community-standards.yml@v1.6.1 diff --git a/.github/workflows/package-build.yml b/.github/workflows/package-build.yml index 2d788de..e86638c 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.3 + uses: tektronix/python-package-ci-cd/.github/workflows/_reusable-package-build.yml@v1.6.1 with: package-name: tm_data_types python-versions-array: '["3.8", "3.9", "3.10", "3.11", "3.12"]' # 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 d7e263c..68fe26d 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.3 + uses: tektronix/python-package-ci-cd/.github/workflows/_reusable-package-release.yml@v1.6.1 with: package-name: tm_data_types repo-name: tektronix/tm_data_types diff --git a/.github/workflows/package-testpypi.yml b/.github/workflows/package-testpypi.yml index 32d6930..ca85833 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.3 + uses: tektronix/python-package-ci-cd/.github/workflows/_reusable-package-testpypi.yml@v1.6.1 with: package-name: tm_data_types repo-name: tektronix/tm_data_types diff --git a/.github/workflows/publish-api-comparison.yml b/.github/workflows/publish-api-comparison.yml index 41bece2..2667d97 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.3 + uses: tektronix/python-package-ci-cd/.github/workflows/_reusable-publish-api-comparison.yml@v1.6.1 permissions: checks: write pull-requests: write diff --git a/.github/workflows/publish-test-results.yml b/.github/workflows/publish-test-results.yml index 8b965ea..9455c93 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.3 + uses: tektronix/python-package-ci-cd/.github/workflows/_reusable-publish-test-results.yml@v1.6.1 with: operating-systems-array: '["ubuntu", "windows", "macos"]' permissions: diff --git a/.github/workflows/sbom-scan.yml b/.github/workflows/sbom-scan.yml index 935bfdd..538f53a 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.3 + uses: tektronix/python-package-ci-cd/.github/workflows/_reusable-sbom-scan.yml@v1.6.1 permissions: security-events: write contents: write diff --git a/.github/workflows/test-code.yml b/.github/workflows/test-code.yml index 1abfd1c..10078c3 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.3 + uses: tektronix/python-package-ci-cd/.github/workflows/_reusable-test-code.yml@v1.6.1 with: repo-name: tektronix/tm_data_types operating-systems-array: '["ubuntu", "windows", "macos"]' diff --git a/.github/workflows/test-docs.yml b/.github/workflows/test-docs.yml index 46e6312..524f13a 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.3 + uses: tektronix/python-package-ci-cd/.github/workflows/_reusable-test-docs.yml@v1.6.1 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 7dfccf9..25c15ef 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.3 + uses: tektronix/python-package-ci-cd/.github/workflows/_reusable-update-python-and-pre-commit-dependencies.yml@v1.6.1 with: commit-user-name: ${{ vars.TEK_OPENSOURCE_NAME }} commit-user-email: ${{ vars.TEK_OPENSOURCE_EMAIL }} From 18153f2056cce788b365a91e170b2d1be9231fb3 Mon Sep 17 00:00:00 2001 From: Nicholas Felt Date: Tue, 7 Jan 2025 07:52:45 -0800 Subject: [PATCH 2/2] ci: Update tox config to enable poetry to update itself --- pyproject.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index ac85d38..7f09ddf 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -365,7 +365,7 @@ setenv = # Skip pre-commit checks that are not needed (yamlfix should be removed from this list once Python 3.8 support is dropped) SKIP = file-contents-sorter,yamlfix commands_pre = - poetry install --no-root --without=main + python -m poetry install --no-root --without=main commands = !tests: poetry build --output=dist_{envname} !tests: twine check --strict dist_{envname}/*