diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 82866aa..e4979ef 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -16,7 +16,7 @@ on: jobs: lint: name: Lint - uses: canonical/data-platform-workflows/.github/workflows/lint.yaml@v18.0.0 + uses: canonical/data-platform-workflows/.github/workflows/lint.yaml@v21.0.1 unit-test: name: Unit tests @@ -39,7 +39,7 @@ jobs: - . - tests/integration/application-charm name: Build charm - uses: canonical/data-platform-workflows/.github/workflows/build_charm.yaml@v18.0.0 + uses: canonical/data-platform-workflows/.github/workflows/build_charm.yaml@v21.0.1 with: path-to-charm-directory: ${{ matrix.path }} cache: true @@ -63,7 +63,7 @@ jobs: - lint - unit-test - build - uses: canonical/data-platform-workflows/.github/workflows/integration_test_charm.yaml@v18.0.0 + uses: canonical/data-platform-workflows/.github/workflows/integration_test_charm.yaml@v21.0.1 with: artifact-prefix: packed-charm-cache-true architecture: ${{ matrix.architecture }} diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 25457a0..45aa6ec 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -35,7 +35,7 @@ jobs: build: name: Build charm - uses: canonical/data-platform-workflows/.github/workflows/build_charm.yaml@v18.0.0 + uses: canonical/data-platform-workflows/.github/workflows/build_charm.yaml@v21.0.1 release-to-charmhub: name: Release to CharmHub @@ -43,7 +43,7 @@ jobs: - lib-check - ci-tests - build - uses: canonical/data-platform-workflows/.github/workflows/release_charm.yaml@v18.0.0 + uses: canonical/data-platform-workflows/.github/workflows/release_charm.yaml@v21.0.1 with: channel: latest/edge artifact-prefix: ${{ needs.build.outputs.artifact-prefix }} diff --git a/poetry.lock b/poetry.lock index 70ccee2..981f084 100644 --- a/poetry.lock +++ b/poetry.lock @@ -1327,19 +1327,19 @@ develop = false [package.source] type = "git" url = "https://github.com/canonical/data-platform-workflows" -reference = "v18.0.0" -resolved_reference = "da8bb57d6a9650fef8683cb76f233cd672f63db5" +reference = "v21.0.1" +resolved_reference = "06f252ea079edfd055cee236ede28c237467f9b0" subdirectory = "python/pytest_plugins/github_secrets" [[package]] name = "pytest-operator" -version = "0.35.0" +version = "0.36.0" description = "Fixtures for Operators" optional = false python-versions = "*" files = [ - {file = "pytest-operator-0.35.0.tar.gz", hash = "sha256:ed963dc013fc576e218081e95197926b7c98116c1fb5ab234269cf72e0746d5b"}, - {file = "pytest_operator-0.35.0-py3-none-any.whl", hash = "sha256:026715faba7a0d725ca386fe05a45cfc73746293d8d755be6d2a67ca252267f5"}, + {file = "pytest_operator-0.36.0-py3-none-any.whl", hash = "sha256:edab65d9d80b19fc85acddeda4a1fd3bb55a781f43ffbb6e9c4002aeeada6ad2"}, + {file = "pytest_operator-0.36.0.tar.gz", hash = "sha256:041eeabd4c9590614f78b7568c74b0d42f768815a6b5c183da8ccfc23345bea9"}, ] [package.dependencies] @@ -1365,8 +1365,8 @@ pyyaml = "*" [package.source] type = "git" url = "https://github.com/canonical/data-platform-workflows" -reference = "v18.0.0" -resolved_reference = "da8bb57d6a9650fef8683cb76f233cd672f63db5" +reference = "v21.0.1" +resolved_reference = "06f252ea079edfd055cee236ede28c237467f9b0" subdirectory = "python/pytest_plugins/pytest_operator_cache" [[package]] @@ -1384,8 +1384,8 @@ pytest = "*" [package.source] type = "git" url = "https://github.com/canonical/data-platform-workflows" -reference = "v18.0.0" -resolved_reference = "da8bb57d6a9650fef8683cb76f233cd672f63db5" +reference = "v21.0.1" +resolved_reference = "06f252ea079edfd055cee236ede28c237467f9b0" subdirectory = "python/pytest_plugins/pytest_operator_groups" [[package]] @@ -1773,4 +1773,4 @@ files = [ [metadata] lock-version = "2.0" python-versions = "^3.10" -content-hash = "7ce9e21423bf3ed84063cb63b9e6326d6b1a6c5a2c21fdac6c1cab2cf95ce0aa" +content-hash = "ca5fd9184317a3b2904b74e62543cb2bc43ddb8e33ef4d06b9b3833991ce9ad2" diff --git a/pyproject.toml b/pyproject.toml index bc39434..4b6cd25 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -2,11 +2,7 @@ # See LICENSE file for licensing details. [tool.poetry] -# Charm is not packed as a standard Python package; this information is not used -name = "charm" -version = "0.1.0" -description = "" -authors = [] +package-mode = false [tool.poetry.dependencies] python = "^3.10" @@ -40,10 +36,10 @@ parameterized = "^0.9.0" [tool.poetry.group.integration.dependencies] pytest = "^8.2.2" -pytest-github-secrets = {git = "https://github.com/canonical/data-platform-workflows", tag = "v18.0.0", subdirectory = "python/pytest_plugins/github_secrets"} -pytest-operator = "^0.35.0" -pytest-operator-cache = {git = "https://github.com/canonical/data-platform-workflows", tag = "v18.0.0", subdirectory = "python/pytest_plugins/pytest_operator_cache"} -pytest-operator-groups = {git = "https://github.com/canonical/data-platform-workflows", tag = "v18.0.0", subdirectory = "python/pytest_plugins/pytest_operator_groups"} +pytest-github-secrets = {git = "https://github.com/canonical/data-platform-workflows", tag = "v21.0.1", subdirectory = "python/pytest_plugins/github_secrets"} +pytest-operator = "^0.36.0" +pytest-operator-cache = {git = "https://github.com/canonical/data-platform-workflows", tag = "v21.0.1", subdirectory = "python/pytest_plugins/pytest_operator_cache"} +pytest-operator-groups = {git = "https://github.com/canonical/data-platform-workflows", tag = "v21.0.1", subdirectory = "python/pytest_plugins/pytest_operator_groups"} juju = "^3.5.2.0" # Testing tools configuration