From 487dab5354ace3dd575c8cf100a3e522c1dd3a79 Mon Sep 17 00:00:00 2001 From: Jaspar Stach Date: Tue, 7 Jan 2025 10:04:58 +0100 Subject: [PATCH] Deps: (Temp) pin poetry version to 1.8.0 (#1315) Deps: (Temp) pin poetry version to 1.8.0 --- backport-pull-request/README.md | 2 +- backport-pull-request/action.yml | 1 + conventional-commits/README.md | 2 +- coverage-python/README.md | 2 +- coverage-python/action.yaml | 1 + download-artifact/action.yml | 1 + helm-version-upgrade/action.yml | 1 + lint-python/README.md | 2 +- lint-python/action.yaml | 1 + mypy-python/README.md | 2 +- mypy-python/action.yaml | 1 + oci-info/README.md | 2 +- oci-info/action.yml | 1 + poetry/README.md | 2 +- pr-conventional-commit-labeler/README.md | 2 +- pr-conventional-commit-labeler/action.yml | 1 + trigger-workflow/action.yml | 1 + 17 files changed, 17 insertions(+), 8 deletions(-) diff --git a/backport-pull-request/README.md b/backport-pull-request/README.md index 154ea800..579cdfd1 100644 --- a/backport-pull-request/README.md +++ b/backport-pull-request/README.md @@ -55,7 +55,7 @@ workflow file of the backport action. | config | TOML based configuration file for backporting pull requests | Optional (default is `backport.toml`) | | username | GitHub user name to use for the backported commits | Optional (by default github.actor is used) | | python-version | Python version to use for running the action | Optional (default is `3.10`) | -| poetry-version | Poetry version to use for running the action | Optional (default is latest) | +| poetry-version | Poetry version to use for running the action | Optional (default is `1.8.0`) | ## TOML Configuration diff --git a/backport-pull-request/action.yml b/backport-pull-request/action.yml index fc0c1173..42b1670a 100644 --- a/backport-pull-request/action.yml +++ b/backport-pull-request/action.yml @@ -16,6 +16,7 @@ inputs: default: "3.10" poetry-version: description: "Use a specific poetry version. By default the latest release is used." + default: "1.8.0" cache-poetry-installation: description: "Cache poetry and its dependencies. Default is 'true'. Set to an other string then 'true' to disable the cache." default: "true" diff --git a/conventional-commits/README.md b/conventional-commits/README.md index c42eee7f..9a2fef51 100644 --- a/conventional-commits/README.md +++ b/conventional-commits/README.md @@ -51,7 +51,7 @@ jobs: |--------------|-----------|-| | token | GitHub token to create the pull request comments. | Optional (default is [`${{ github.token }}`](https://docs.github.com/en/actions/learn-github-actions/contexts#github-context)) | | python-version | Python version to use for running the action. | Optional (default is `3.10`) | -| poetry-version | Poetry version to use for running the action. | Optional (default is latest) | +| poetry-version | Poetry version to use for running the action. | Optional (default is `1.8.0`) | | cache-poetry-installation | Cache poetry and its dependencies. | Optional (default is `"true"`) | | head-ref | End ref where to look for conventional commits. | Optional (default is`${{ github.event.pull_request.head.sha }}`). | | base-ref | Start ref where to look for conventional commits. | Optional (default is `${{ github.event.pull_request.base.sha }}`). | diff --git a/coverage-python/README.md b/coverage-python/README.md index 832ff691..aaba0bf2 100644 --- a/coverage-python/README.md +++ b/coverage-python/README.md @@ -26,7 +26,7 @@ jobs: |-------|-------------|-| | python-version | Python version that should be installed | Optional (default: "3.10") | | test-command | Command to run the unit tests | Optional (default: `"-m unittest"`) -| poetry-version | Use a specific poetry version. By default the latest release is used. | Optional | +| poetry-version | Use a specific poetry version. By default the latest release is used. | Optional (default `1.8.0`) | | cache | Cache dependencies by setting it to `"true"`. | Optional | | cache-dependency-path | "Used to specify the path to dependency files. Supports wildcards or a list of file names for caching multiple dependencies. | Optional | | cache-poetry-installation | Cache poetry and its dependencies by setting it to `"true"`. | Optional | diff --git a/coverage-python/action.yaml b/coverage-python/action.yaml index c0479d76..3f5c16d7 100644 --- a/coverage-python/action.yaml +++ b/coverage-python/action.yaml @@ -14,6 +14,7 @@ inputs: description: "Upload token for codecov.io. Required for private repositories." poetry-version: description: "Use a specific poetry version. By default the latest release is used." + default: "1.8.0" cache: description: "Cache dependencies by setting it to 'true'." cache-dependency-path: diff --git a/download-artifact/action.yml b/download-artifact/action.yml index 03b10a8f..7a2c4553 100644 --- a/download-artifact/action.yml +++ b/download-artifact/action.yml @@ -41,6 +41,7 @@ inputs: default: "3.10" poetry-version: description: "Use a specific poetry version. By default the latest release is used." + default: "1.8.0" cache-poetry-installation: description: "Cache poetry and its dependencies. Default is 'true'. Set to an other string then 'true' to disable the cache." default: "true" diff --git a/helm-version-upgrade/action.yml b/helm-version-upgrade/action.yml index 8334c941..52b2d75e 100644 --- a/helm-version-upgrade/action.yml +++ b/helm-version-upgrade/action.yml @@ -42,6 +42,7 @@ inputs: default: "3.11" poetry-version: description: "Use a specific poetry version. By default the latest release is used." + default: "1.8.0" cache-poetry-installation: description: "Cache poetry and its dependencies. Default is 'true'. Set to an other string then 'true' to disable the cache." default: "true" diff --git a/lint-python/README.md b/lint-python/README.md index e9609816..d09eeb8c 100644 --- a/lint-python/README.md +++ b/lint-python/README.md @@ -26,7 +26,7 @@ jobs: |--------------|-----------|-| | packages | Python packages to lint | Required | | python-version | Python version to use for running the action. | Optional (default is `3.10`) | -| poetry-version | Use a specific poetry version. By default the latest release is used. | Optional (default latest poetry version) | +| poetry-version | Use a specific poetry version. By default the latest release is used. | Optional (default `1.8.0` poetry version) | | cache | Cache dependencies by setting it to `"true"`. Leave unset or set to an other string then `"true"` to disable the cache. | Optional | | cache-dependency-path | Used to specify the path to dependency files. Supports wildcards or a list of file names for caching multiple dependencies. | Optional | | cache-poetry-installation | "Cache poetry and its dependencies. Default is `"true"`. Set to an other string then `"true"` to disable the cache." | Optional (default: `"true"`) | diff --git a/lint-python/action.yaml b/lint-python/action.yaml index 284206d8..9102892f 100644 --- a/lint-python/action.yaml +++ b/lint-python/action.yaml @@ -11,6 +11,7 @@ inputs: default: "3.10" poetry-version: description: "Use a specific poetry version. By default the latest release is used." + default: "1.8.0" cache: description: "Cache dependencies by setting it to 'true'. Leave unset or set to an other string then 'true' to disable the cache." cache-dependency-path: diff --git a/mypy-python/README.md b/mypy-python/README.md index 8c54770d..d5fdf835 100644 --- a/mypy-python/README.md +++ b/mypy-python/README.md @@ -27,7 +27,7 @@ jobs: | packages | Python packages to check | Required | | mypy-arguments | Additional arguments to mypy | Optional | | python-version | Python version to use for running the action. | Optional (default is `3.10`) | -| poetry-version | Use a specific poetry version. By default the latest release is used. | Optional (default latest poetry version) | +| poetry-version | Use a specific poetry version. By default the latest release is used. | Optional (default `1.8.0` poetry version) | | cache | Cache dependencies by setting it to `"true"`. Leave unset or set to an other string then `"true"` to disable the cache. | Optional | | cache-dependency-path | Used to specify the path to dependency files. Supports wildcards or a list of file names for caching multiple dependencies. | Optional | | cache-poetry-installation | "Cache poetry and its dependencies. Default is `"true"`. Set to an other string then `"true"` to disable the cache." | Optional (default: `"true"`) | diff --git a/mypy-python/action.yaml b/mypy-python/action.yaml index cbaecb81..16019064 100644 --- a/mypy-python/action.yaml +++ b/mypy-python/action.yaml @@ -14,6 +14,7 @@ inputs: default: "3.10" poetry-version: description: "Use a specific poetry version. By default the latest release is used." + default: "1.8.0" install-dependencies: description: "Install project dependencies. Default is 'true'. Set to an other string then 'true' to not install the dependencies." default: "true" diff --git a/oci-info/README.md b/oci-info/README.md index d47ce379..0e0b23ab 100644 --- a/oci-info/README.md +++ b/oci-info/README.md @@ -47,7 +47,7 @@ jobs: | compare-user | User for the compare registry login. | Optional | | compare-password | Password for the compare registry login. | Optional | | python-version | Python version to use for running the action. Default is 3.11 . | Optional | -| poetry-version | Use a specific poetry version. By default the latest release is used. | Optional | +| poetry-version | Use a specific poetry version. By default the `1.8.0` release is used. | Optional | | cache-poetry-installation | Cache poetry and its dependencies. Default is 'true'. Set to an other string then 'true' to disable the cache. | Optional | ## Action Output diff --git a/oci-info/action.yml b/oci-info/action.yml index 9fbfb3a3..c48affe1 100644 --- a/oci-info/action.yml +++ b/oci-info/action.yml @@ -51,6 +51,7 @@ inputs: default: "3.11" poetry-version: description: "Use a specific poetry version. By default the latest release is used." + default: "1.8.0" cache-poetry-installation: description: "Cache poetry and its dependencies. Default is 'true'. Set to an other string then 'true' to disable the cache." default: "true" diff --git a/poetry/README.md b/poetry/README.md index 949ffcb8..9e6ea859 100644 --- a/poetry/README.md +++ b/poetry/README.md @@ -44,5 +44,5 @@ jobs: | cache | Cache dependencies by setting it to 'true'. Leave unset or set to an other string then 'true' to disable the cache. | Optional | | cache-dependency-path | Used to specify the path to dependency files. Supports wildcards or a list of file names for caching multiple dependencies. See [https://github.com/actions/setup-python#caching-packages-dependencies](https://github.com/actions/setup-python#caching-packages-dependencies) for more details. | Optional | | cache-poetry-installation | Cache poetry and its dependencies by setting it to 'true'. | Optional. Disabled by default. | -| poetry-version | Use a specific poetry version. By default the latest release is used. | Optional (default is latest version) | +| poetry-version | Use a specific poetry version. By default the latest release is used. | Optional (default is `1.8.0` version) | | python-version | Python version that should be installed and used. | Optional (default: "3.10") | diff --git a/pr-conventional-commit-labeler/README.md b/pr-conventional-commit-labeler/README.md index 5f54aabb..2f95e9d0 100644 --- a/pr-conventional-commit-labeler/README.md +++ b/pr-conventional-commit-labeler/README.md @@ -72,7 +72,7 @@ jobs: |--------------|-----------|-| | token | GitHub token to add lebels to the pull request comments. | Optional (default is [`${{ github.token }}`](https://docs.github.com/en/actions/learn-github-actions/contexts#github-context)) | | python-version | Python version to use for running the action. | Optional (default is `3.10`) | -| poetry-version | Poetry version to use for running the action. | Optional (default is latest) | +| poetry-version | Poetry version to use for running the action. | Optional (default is `1.8.0`) | | cache-poetry-installation | Cache poetry and its dependencies. | Optional (default is `"true"`) | | configuration-toml| Name of the configuration file, must be relative to `github.workspace` | Required | | pr | Number of the Pull Request (PR) | Optional (default is ${{ github.event.pull_request.number }} | diff --git a/pr-conventional-commit-labeler/action.yml b/pr-conventional-commit-labeler/action.yml index b3b3d099..6e80bb23 100644 --- a/pr-conventional-commit-labeler/action.yml +++ b/pr-conventional-commit-labeler/action.yml @@ -10,6 +10,7 @@ inputs: default: "3.10" poetry-version: description: "Use a specific poetry version. By default the latest release is used." + default: "1.8.0" cache-poetry-installation: description: "Cache poetry and its dependencies. Default is 'true'. Set to an other string then 'true' to disable the cache." default: "true" diff --git a/trigger-workflow/action.yml b/trigger-workflow/action.yml index daece09b..bcb7d4b1 100644 --- a/trigger-workflow/action.yml +++ b/trigger-workflow/action.yml @@ -33,6 +33,7 @@ inputs: default: "3.10" poetry-version: description: "Use a specific poetry version. By default the latest release is used." + default: "1.8.0" cache-poetry-installation: description: "Cache poetry and its dependencies. Default is 'true'. Set to an other string then 'true' to disable the cache." default: "true"