This is an automated email from the ASF dual-hosted git repository.

bossenti pushed a commit to branch fix-python-release-workflow
in repository https://gitbox.apache.org/repos/asf/streampipes.git

commit 7d99756f9d50363e7fb52de4e81b8bf01e5dab43
Author: bossenti <[email protected]>
AuthorDate: Fri Sep 22 09:21:09 2023 +0200

    fix: add missing `poetry run` command
---
 .github/workflows/pypi-deployment.yml | 4 ++--
 streampipes-client-python/Makefile    | 4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/.github/workflows/pypi-deployment.yml 
b/.github/workflows/pypi-deployment.yml
index 72fe6caf4..948d837e0 100644
--- a/.github/workflows/pypi-deployment.yml
+++ b/.github/workflows/pypi-deployment.yml
@@ -48,7 +48,7 @@ jobs:
         working-directory: ./streampipes-client-python
         run: |
           poetry build
-          twine check --strict dist/*
+          poetry run twine check --strict dist/*
 
       - name: Publish package
         uses: pypa/gh-action-pypi-publish@release/v1
@@ -59,7 +59,7 @@ jobs:
       - name: Publish new doc version and update alias
         working-directory: ./streampipes-client-python
         run: |
-          mike deploy ${GITHUB_REF##*/} latest -u --deploy-prefix 
./streampipes-client-python/docs-tmp -b ${GITHUB_REF}
+          poetry run mike deploy ${GITHUB_REF##*/} latest -u --deploy-prefix 
./streampipes-client-python/docs-tmp -b ${GITHUB_REF}
           git reset --hard  # undo local changes that delete generated doc 
files
 
       - name: Publish Python docs as artifact
diff --git a/streampipes-client-python/Makefile 
b/streampipes-client-python/Makefile
index 187b3d380..682c6c56d 100644
--- a/streampipes-client-python/Makefile
+++ b/streampipes-client-python/Makefile
@@ -17,7 +17,7 @@
 
 .PHONY: check
 check: mypy lint unit-tests
-       interrogate -c pyproject.toml
+       poetry run interrogate -c pyproject.toml
 
 .PHONY: doc
 doc:
@@ -25,7 +25,7 @@ doc:
 
 .PHONY: lint
 lint:
-       flake8 streampipes --max-line-length 120
+       poetry run flake8 streampipes --max-line-length 120
 
 .PHONY: livedoc
 livedoc: doc

Reply via email to