From d05f5b51327fd7b19c269b4635d6ca3c1678e0b5 Mon Sep 17 00:00:00 2001 From: kdeldycke Date: Wed, 24 Jul 2024 08:37:09 +0000 Subject: [PATCH] [changelog] Release v4.3.3 --- .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 838702816..1836b262d 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.3.3/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.3.3/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.3.3/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.3.3/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 @@ -278,7 +278,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.3.3/requirements/uv.txt - name: Sync uv.lock run: | uv --no-progress sync --upgrade @@ -343,12 +343,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.3.3/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.3.3/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 6fec34ec4..b2abb6227 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.3.3/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.3.3/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.3.3/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.3.3/requirements/changelog.txt - name: Extract version id: get_version run: > diff --git a/.github/workflows/docs.yaml b/.github/workflows/docs.yaml index 99134e517..3b89516ec 100644 --- a/.github/workflows/docs.yaml +++ b/.github/workflows/docs.yaml @@ -107,12 +107,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.3.3/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.3.3/requirements/gha-utils.txt - name: Generate .mailmap run: | uv --no-progress run --frozen -- gha-utils --verbosity DEBUG mailmap-sync --skip-if-missing ./.mailmap @@ -187,12 +187,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.3.3/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.3.3/requirements/gha-utils.txt - name: Project metadata id: project-metadata env: @@ -218,12 +218,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.3.3/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.3.3/requirements/pipdeptree.txt - name: Install project run: | uv --no-progress pip install . @@ -284,7 +284,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.3.3/requirements/uv.txt - name: Install project dependencies run: | uv --no-progress venv --system @@ -328,7 +328,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.3.3/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..2d1a5d487 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.3.3/.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..ae7abe781 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.3.3/.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..699863912 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.3.3/.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.3.3/.github/labels-awesome.yaml' ) || '' }} diff --git a/.github/workflows/lint.yaml b/.github/workflows/lint.yaml index 791f1e6f2..992550c72 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.3.3/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.3.3/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.3.3/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.3.3/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.3.3/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.3.3/requirements/yamllint.txt - name: Run yamllint run: > uv --no-progress tool run diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 9498997ab..1ea7f25be 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.3.3/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.3.3/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.3.3/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.3.3/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.3.3/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.3.3/requirements/nuitka.txt # yamllint enable - name: Nuitka + compilers versions run: | diff --git a/.github/workflows/tests.yaml b/.github/workflows/tests.yaml index ea5750502..092265646 100644 --- a/.github/workflows/tests.yaml +++ b/.github/workflows/tests.yaml @@ -120,7 +120,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.3.3/requirements/uv.txt - name: Install project run: | uv --no-progress venv --system diff --git a/changelog.md b/changelog.md index c46f4306d..ea093c381 100644 --- a/changelog.md +++ b/changelog.md @@ -1,9 +1,6 @@ # Changelog -## [4.3.3 (unreleased)](https://github.com/kdeldycke/workflows/compare/v4.3.2...main) - -> \[!IMPORTANT\] -> This version is not released yet and is under active development. +## [4.3.3 (2024-07-24)](https://github.com/kdeldycke/workflows/compare/v4.3.2...v4.3.3) - Bump `uv` and Nuitka.