From 1b514b861e2f3dbd21027e2701412940a0c30999 Mon Sep 17 00:00:00 2001 From: Tektronix Bot Date: Wed, 23 Oct 2024 15:55:58 +0000 Subject: [PATCH] 1.5.0 Automatically generated by python-semantic-release --- .../workflows/_reusable-package-release.yml | 4 +- .../workflows/_reusable-package-testpypi.yml | 2 +- .../_reusable-publish-api-comparison.yml | 2 +- .../_reusable-publish-test-results.yml | 2 +- ...ate-python-and-pre-commit-dependencies.yml | 2 +- CHANGELOG.md | 40 +++++++++++++++++++ .../create_unique_testpypi_version/readme.md | 2 +- actions/fetch_pr_number/readme.md | 2 +- .../find_unreleased_changelog_items/readme.md | 2 +- .../update_development_dependencies/readme.md | 2 +- pyproject.toml | 2 +- workflows/codeql-analysis.md | 2 +- workflows/enforce-community-standards.md | 2 +- workflows/package-build.md | 2 +- workflows/package-release.md | 2 +- workflows/package-testpypi.md | 2 +- workflows/publish-api-comparison.md | 2 +- workflows/publish-test-results.md | 2 +- workflows/sbom-scan.md | 2 +- workflows/test-code.md | 2 +- workflows/test-docs.md | 2 +- ...date-python-and-pre-commit-dependencies.md | 2 +- 22 files changed, 62 insertions(+), 22 deletions(-) diff --git a/.github/workflows/_reusable-package-release.yml b/.github/workflows/_reusable-package-release.yml index 35f9f602..8dbc22ca 100644 --- a/.github/workflows/_reusable-package-release.yml +++ b/.github/workflows/_reusable-package-release.yml @@ -107,7 +107,7 @@ jobs: previous-changelog-filepath: ${{ inputs.previous-changelog-filepath }} previous-release-notes-filepath: ${{ inputs.previous-release-notes-filepath }} - if: ${{ !endsWith(github.repository, '/python-package-ci-cd') }} # Run the public action when this is run outside the python-package-ci-cd repository - uses: tektronix/python-package-ci-cd/actions/find_unreleased_changelog_items@v1.4.1 + uses: tektronix/python-package-ci-cd/actions/find_unreleased_changelog_items@v1.5.0 with: release-level: ${{ inputs.release-level }} previous-changelog-filepath: ${{ inputs.previous-changelog-filepath }} @@ -139,7 +139,7 @@ jobs: previous-changelog-filepath: ${{ inputs.previous-changelog-filepath }} previous-release-notes-filepath: ${{ inputs.previous-release-notes-filepath }} - if: ${{ !endsWith(github.repository, '/python-package-ci-cd') }} # Run the public action when this is run outside the python-package-ci-cd repository - uses: tektronix/python-package-ci-cd/actions/find_unreleased_changelog_items@v1.4.1 + uses: tektronix/python-package-ci-cd/actions/find_unreleased_changelog_items@v1.5.0 with: previous-changelog-filepath: ${{ inputs.previous-changelog-filepath }} previous-release-notes-filepath: ${{ inputs.previous-release-notes-filepath }} diff --git a/.github/workflows/_reusable-package-testpypi.yml b/.github/workflows/_reusable-package-testpypi.yml index 374bfc63..93be1656 100644 --- a/.github/workflows/_reusable-package-testpypi.yml +++ b/.github/workflows/_reusable-package-testpypi.yml @@ -31,7 +31,7 @@ jobs: - uses: actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # v4.2.1 with: fetch-depth: 0 - - uses: tektronix/python-package-ci-cd/actions/create_unique_testpypi_version@v1.4.1 + - uses: tektronix/python-package-ci-cd/actions/create_unique_testpypi_version@v1.5.0 id: create-version with: package-name: ${{ inputs.package-name }} diff --git a/.github/workflows/_reusable-publish-api-comparison.yml b/.github/workflows/_reusable-publish-api-comparison.yml index 8829c170..b4f7fb7f 100644 --- a/.github/workflows/_reusable-publish-api-comparison.yml +++ b/.github/workflows/_reusable-publish-api-comparison.yml @@ -32,7 +32,7 @@ jobs: github-repository: ${{ github.repository }} - if: ${{ !endsWith(github.repository, '/python-package-ci-cd') }} # Run the public action when this is run outside the python-package-ci-cd repository id: fetch-pr-number - uses: tektronix/python-package-ci-cd/actions/fetch_pr_number@v1.4.1 + uses: tektronix/python-package-ci-cd/actions/fetch_pr_number@v1.5.0 with: sha: ${{ github.event.workflow_run.head_sha }} github-repository: ${{ github.repository }} diff --git a/.github/workflows/_reusable-publish-test-results.yml b/.github/workflows/_reusable-publish-test-results.yml index 932799ad..e66b3cbe 100644 --- a/.github/workflows/_reusable-publish-test-results.yml +++ b/.github/workflows/_reusable-publish-test-results.yml @@ -36,7 +36,7 @@ jobs: github-repository: ${{ github.repository }} - if: ${{ !endsWith(github.repository, '/python-package-ci-cd') }} # Run the public action when this is run outside the python-package-ci-cd repository id: fetch-pr-number - uses: tektronix/python-package-ci-cd/actions/fetch_pr_number@v1.4.1 + uses: tektronix/python-package-ci-cd/actions/fetch_pr_number@v1.5.0 with: sha: ${{ github.event.workflow_run.head_sha }} github-repository: ${{ github.repository }} diff --git a/.github/workflows/_reusable-update-python-and-pre-commit-dependencies.yml b/.github/workflows/_reusable-update-python-and-pre-commit-dependencies.yml index c4d0fb94..95d18cbd 100644 --- a/.github/workflows/_reusable-update-python-and-pre-commit-dependencies.yml +++ b/.github/workflows/_reusable-update-python-and-pre-commit-dependencies.yml @@ -99,7 +99,7 @@ jobs: pre-commit-hook-skip-list: ${{ inputs.pre-commit-hook-skip-list }} export-dependency-groups: ${{ inputs.export-dependency-groups }} - if: ${{ !endsWith(github.repository, '/python-package-ci-cd') }} # Run the public action when this is run outside the python-package-ci-cd repository - uses: tektronix/python-package-ci-cd/actions/update_development_dependencies@v1.4.1 + uses: tektronix/python-package-ci-cd/actions/update_development_dependencies@v1.5.0 with: dependency-dict: ${{ inputs.dependency-dict }} update-pre-commit: ${{ inputs.update-pre-commit }} diff --git a/CHANGELOG.md b/CHANGELOG.md index 447a3112..0dc65a7b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -18,6 +18,46 @@ Valid subsections within a version are: Things to be included in the next release go here. +### Changed + +- Bumped dependency versions. + +--- + +## v1.5.0 (2024-10-23) + +### Merged Pull Requests + +- chore(python-deps): update dependency pre-commit to v4 for actions/update_development_dependencies and dev ([#145](https://github.com/tektronix/python-package-ci-cd/pull/145)) +- chore(gh-actions-deps): update anchore/scan-action action to v5 in all dependant reusable workflows ([#169](https://github.com/tektronix/python-package-ci-cd/pull/169)) +- chore(python-deps): update dependency virtualenv to v20.27.0 in all dependant actions ([#172](https://github.com/tektronix/python-package-ci-cd/pull/172)) +- chore(python-deps): update dependency setuptools to v75.2.0 in all dependant actions ([#165](https://github.com/tektronix/python-package-ci-cd/pull/165)) +- chore(python-deps): update dependency tomli-w to v1.1.0 for actions/create_unique_testpypi_version ([#166](https://github.com/tektronix/python-package-ci-cd/pull/166)) +- chore(python-deps): update poetry dependencies in all dependant actions ([#171](https://github.com/tektronix/python-package-ci-cd/pull/171)) +- chore(python-deps): update dependency charset-normalizer to v3.4.0 in all dependant actions ([#164](https://github.com/tektronix/python-package-ci-cd/pull/164)) +- chore(python-deps): update dependency trove-classifiers to v2024.10.16 in all dependant actions ([#167](https://github.com/tektronix/python-package-ci-cd/pull/167)) +- chore: Group all poetry dependencies together when updating dependencies ([#170](https://github.com/tektronix/python-package-ci-cd/pull/170)) +- chore(python-deps): update dependency pyright to v1.1.385 for dev ([#162](https://github.com/tektronix/python-package-ci-cd/pull/162)) +- chore(python-deps): update dependency build to v1.2.2.post1 in all dependant actions ([#146](https://github.com/tektronix/python-package-ci-cd/pull/146)) +- chore(gh-actions-deps): update anchore/sbom-action action to v0.17.4 in all dependant reusable workflows ([#155](https://github.com/tektronix/python-package-ci-cd/pull/155)) +- Enable skipping pre-commit hook repos during development dependency update workflow and action ([#158](https://github.com/tektronix/python-package-ci-cd/pull/158)) +- chore(python-deps): update dependency distlib to v0.3.9 in all dependant actions ([#157](https://github.com/tektronix/python-package-ci-cd/pull/157)) +- chore(gh-actions-deps): update actions/upload-artifact action to v4.4.3 in all dependant reusable workflows ([#149](https://github.com/tektronix/python-package-ci-cd/pull/149)) +- chore(python-deps): update dependency pkginfo to v1.11.2 in all dependant actions ([#159](https://github.com/tektronix/python-package-ci-cd/pull/159)) +- chore(gh-actions-deps): update actions/checkout action to v4.2.1 in dev workflows ([#148](https://github.com/tektronix/python-package-ci-cd/pull/148)) +- chore(docker-deps): update python:3.12-alpine docker digest to 38e179a in all dependant actions ([#153](https://github.com/tektronix/python-package-ci-cd/pull/153)) +- chore(gh-actions-deps): update actions/cache action to v4.1.1 in all dependant reusable workflows ([#154](https://github.com/tektronix/python-package-ci-cd/pull/154)) +- chore(gh-actions-deps): update actions/checkout action to v4.2.1 in all dependant reusable workflows ([#147](https://github.com/tektronix/python-package-ci-cd/pull/147)) +- chore(gh-actions-deps): update github/codeql-action action to v3.26.13 in all dependant reusable workflows ([#150](https://github.com/tektronix/python-package-ci-cd/pull/150)) +- Install LTS node during reusable testing workflow ([#152](https://github.com/tektronix/python-package-ci-cd/pull/152)) +- chore(gh-actions-deps): update actions/cache action to v4.1.0 in all dependant reusable workflows ([#144](https://github.com/tektronix/python-package-ci-cd/pull/144)) +- chore(gh-actions-deps): update github/codeql-action action to v3.26.11 in all dependant reusable workflows ([#143](https://github.com/tektronix/python-package-ci-cd/pull/143)) +- chore(pre-commit-deps): pre-commit autoupdate ([#142](https://github.com/tektronix/python-package-ci-cd/pull/142)) +- chore(python-deps): update dependency tomli to v2.0.2 for actions/create_unique_testpypi_version and docs ([#140](https://github.com/tektronix/python-package-ci-cd/pull/140)) +- chore(gh-actions-deps): update codecov/codecov-action action to v4.6.0 in all dependant reusable workflows ([#139](https://github.com/tektronix/python-package-ci-cd/pull/139)) +- chore(gh-actions-deps): update github/codeql-action action to v3.26.10 in all dependant reusable workflows ([#138](https://github.com/tektronix/python-package-ci-cd/pull/138)) +- docs: Update changelog to address mdformat issues ([#137](https://github.com/tektronix/python-package-ci-cd/pull/137)) + ### Added - Added a new `pre-commit-repo-update-skip-list` input parameter to the `update_development_dependencies` action and the `_reusable-update-python-and-pre-commit-dependencies.yml` workflow to allow users to skip updating specific `pre-commit` hooks. diff --git a/actions/create_unique_testpypi_version/readme.md b/actions/create_unique_testpypi_version/readme.md index 3dbaeea3..e06bc224 100644 --- a/actions/create_unique_testpypi_version/readme.md +++ b/actions/create_unique_testpypi_version/readme.md @@ -37,7 +37,7 @@ jobs: - uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 with: fetch-depth: 0 - - uses: tektronix/python-package-ci-cd/actions/create_unique_testpypi_version@v1.4.1 + - uses: tektronix/python-package-ci-cd/actions/create_unique_testpypi_version@v1.5.0 id: create-version with: package-name: my-package # required diff --git a/actions/fetch_pr_number/readme.md b/actions/fetch_pr_number/readme.md index 409b8d4c..67daa534 100644 --- a/actions/fetch_pr_number/readme.md +++ b/actions/fetch_pr_number/readme.md @@ -28,7 +28,7 @@ jobs: publish-results: runs-on: ubuntu-latest steps: - - uses: tektronix/python-package-ci-cd/actions/fetch_pr_number@v1.4.1 + - uses: tektronix/python-package-ci-cd/actions/fetch_pr_number@v1.5.0 id: fetch-pr-number with: sha: ${{ github.event.workflow_run.head_sha }} # required diff --git a/actions/find_unreleased_changelog_items/readme.md b/actions/find_unreleased_changelog_items/readme.md index 1acd5dfd..33d26ebe 100644 --- a/actions/find_unreleased_changelog_items/readme.md +++ b/actions/find_unreleased_changelog_items/readme.md @@ -53,7 +53,7 @@ jobs: with: fetch-depth: 0 fetch-tags: true - - uses: tektronix/python-package-ci-cd/actions/find_unreleased_changelog_items@v1.4.1 + - uses: tektronix/python-package-ci-cd/actions/find_unreleased_changelog_items@v1.5.0 with: release-level: ${{ inputs.release-level }} # optional previous-changelog-filepath: .previous_changelog_for_template.md # optional diff --git a/actions/update_development_dependencies/readme.md b/actions/update_development_dependencies/readme.md index d3e201b0..e213439e 100644 --- a/actions/update_development_dependencies/readme.md +++ b/actions/update_development_dependencies/readme.md @@ -47,7 +47,7 @@ jobs: ref: ${{ github.head_ref }} token: ${{ secrets.checkout-token }} - - uses: tektronix/python-package-ci-cd/actions/update_development_dependencies@v1.4.1 + - uses: tektronix/python-package-ci-cd/actions/update_development_dependencies@v1.5.0 with: repo-root: . # optional, defaults to the current working directory install-dependencies: false # optional, this will almost never need to be set to true diff --git a/pyproject.toml b/pyproject.toml index 807a4942..eaa97a4c 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -28,7 +28,7 @@ wrap-summaries = 0 [tool.poetry] license = "Apache-2.0" package-mode = false -version = "1.4.1" +version = "1.5.0" [tool.poetry.dependencies] python = "~3.12" # This needs to stay in sync with all CI workflows diff --git a/workflows/codeql-analysis.md b/workflows/codeql-analysis.md index 7c86b20e..413e94f2 100644 --- a/workflows/codeql-analysis.md +++ b/workflows/codeql-analysis.md @@ -43,7 +43,7 @@ on: branches: [main] jobs: analyze: - uses: tektronix/python-package-ci-cd/.github/workflows/_reusable-codeql-analysis.yml@v1.4.1 + uses: tektronix/python-package-ci-cd/.github/workflows/_reusable-codeql-analysis.yml@v1.5.0 with: languages-array: '["python", "javascript"]' codeql-queries: security-extended,security-and-quality diff --git a/workflows/enforce-community-standards.md b/workflows/enforce-community-standards.md index 60c52c91..7c3c192b 100644 --- a/workflows/enforce-community-standards.md +++ b/workflows/enforce-community-standards.md @@ -43,7 +43,7 @@ on: branches: [main] jobs: enforce-community-standards: - uses: tektronix/python-package-ci-cd/.github/workflows/_reusable-enforce-community-standards.yml@v1.4.1 + uses: tektronix/python-package-ci-cd/.github/workflows/_reusable-enforce-community-standards.yml@v1.5.0 ``` [workflow-file]: ../.github/workflows/_reusable-enforce-community-standards.yml diff --git a/workflows/package-build.md b/workflows/package-build.md index 626a3a81..00f4b361 100644 --- a/workflows/package-build.md +++ b/workflows/package-build.md @@ -63,7 +63,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.4.1 + uses: tektronix/python-package-ci-cd/.github/workflows/_reusable-package-build.yml@v1.5.0 with: package-name: my_package # required python-versions-array: '["3.9", "3.10", "3.11", "3.12"]' # required diff --git a/workflows/package-release.md b/workflows/package-release.md index 6920e051..49424e30 100644 --- a/workflows/package-release.md +++ b/workflows/package-release.md @@ -135,7 +135,7 @@ concurrency: # This concurrency is not required, but can be added if extra cont group: pypi jobs: package-release: - uses: tektronix/python-package-ci-cd/.github/workflows/_reusable-package-release.yml@v1.4.1 + uses: tektronix/python-package-ci-cd/.github/workflows/_reusable-package-release.yml@v1.5.0 with: package-name: my-package # required repo-name: owner/my-package # required diff --git a/workflows/package-testpypi.md b/workflows/package-testpypi.md index c97cfce8..fd79ddf9 100644 --- a/workflows/package-testpypi.md +++ b/workflows/package-testpypi.md @@ -72,7 +72,7 @@ concurrency: # This concurrency is not required, but can be added if extra cont group: pypi jobs: package-testpypi: - uses: tektronix/python-package-ci-cd/.github/workflows/_reusable-package-testpypi.yml@v1.4.1 + uses: tektronix/python-package-ci-cd/.github/workflows/_reusable-package-testpypi.yml@v1.5.0 with: package-name: my-package # required repo-name: owner/my-package # required diff --git a/workflows/publish-api-comparison.md b/workflows/publish-api-comparison.md index 631beb3e..cf9ed580 100644 --- a/workflows/publish-api-comparison.md +++ b/workflows/publish-api-comparison.md @@ -46,7 +46,7 @@ on: types: [completed] jobs: publish-api-comparison: - uses: tektronix/python-package-ci-cd/.github/workflows/_reusable-publish-api-comparison.yml@v1.4.1 + uses: tektronix/python-package-ci-cd/.github/workflows/_reusable-publish-api-comparison.yml@v1.5.0 permissions: checks: write pull-requests: write diff --git a/workflows/publish-test-results.md b/workflows/publish-test-results.md index 53ed2d53..09d5c140 100644 --- a/workflows/publish-test-results.md +++ b/workflows/publish-test-results.md @@ -56,7 +56,7 @@ on: types: [completed] jobs: publish-test-results: - uses: tektronix/python-package-ci-cd/.github/workflows/_reusable-publish-test-results.yml@v1.4.1 + uses: tektronix/python-package-ci-cd/.github/workflows/_reusable-publish-test-results.yml@v1.5.0 with: operating-systems-array: '["ubuntu", "windows", "macos"]' # required permissions: diff --git a/workflows/sbom-scan.md b/workflows/sbom-scan.md index 6a279fed..65dd67a5 100644 --- a/workflows/sbom-scan.md +++ b/workflows/sbom-scan.md @@ -51,7 +51,7 @@ on: types: [published] jobs: sbom-scan: - uses: tektronix/python-package-ci-cd/.github/workflows/_reusable-sbom-scan.yml@v1.4.1 + uses: tektronix/python-package-ci-cd/.github/workflows/_reusable-sbom-scan.yml@v1.5.0 permissions: security-events: write contents: write diff --git a/workflows/test-code.md b/workflows/test-code.md index 19466493..e0cc9add 100644 --- a/workflows/test-code.md +++ b/workflows/test-code.md @@ -134,7 +134,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.4.1 + uses: tektronix/python-package-ci-cd/.github/workflows/_reusable-test-code.yml@v1.5.0 with: repo-name: owner/repo # required operating-systems-array: '["ubuntu", "windows", "macos"]' # optional diff --git a/workflows/test-docs.md b/workflows/test-docs.md index 70d6001f..51c852a7 100644 --- a/workflows/test-docs.md +++ b/workflows/test-docs.md @@ -89,7 +89,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.4.1 + uses: tektronix/python-package-ci-cd/.github/workflows/_reusable-test-docs.yml@v1.5.0 with: node-version: 20 # required python-version: '3.11' # required diff --git a/workflows/update-python-and-pre-commit-dependencies.md b/workflows/update-python-and-pre-commit-dependencies.md index df534739..cd135f9e 100644 --- a/workflows/update-python-and-pre-commit-dependencies.md +++ b/workflows/update-python-and-pre-commit-dependencies.md @@ -58,7 +58,7 @@ on: jobs: update-python-and-pre-commit-dependencies: if: ${{ github.actor == 'dependabot[bot]' && contains(github.head_ref, '/pip/') }} # Only run the job for Dependabot PRs - uses: tektronix/python-package-ci-cd/.github/workflows/_reusable-update-python-and-pre-commit-dependencies.yml@v1.4.1 + uses: tektronix/python-package-ci-cd/.github/workflows/_reusable-update-python-and-pre-commit-dependencies.yml@v1.5.0 with: commit-user-name: 'User Name' commit-user-email: 'user-email'