diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index 5a51a99..1e3853f 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -6,13 +6,16 @@ on: branches: - main +permissions: + contents: read + jobs: lint: runs-on: ubuntu-latest steps: - uses: actions/checkout@v5 - name: Set up Python - uses: actions/setup-python@v5 + uses: actions/setup-python@v6 with: python-version: "3.13" - name: Install dependencies diff --git a/.github/workflows/pr_title.yml b/.github/workflows/pr_title.yml index 8511fa9..8a6f52a 100644 --- a/.github/workflows/pr_title.yml +++ b/.github/workflows/pr_title.yml @@ -7,6 +7,9 @@ on: - edited - synchronize +permissions: + pull-requests: read + jobs: main: name: Validate PR title @@ -44,7 +47,7 @@ jobs: # special "[WIP]" prefix to indicate this state. This will avoid the # validation of the PR title and the pull request checks remain pending. # Note that a second check will be reported if this is enabled. - wip: true + wip: false # When using "Squash and merge" on a PR with only one commit, GitHub # will suggest using that commit message instead of the PR title for the # merge commit, and it's easy to commit this by mistake. Enable this option diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 4a4208e..8c0bdde 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -2,27 +2,30 @@ name: publish on: push: tags: - - 'v*.*.*' + - "v*.*.*" + +permissions: + contents: read jobs: - pypi-publish: - name: upload release to PyPI - runs-on: ubuntu-latest - permissions: - # IMPORTANT: this permission is mandatory for trusted publishing - id-token: write - steps: - - name: Checkout - uses: actions/checkout@v5 - - name: Set up Python - uses: actions/setup-python@v5 - with: - python-version: '3.13' - - name: Install dependencies - run: | - pip install -r requirements.txt - pip install build - - name: Build package - run: python -m build - - name: Publish package distributions to PyPI - uses: pypa/gh-action-pypi-publish@release/v1 + pypi-publish: + name: upload release to PyPI + runs-on: ubuntu-latest + permissions: + # IMPORTANT: this permission is mandatory for trusted publishing + id-token: write + steps: + - name: Checkout + uses: actions/checkout@v5 + - name: Set up Python + uses: actions/setup-python@v6 + with: + python-version: "3.13" + - name: Install dependencies + run: | + pip install -r requirements.txt + pip install build + - name: Build package + run: python -m build + - name: Publish package distributions to PyPI + uses: pypa/gh-action-pypi-publish@release/v1 diff --git a/.github/workflows/regen.yml b/.github/workflows/regen.yml index dc062f2..baff0d2 100644 --- a/.github/workflows/regen.yml +++ b/.github/workflows/regen.yml @@ -12,7 +12,7 @@ jobs: - name: Checkout uses: actions/checkout@v5 - name: Set up Python - uses: actions/setup-python@v5 + uses: actions/setup-python@v6 with: python-version: '3.13' - name: Install dependencies diff --git a/.github/workflows/release_pr.yml b/.github/workflows/release_pr.yml index a431fe5..5cbe3ae 100644 --- a/.github/workflows/release_pr.yml +++ b/.github/workflows/release_pr.yml @@ -4,6 +4,9 @@ on: branches: - main +permissions: + contents: read + jobs: release-please: runs-on: ubuntu-latest diff --git a/.github/workflows/unittest.yml b/.github/workflows/unittest.yml index ace8939..17583dc 100644 --- a/.github/workflows/unittest.yml +++ b/.github/workflows/unittest.yml @@ -6,6 +6,9 @@ on: branches: - main +permissions: + contents: read + jobs: test: timeout-minutes: 30 @@ -14,9 +17,9 @@ jobs: - name: Checkout uses: actions/checkout@v5 - name: Set up Python - uses: actions/setup-python@v5 + uses: actions/setup-python@v6 with: - python-version: '3.13' + python-version: "3.13" - name: Install dependencies run: | pip install --upgrade pip diff --git a/.release-please-manifest.json b/.release-please-manifest.json index 7184724..22dddff 100644 --- a/.release-please-manifest.json +++ b/.release-please-manifest.json @@ -1,3 +1,3 @@ { - ".": "0.0.47" + ".": "0.0.48" } diff --git a/CHANGELOG.md b/CHANGELOG.md index 6876e73..b14a6cb 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,16 @@ # Changelog +## [0.0.48](https://github.com/cloudquery/plugin-pb-python/compare/v0.0.47...v0.0.48) (2025-10-01) + + +### Bug Fixes + +* **deps:** Update dependency black to v25.9.0 ([#182](https://github.com/cloudquery/plugin-pb-python/issues/182)) ([d14d469](https://github.com/cloudquery/plugin-pb-python/commit/d14d469d9963b54889fb7fe436afd9e4fcafefd5)) +* **deps:** Update dependency grpcio to v1.75.0 ([#184](https://github.com/cloudquery/plugin-pb-python/issues/184)) ([0f86305](https://github.com/cloudquery/plugin-pb-python/commit/0f86305f8c008a2367477be7bdcc0e60f875759a)) +* **deps:** Update dependency grpcio-tools to v1.75.0 ([#185](https://github.com/cloudquery/plugin-pb-python/issues/185)) ([72a8929](https://github.com/cloudquery/plugin-pb-python/commit/72a892963422b099fe9c83aa01337cf4e5c20e2b)) +* **deps:** Update dependency pytest to v8.4.2 ([#181](https://github.com/cloudquery/plugin-pb-python/issues/181)) ([dba629c](https://github.com/cloudquery/plugin-pb-python/commit/dba629cfc5cef8a69f0760f60e9bfff015c3dc87)) +* Generate Python Code from `plugin-pb` ([#187](https://github.com/cloudquery/plugin-pb-python/issues/187)) ([85223aa](https://github.com/cloudquery/plugin-pb-python/commit/85223aab25b4f6d500a844669c36043c0c717371)) + ## [0.0.47](https://github.com/cloudquery/plugin-pb-python/compare/v0.0.46...v0.0.47) (2025-09-01) diff --git a/cloudquery/discovery_v1/discovery_pb2_grpc.py b/cloudquery/discovery_v1/discovery_pb2_grpc.py index 2215b36..fedd7fa 100644 --- a/cloudquery/discovery_v1/discovery_pb2_grpc.py +++ b/cloudquery/discovery_v1/discovery_pb2_grpc.py @@ -5,7 +5,7 @@ from cloudquery.discovery_v1 import discovery_pb2 as cloudquery_dot_discovery__v1_dot_discovery__pb2 -GRPC_GENERATED_VERSION = '1.74.0' +GRPC_GENERATED_VERSION = '1.75.0' GRPC_VERSION = grpc.__version__ _version_not_supported = False diff --git a/cloudquery/plugin_v3/plugin_pb2_grpc.py b/cloudquery/plugin_v3/plugin_pb2_grpc.py index 898585c..f830171 100644 --- a/cloudquery/plugin_v3/plugin_pb2_grpc.py +++ b/cloudquery/plugin_v3/plugin_pb2_grpc.py @@ -5,7 +5,7 @@ from cloudquery.plugin_v3 import plugin_pb2 as cloudquery_dot_plugin__v3_dot_plugin__pb2 -GRPC_GENERATED_VERSION = '1.74.0' +GRPC_GENERATED_VERSION = '1.75.0' GRPC_VERSION = grpc.__version__ _version_not_supported = False diff --git a/requirements.txt b/requirements.txt index 701f00f..0b172eb 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,6 +1,6 @@ -black==25.1.0 -grpcio-tools==1.74.0 -grpcio==1.74.0 +black==25.9.0 +grpcio-tools==1.75.0 +grpcio==1.75.0 protobuf>=6.30.0 pyarrow==21.0.0 -pytest==8.4.1 +pytest==8.4.2 diff --git a/setup.py b/setup.py index 740e670..c4ed8c7 100644 --- a/setup.py +++ b/setup.py @@ -37,7 +37,7 @@ ] setuptools.setup( name=name, - version="0.0.47", + version="0.0.48", description=description, long_description=long_description, author="CloudQuery LTD",