From 6c0d32eaddc264aaa767676c926f0da04a10e9e7 Mon Sep 17 00:00:00 2001 From: kdeldycke Date: Sun, 18 Aug 2024 07:30:48 +0000 Subject: [PATCH] [changelog] Release v4.4.4 --- .github/workflows/autofix.yaml | 14 +++++++------- .github/workflows/changelog.yaml | 8 ++++---- .github/workflows/docs.yaml | 16 ++++++++-------- .github/workflows/labeller-content-based.yaml | 2 +- .github/workflows/labeller-file-based.yaml | 2 +- .github/workflows/labels.yaml | 4 ++-- .github/workflows/lint.yaml | 12 ++++++------ .github/workflows/release.yaml | 12 ++++++------ .github/workflows/tests.yaml | 2 +- changelog.md | 5 +---- 10 files changed, 37 insertions(+), 40 deletions(-) diff --git a/.github/workflows/autofix.yaml b/.github/workflows/autofix.yaml index f604b2efc..33894efc0 100644 --- a/.github/workflows/autofix.yaml +++ b/.github/workflows/autofix.yaml @@ -88,12 +88,12 @@ jobs: rm ./pyproject.toml - name: Install uv run: | - python -m pip install -r https://raw.githubusercontent.com/kdeldycke/workflows/main/requirements/uv.txt + python -m pip install -r https://raw.githubusercontent.com/kdeldycke/workflows/v4.4.4/requirements/uv.txt - name: Install gha-utils run: | uv --no-progress venv --system uv --no-progress pip install \ - --requirement https://raw.githubusercontent.com/kdeldycke/workflows/main/requirements/gha-utils.txt + --requirement https://raw.githubusercontent.com/kdeldycke/workflows/v4.4.4/requirements/gha-utils.txt - name: Project metadata id: project-metadata env: @@ -143,12 +143,12 @@ jobs: requirements/*.txt - name: Install uv run: | - python -m pip install -r https://raw.githubusercontent.com/kdeldycke/workflows/main/requirements/uv.txt + python -m pip install -r https://raw.githubusercontent.com/kdeldycke/workflows/v4.4.4/requirements/uv.txt - name: Install Ruff, blacken-docs and autopep8 run: | uv --no-progress venv --system uv --no-progress pip install \ - --requirement https://raw.githubusercontent.com/kdeldycke/workflows/main/requirements/format-python.txt + --requirement https://raw.githubusercontent.com/kdeldycke/workflows/v4.4.4/requirements/format-python.txt - name: Run autopep8 if: needs.project-metadata.outputs.python_files # Ruff is not wrapping comments: https://github.com/astral-sh/ruff/issues/7414 @@ -275,7 +275,7 @@ jobs: requirements/*.txt - name: Install uv run: | - python -m pip install -r https://raw.githubusercontent.com/kdeldycke/workflows/main/requirements/uv.txt + python -m pip install -r https://raw.githubusercontent.com/kdeldycke/workflows/v4.4.4/requirements/uv.txt - name: Sync uv.lock run: | uv --no-progress sync --upgrade @@ -340,12 +340,12 @@ jobs: rm ./pyproject.toml - name: Install uv run: | - python -m pip install -r https://raw.githubusercontent.com/kdeldycke/workflows/main/requirements/uv.txt + python -m pip install -r https://raw.githubusercontent.com/kdeldycke/workflows/v4.4.4/requirements/uv.txt - name: Install mdformat run: | uv --no-progress venv --system uv --no-progress pip install \ - --requirement https://raw.githubusercontent.com/kdeldycke/workflows/main/requirements/mdformat.txt + --requirement https://raw.githubusercontent.com/kdeldycke/workflows/v4.4.4/requirements/mdformat.txt - name: Install shfmt run: | sudo apt install --yes shfmt diff --git a/.github/workflows/changelog.yaml b/.github/workflows/changelog.yaml index f507e0906..ba021eda0 100644 --- a/.github/workflows/changelog.yaml +++ b/.github/workflows/changelog.yaml @@ -43,12 +43,12 @@ jobs: requirements/*.txt - name: Install uv run: | - python -m pip install -r https://raw.githubusercontent.com/kdeldycke/workflows/main/requirements/uv.txt + python -m pip install -r https://raw.githubusercontent.com/kdeldycke/workflows/v4.4.4/requirements/uv.txt - name: Install bump-my-version run: | uv --no-progress venv --system uv --no-progress pip install \ - --requirement https://raw.githubusercontent.com/kdeldycke/workflows/main/requirements/changelog.txt + --requirement https://raw.githubusercontent.com/kdeldycke/workflows/v4.4.4/requirements/changelog.txt - name: ${{ matrix.part }} version bump # TODO: get configuration URL once https://github.com/callowayproject/bump-my-version/issues/148 is addressed, # so we can factorize projects' pyproject.toml files to kdeldycke/workflow/pyproject.toml . @@ -122,12 +122,12 @@ jobs: requirements/*.txt - name: Install uv run: | - python -m pip install -r https://raw.githubusercontent.com/kdeldycke/workflows/main/requirements/uv.txt + python -m pip install -r https://raw.githubusercontent.com/kdeldycke/workflows/v4.4.4/requirements/uv.txt - name: Install bump-my-version and gha-utils run: | uv --no-progress venv --system uv --no-progress pip install \ - --requirement https://raw.githubusercontent.com/kdeldycke/workflows/main/requirements/changelog.txt + --requirement https://raw.githubusercontent.com/kdeldycke/workflows/v4.4.4/requirements/changelog.txt - name: Extract version id: get_version run: > diff --git a/.github/workflows/docs.yaml b/.github/workflows/docs.yaml index 2887b33fc..63ff9acb1 100644 --- a/.github/workflows/docs.yaml +++ b/.github/workflows/docs.yaml @@ -108,12 +108,12 @@ jobs: requirements/*.txt - name: Install uv run: | - python -m pip install -r https://raw.githubusercontent.com/kdeldycke/workflows/main/requirements/uv.txt + python -m pip install -r https://raw.githubusercontent.com/kdeldycke/workflows/v4.4.4/requirements/uv.txt - name: Install gha-utils run: | uv --no-progress venv --system uv --no-progress pip install \ - --requirement https://raw.githubusercontent.com/kdeldycke/workflows/main/requirements/gha-utils.txt + --requirement https://raw.githubusercontent.com/kdeldycke/workflows/v4.4.4/requirements/gha-utils.txt - name: Generate .mailmap run: | uv --no-progress run --frozen -- gha-utils --verbosity DEBUG mailmap-sync --skip-if-missing ./.mailmap @@ -188,12 +188,12 @@ jobs: rm ./pyproject.toml - name: Install uv run: | - python -m pip install -r https://raw.githubusercontent.com/kdeldycke/workflows/main/requirements/uv.txt + python -m pip install -r https://raw.githubusercontent.com/kdeldycke/workflows/v4.4.4/requirements/uv.txt - name: Install gha-utils run: | uv --no-progress venv --system uv --no-progress pip install \ - --requirement https://raw.githubusercontent.com/kdeldycke/workflows/main/requirements/gha-utils.txt + --requirement https://raw.githubusercontent.com/kdeldycke/workflows/v4.4.4/requirements/gha-utils.txt - name: Project metadata id: project-metadata env: @@ -219,12 +219,12 @@ jobs: requirements/*.txt - name: Install uv run: | - python -m pip install -r https://raw.githubusercontent.com/kdeldycke/workflows/main/requirements/uv.txt + python -m pip install -r https://raw.githubusercontent.com/kdeldycke/workflows/v4.4.4/requirements/uv.txt - name: Install pipdeptree run: | uv --no-progress venv --system uv --no-progress pip install \ - --requirement https://raw.githubusercontent.com/kdeldycke/workflows/main/requirements/pipdeptree.txt + --requirement https://raw.githubusercontent.com/kdeldycke/workflows/v4.4.4/requirements/pipdeptree.txt - name: Install project run: | uv --no-progress pip install . @@ -285,7 +285,7 @@ jobs: requirements/*.txt - name: Install uv run: | - python -m pip install -r https://raw.githubusercontent.com/kdeldycke/workflows/main/requirements/uv.txt + python -m pip install -r https://raw.githubusercontent.com/kdeldycke/workflows/v4.4.4/requirements/uv.txt - name: Install project dependencies run: | uv --no-progress venv --system @@ -329,7 +329,7 @@ jobs: requirements/*.txt - name: Install uv run: | - python -m pip install -r https://raw.githubusercontent.com/kdeldycke/workflows/main/requirements/uv.txt + python -m pip install -r https://raw.githubusercontent.com/kdeldycke/workflows/v4.4.4/requirements/uv.txt - name: Install project dependencies run: | uv --no-progress venv --system diff --git a/.github/workflows/labeller-content-based.yaml b/.github/workflows/labeller-content-based.yaml index 9dee5b4fd..bbc724f17 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/v4.4.4/.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 ca4753bed..f73ad70a4 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/v4.4.4/.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 bccbba5c6..7e13fefba 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/v4.4.4/.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/v4.4.4/.github/labels-awesome.yaml' ) || '' }} diff --git a/.github/workflows/lint.yaml b/.github/workflows/lint.yaml index 6621d4295..37a76da3e 100644 --- a/.github/workflows/lint.yaml +++ b/.github/workflows/lint.yaml @@ -68,12 +68,12 @@ jobs: rm ./pyproject.toml - name: Install uv run: | - python -m pip install -r https://raw.githubusercontent.com/kdeldycke/workflows/main/requirements/uv.txt + python -m pip install -r https://raw.githubusercontent.com/kdeldycke/workflows/v4.4.4/requirements/uv.txt - name: Install gha-utils run: | uv --no-progress venv --system uv --no-progress pip install \ - --requirement https://raw.githubusercontent.com/kdeldycke/workflows/main/requirements/gha-utils.txt + --requirement https://raw.githubusercontent.com/kdeldycke/workflows/v4.4.4/requirements/gha-utils.txt - name: Project metadata id: project-metadata env: @@ -99,12 +99,12 @@ jobs: requirements/*.txt - name: Install uv run: | - python -m pip install -r https://raw.githubusercontent.com/kdeldycke/workflows/main/requirements/uv.txt + python -m pip install -r https://raw.githubusercontent.com/kdeldycke/workflows/v4.4.4/requirements/uv.txt - name: Install Mypy run: | uv --no-progress venv --system uv --no-progress pip install \ - --requirement https://raw.githubusercontent.com/kdeldycke/workflows/main/requirements/mypy.txt + --requirement https://raw.githubusercontent.com/kdeldycke/workflows/v4.4.4/requirements/mypy.txt - name: Install package from all requirement files run: | uv --no-progress pip install --all-extras ${{ needs.project-metadata.outputs.uv_requirement_params }} @@ -158,12 +158,12 @@ jobs: rm ./pyproject.toml - name: Install uv run: | - python -m pip install -r https://raw.githubusercontent.com/kdeldycke/workflows/main/requirements/uv.txt + python -m pip install -r https://raw.githubusercontent.com/kdeldycke/workflows/v4.4.4/requirements/uv.txt - name: Install yamllint run: | uv --no-progress venv --system uv --no-progress pip install \ - --requirement https://raw.githubusercontent.com/kdeldycke/workflows/main/requirements/yamllint.txt + --requirement https://raw.githubusercontent.com/kdeldycke/workflows/v4.4.4/requirements/yamllint.txt - name: Run yamllint run: > uv --no-progress run --frozen -- diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 4e570f82d..e9adc75f6 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -58,12 +58,12 @@ jobs: requirements/*.txt - name: Install uv run: | - python -m pip install -r https://raw.githubusercontent.com/kdeldycke/workflows/main/requirements/uv.txt + python -m pip install -r https://raw.githubusercontent.com/kdeldycke/workflows/v4.4.4/requirements/uv.txt - name: Install gha-utils run: | uv --no-progress venv --system uv --no-progress pip install \ - --requirement https://raw.githubusercontent.com/kdeldycke/workflows/main/requirements/gha-utils.txt + --requirement https://raw.githubusercontent.com/kdeldycke/workflows/v4.4.4/requirements/gha-utils.txt - name: Project metadata id: project-metadata env: @@ -93,12 +93,12 @@ jobs: requirements/*.txt - name: Install uv run: | - python -m pip install -r https://raw.githubusercontent.com/kdeldycke/workflows/main/requirements/uv.txt + python -m pip install -r https://raw.githubusercontent.com/kdeldycke/workflows/v4.4.4/requirements/uv.txt - name: Install build dependencies run: | uv --no-progress venv --system uv --no-progress pip install \ - --requirement https://raw.githubusercontent.com/kdeldycke/workflows/main/requirements/build.txt + --requirement https://raw.githubusercontent.com/kdeldycke/workflows/v4.4.4/requirements/build.txt - name: Build package run: | uv --no-progress run --frozen -- python -m build @@ -134,7 +134,7 @@ jobs: requirements/*.txt - name: Install uv run: | - python -m pip install -r https://raw.githubusercontent.com/kdeldycke/workflows/main/requirements/uv.txt + python -m pip install -r https://raw.githubusercontent.com/kdeldycke/workflows/v4.4.4/requirements/uv.txt - name: Install Nuitka # XXX We cannot break the long "pip install" line below with a class "\" because it will not be able to run on # Windows' shell: @@ -146,7 +146,7 @@ jobs: # yamllint disable rule:line-length run: | uv --no-progress venv --system - uv --no-progress pip install --requirement https://raw.githubusercontent.com/kdeldycke/workflows/main/requirements/nuitka.txt + uv --no-progress pip install --requirement https://raw.githubusercontent.com/kdeldycke/workflows/v4.4.4/requirements/nuitka.txt # yamllint enable - name: Nuitka + compilers versions run: | diff --git a/.github/workflows/tests.yaml b/.github/workflows/tests.yaml index a6f82f81f..7d16c2e20 100644 --- a/.github/workflows/tests.yaml +++ b/.github/workflows/tests.yaml @@ -119,7 +119,7 @@ jobs: python-version: ${{ matrix.python-version }} - name: Install uv run: | - python -m pip install -r https://raw.githubusercontent.com/kdeldycke/workflows/main/requirements/uv.txt + python -m pip install -r https://raw.githubusercontent.com/kdeldycke/workflows/v4.4.4/requirements/uv.txt - name: Install project run: | uv --no-progress venv --system diff --git a/changelog.md b/changelog.md index 6ff10dd57..f97c7a96d 100644 --- a/changelog.md +++ b/changelog.md @@ -1,9 +1,6 @@ # Changelog -## [4.4.4 (unreleased)](https://github.com/kdeldycke/workflows/compare/v4.4.3...main) - -> \[!IMPORTANT\] -> This version is not released yet and is under active development. +## [4.4.4 (2024-08-18)](https://github.com/kdeldycke/workflows/compare/v4.4.3...v4.4.4) - Fix update of changelog without past entries.