From 649d213b294a4cfcda6e78a588448fee7b174984 Mon Sep 17 00:00:00 2001 From: kdeldycke Date: Sat, 24 Feb 2024 15:02:18 +0000 Subject: [PATCH] [changelog] Release v3.2.0 --- .github/workflows/autofix.yaml | 8 ++++---- .github/workflows/changelog.yaml | 6 +++--- .github/workflows/docs.yaml | 14 +++++++------- .github/workflows/labeller-content-based.yaml | 2 +- .github/workflows/labeller-file-based.yaml | 2 +- .github/workflows/labels.yaml | 4 ++-- .github/workflows/lint.yaml | 10 +++++----- .github/workflows/release.yaml | 10 +++++----- changelog.md | 6 +----- 9 files changed, 29 insertions(+), 33 deletions(-) diff --git a/.github/workflows/autofix.yaml b/.github/workflows/autofix.yaml index d689b2e7b..f83c272eb 100644 --- a/.github/workflows/autofix.yaml +++ b/.github/workflows/autofix.yaml @@ -90,7 +90,7 @@ jobs: - name: Download pinned requirements.txt run: > curl -fsSL --output ./pinned-requirements.txt - https://raw.githubusercontent.com/kdeldycke/workflows/main/metadata-requirements.txt + https://raw.githubusercontent.com/kdeldycke/workflows/v3.2.0/metadata-requirements.txt - name: Install Poetry from pinned requirements.txt # uv needs a venv. See: # https://github.com/astral-sh/uv/issues/1386 @@ -107,7 +107,7 @@ jobs: GITHUB_CONTEXT: ${{ toJSON(github) }} run: > python -c "$(curl -fsSL - https://raw.githubusercontent.com/kdeldycke/workflows/main/.github/metadata.py)" + https://raw.githubusercontent.com/kdeldycke/workflows/v3.2.0/.github/metadata.py)" format-python: name: Format Python @@ -154,7 +154,7 @@ jobs: - name: Install Ruff, blacken-docs and autopep8 run: > python -m pip install --requirement - https://raw.githubusercontent.com/kdeldycke/workflows/main/format-python-requirements.txt + https://raw.githubusercontent.com/kdeldycke/workflows/v3.2.0/format-python-requirements.txt - name: Run autopep8 if: needs.project-metadata.outputs.python_files # Ruff is not wrapping comments: https://github.com/astral-sh/ruff/issues/7414 @@ -308,7 +308,7 @@ jobs: - name: Install mdformat run: > python -m pip install --requirement - https://raw.githubusercontent.com/kdeldycke/workflows/main/mdformat-requirements.txt + https://raw.githubusercontent.com/kdeldycke/workflows/v3.2.0/mdformat-requirements.txt - name: Install shfmt run: | sudo apt install --yes shfmt diff --git a/.github/workflows/changelog.yaml b/.github/workflows/changelog.yaml index 80884e625..10f13ade7 100644 --- a/.github/workflows/changelog.yaml +++ b/.github/workflows/changelog.yaml @@ -46,7 +46,7 @@ jobs: - name: Install bump-my-version run: > python -m pip install --requirement - https://raw.githubusercontent.com/kdeldycke/workflows/main/changelog-requirements.txt + https://raw.githubusercontent.com/kdeldycke/workflows/v3.2.0/changelog-requirements.txt - name: ${{ matrix.part }} version bump run: | bump-my-version bump --verbose ${{ matrix.part }} @@ -117,7 +117,7 @@ jobs: - name: Install bump-my-version run: > python -m pip install --requirement - https://raw.githubusercontent.com/kdeldycke/workflows/main/changelog-requirements.txt + https://raw.githubusercontent.com/kdeldycke/workflows/v3.2.0/changelog-requirements.txt - name: Extract version id: get_version run: | @@ -181,7 +181,7 @@ jobs: - name: Add new changelog entry run: > python -c "$(curl -fsSL - https://raw.githubusercontent.com/kdeldycke/workflows/main/.github/update_changelog.py)" + https://raw.githubusercontent.com/kdeldycke/workflows/v3.2.0/.github/update_changelog.py)" - name: Version bump run: | bump-my-version bump --verbose patch diff --git a/.github/workflows/docs.yaml b/.github/workflows/docs.yaml index 9679afb50..e8f1130e8 100644 --- a/.github/workflows/docs.yaml +++ b/.github/workflows/docs.yaml @@ -119,7 +119,7 @@ jobs: - name: Generate .mailmap run: > python -c "$(curl -fsSL - https://raw.githubusercontent.com/kdeldycke/workflows/main/.github/update_mailmap.py)" + https://raw.githubusercontent.com/kdeldycke/workflows/v3.2.0/.github/update_mailmap.py)" - uses: peter-evans/create-pull-request@v6.0.0 with: assignees: ${{ github.actor }} @@ -200,7 +200,7 @@ jobs: - name: Download pinned requirements.txt run: > curl -fsSL --output ./pinned-requirements.txt - https://raw.githubusercontent.com/kdeldycke/workflows/main/metadata-requirements.txt + https://raw.githubusercontent.com/kdeldycke/workflows/v3.2.0/metadata-requirements.txt - name: Install Poetry from pinned requirements.txt # uv needs a venv. See: # https://github.com/astral-sh/uv/issues/1386 @@ -217,7 +217,7 @@ jobs: GITHUB_CONTEXT: ${{ toJSON(github) }} run: > python -c "$(curl -fsSL - https://raw.githubusercontent.com/kdeldycke/workflows/main/.github/metadata.py)" + https://raw.githubusercontent.com/kdeldycke/workflows/v3.2.0/.github/metadata.py)" update-deps-graph: name: Update dependency graph @@ -240,9 +240,9 @@ jobs: - name: Install pipdeptree and Poetry on system run: > python -m pip install --requirement - https://raw.githubusercontent.com/kdeldycke/workflows/main/pipdeptree-requirements.txt + https://raw.githubusercontent.com/kdeldycke/workflows/v3.2.0/pipdeptree-requirements.txt --requirement - https://raw.githubusercontent.com/kdeldycke/workflows/main/build-requirements.txt + https://raw.githubusercontent.com/kdeldycke/workflows/v3.2.0/build-requirements.txt - name: Install project with Poetry run: | poetry install --only main --no-interaction @@ -302,7 +302,7 @@ jobs: - name: Install Poetry run: > python -m pip install --requirement - https://raw.githubusercontent.com/kdeldycke/workflows/main/build-requirements.txt + https://raw.githubusercontent.com/kdeldycke/workflows/v3.2.0/build-requirements.txt - name: Install project dependencies run: | poetry install --no-interaction @@ -348,7 +348,7 @@ jobs: - name: Install Poetry run: > python -m pip install --requirement - https://raw.githubusercontent.com/kdeldycke/workflows/main/build-requirements.txt + https://raw.githubusercontent.com/kdeldycke/workflows/v3.2.0/build-requirements.txt - name: Install project dependencies # Let sphinx-click access project's code to generate CLI help. run: | diff --git a/.github/workflows/labeller-content-based.yaml b/.github/workflows/labeller-content-based.yaml index 6e3c1d57d..0f3017c0d 100644 --- a/.github/workflows/labeller-content-based.yaml +++ b/.github/workflows/labeller-content-based.yaml @@ -37,7 +37,7 @@ jobs: - name: Download default rules run: > curl -fsSL --output ./.github/labeller-content-based.yaml - https://raw.githubusercontent.com/kdeldycke/workflows/main/.github/labeller-content-based.yaml + https://raw.githubusercontent.com/kdeldycke/workflows/v3.2.0/.github/labeller-content-based.yaml - name: Extend default rules if: inputs.extra-rules run: | diff --git a/.github/workflows/labeller-file-based.yaml b/.github/workflows/labeller-file-based.yaml index ea8508257..9bd9e89c6 100644 --- a/.github/workflows/labeller-file-based.yaml +++ b/.github/workflows/labeller-file-based.yaml @@ -34,7 +34,7 @@ jobs: - name: Download default rules run: > curl -fsSL --output ./.github/labeller-file-based.yaml - https://raw.githubusercontent.com/kdeldycke/workflows/main/.github/labeller-file-based.yaml + https://raw.githubusercontent.com/kdeldycke/workflows/v3.2.0/.github/labeller-file-based.yaml - name: Extend default rules if: inputs.extra-rules run: | diff --git a/.github/workflows/labels.yaml b/.github/workflows/labels.yaml index e42910f69..a904d6190 100644 --- a/.github/workflows/labels.yaml +++ b/.github/workflows/labels.yaml @@ -31,8 +31,8 @@ jobs: with: skip_delete: true from: | - https://raw.githubusercontent.com/kdeldycke/workflows/main/.github/labels.yaml + https://raw.githubusercontent.com/kdeldycke/workflows/v3.2.0/.github/labels.yaml ${{ inputs.extra-label-files }} ${{ ( startsWith(github.event.repository.name, 'awesome-') && github.event.repository.name != 'awesome-template' && - 'https://raw.githubusercontent.com/kdeldycke/workflows/main/.github/labels-awesome.yaml' ) || '' }} + 'https://raw.githubusercontent.com/kdeldycke/workflows/v3.2.0/.github/labels-awesome.yaml' ) || '' }} diff --git a/.github/workflows/lint.yaml b/.github/workflows/lint.yaml index 213cd0560..48fe84ae7 100644 --- a/.github/workflows/lint.yaml +++ b/.github/workflows/lint.yaml @@ -77,7 +77,7 @@ jobs: - name: Download pinned requirements.txt run: > curl -fsSL --output ./pinned-requirements.txt - https://raw.githubusercontent.com/kdeldycke/workflows/main/metadata-requirements.txt + https://raw.githubusercontent.com/kdeldycke/workflows/v3.2.0/metadata-requirements.txt - name: Install Poetry from pinned requirements.txt # uv needs a venv. See: # https://github.com/astral-sh/uv/issues/1386 @@ -94,7 +94,7 @@ jobs: GITHUB_CONTEXT: ${{ toJSON(github) }} run: > python -c "$(curl -fsSL - https://raw.githubusercontent.com/kdeldycke/workflows/main/.github/metadata.py)" + https://raw.githubusercontent.com/kdeldycke/workflows/v3.2.0/.github/metadata.py)" mypy-lint: needs: @@ -117,12 +117,12 @@ jobs: - name: Install Mypy run: > python -m pip install --requirement - https://raw.githubusercontent.com/kdeldycke/workflows/main/mypy-requirements.txt + https://raw.githubusercontent.com/kdeldycke/workflows/v3.2.0/mypy-requirements.txt - name: Install Poetry if: fromJSON(needs.project-metadata.outputs.is_poetry_project) run: > python -m pip install --requirement - https://raw.githubusercontent.com/kdeldycke/workflows/main/build-requirements.txt + https://raw.githubusercontent.com/kdeldycke/workflows/v3.2.0/build-requirements.txt - name: Install dependencies with Poetry # Install project with Poetry if supported, so we can benefits from dependencies on typing stubs. if: fromJSON(needs.project-metadata.outputs.is_poetry_project) @@ -191,7 +191,7 @@ jobs: - name: Install yamllint run: > python -m pip install --requirement - https://raw.githubusercontent.com/kdeldycke/workflows/main/yamllint-requirements.txt + https://raw.githubusercontent.com/kdeldycke/workflows/v3.2.0/yamllint-requirements.txt - name: Run yamllint run: | yamllint --strict --config-data "{rules: {line-length: {max: 120}}}" --format github . diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 87db39ea1..9b1717df8 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -67,7 +67,7 @@ jobs: - name: Download pinned requirements.txt run: > curl -fsSL --output ./pinned-requirements.txt - https://raw.githubusercontent.com/kdeldycke/workflows/main/metadata-requirements.txt + https://raw.githubusercontent.com/kdeldycke/workflows/v3.2.0/metadata-requirements.txt - name: Install Poetry from pinned requirements.txt # uv needs a venv. See: # https://github.com/astral-sh/uv/issues/1386 @@ -84,7 +84,7 @@ jobs: GITHUB_CONTEXT: ${{ toJSON(github) }} run: > python -c "$(curl -fsSL - https://raw.githubusercontent.com/kdeldycke/workflows/main/.github/metadata.py)" + https://raw.githubusercontent.com/kdeldycke/workflows/v3.2.0/.github/metadata.py)" poetry-build: name: "Poetry: build & check package" @@ -111,7 +111,7 @@ jobs: - name: Install poetry, twine and check-wheel-contents run: > python -m pip install --requirement - https://raw.githubusercontent.com/kdeldycke/workflows/main/build-requirements.txt + https://raw.githubusercontent.com/kdeldycke/workflows/v3.2.0/build-requirements.txt - name: Build package run: | poetry install --no-interaction @@ -157,7 +157,7 @@ jobs: - name: Install poetry run: > python -m pip install --requirement - https://raw.githubusercontent.com/kdeldycke/workflows/main/build-requirements.txt + https://raw.githubusercontent.com/kdeldycke/workflows/v3.2.0/build-requirements.txt - name: Re-install Nuitka in Poetry venv # Nuitka needs to be installed within Poetry's venv to allow for lots of workarounds. # Additional dependencies: @@ -165,7 +165,7 @@ jobs: # - zstandard: for nuitka's onefile compression run: > poetry run python -m pip install --requirement - https://raw.githubusercontent.com/kdeldycke/workflows/main/nuitka-requirements.txt + https://raw.githubusercontent.com/kdeldycke/workflows/v3.2.0/nuitka-requirements.txt - name: Nuitka + compilers versions run: | poetry run python -m nuitka --version diff --git a/changelog.md b/changelog.md index b743e4abc..7354883e5 100644 --- a/changelog.md +++ b/changelog.md @@ -1,10 +1,6 @@ # Changelog -## [3.2.0 (unreleased)](https://github.com/kdeldycke/workflows/compare/v3.1.0...main) - -```{important} -This version is not released yet and is under active development. -``` +## [3.2.0 (2024-02-24)](https://github.com/kdeldycke/workflows/compare/v3.1.0...v3.2.0) - Add a job to sync awesome repository project from the `awesome-template` repository.