diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 903bad5..e25f305 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -28,7 +28,7 @@ jobs: fetch-depth: 0 - name: Python Semantic Release id: release - uses: python-semantic-release/python-semantic-release@v9.8.0 + uses: python-semantic-release/python-semantic-release@v9.8.7 with: github_token: ${{ secrets.GITHUB_TOKEN }} - name: Check release diff --git a/Makefile b/Makefile index 98a992f..718d7e0 100644 --- a/Makefile +++ b/Makefile @@ -10,6 +10,12 @@ install: install-dev: python -m pip install ".[dev]" +# Direct dependency is not allowed for Pypi packaging even if the dependant module is defined as extra dependencies. +# Workaround: Move to manual installation by make +.PHONY: install-detect-descret +install-detect-descret: + python -m pip install detect-secrets@git+https://github.com/ibm/detect-secrets.git@master#egg=detect-secrets + .PHONY: uninstall uninstall: python -m pip uninstall compliance-to-policy diff --git a/pyproject.toml b/pyproject.toml index 75da099..fd21f61 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -52,8 +52,6 @@ dev = [ "black", "isort", "pylint", - ## Security tools - "detect-secrets@git+https://github.com/ibm/detect-secrets.git@master#egg=detect-secrets" ] [project.urls]