Skip to content

Commit

Permalink
[changelog] Release v4.8.0
Browse files Browse the repository at this point in the history
  • Loading branch information
kdeldycke committed Nov 19, 2024
1 parent 10da37f commit 96f51a8
Show file tree
Hide file tree
Showing 10 changed files with 41 additions and 44 deletions.
18 changes: 9 additions & 9 deletions .github/workflows/autofix.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -88,11 +88,11 @@ 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.8.0/requirements/uv.txt
- name: Install gha-utils
run: >
uv tool install --with-requirements
https://raw.githubusercontent.com/kdeldycke/workflows/main/requirements/gha-utils.txt gha-utils
https://raw.githubusercontent.com/kdeldycke/workflows/v4.8.0/requirements/gha-utils.txt gha-utils
- name: Project metadata
id: project-metadata
env:
Expand Down Expand Up @@ -142,15 +142,15 @@ 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.8.0/requirements/uv.txt
- name: Install Ruff, blacken-docs and autopep8
run: |
uv tool install --with-requirements \
https://raw.githubusercontent.com/kdeldycke/workflows/main/requirements/ruff.txt ruff
https://raw.githubusercontent.com/kdeldycke/workflows/v4.8.0/requirements/ruff.txt ruff
uv tool install --with-requirements \
https://raw.githubusercontent.com/kdeldycke/workflows/main/requirements/blacken-docs.txt blacken-docs
https://raw.githubusercontent.com/kdeldycke/workflows/v4.8.0/requirements/blacken-docs.txt blacken-docs
uv tool install --with-requirements \
https://raw.githubusercontent.com/kdeldycke/workflows/main/requirements/autopep8.txt autopep8
https://raw.githubusercontent.com/kdeldycke/workflows/v4.8.0/requirements/autopep8.txt autopep8
- name: Run autopep8
if: needs.project-metadata.outputs.python_files
# Ruff is not wrapping comments: https://github.com/astral-sh/ruff/issues/7414
Expand Down Expand Up @@ -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.8.0/requirements/uv.txt
- name: Sync uv.lock
run: |
uv --no-progress sync --upgrade
Expand Down Expand Up @@ -340,11 +340,11 @@ 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.8.0/requirements/uv.txt
- name: Install mdformat
run: >
uv tool install --with-requirements
https://raw.githubusercontent.com/kdeldycke/workflows/main/requirements/mdformat.txt mdformat
https://raw.githubusercontent.com/kdeldycke/workflows/v4.8.0/requirements/mdformat.txt mdformat
- name: Install shfmt
run: |
sudo apt install --yes shfmt
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/changelog.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -43,11 +43,11 @@ 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.8.0/requirements/uv.txt
- name: Install bump-my-version
run: >
uv tool install --with-requirements
https://raw.githubusercontent.com/kdeldycke/workflows/main/requirements/bump-my-version.txt bump-my-version
https://raw.githubusercontent.com/kdeldycke/workflows/v4.8.0/requirements/bump-my-version.txt bump-my-version
- 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 .
Expand Down Expand Up @@ -120,13 +120,13 @@ 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.8.0/requirements/uv.txt
- name: Install bump-my-version and gha-utils
run: |
uv tool install --with-requirements \
https://raw.githubusercontent.com/kdeldycke/workflows/main/requirements/bump-my-version.txt bump-my-version
https://raw.githubusercontent.com/kdeldycke/workflows/v4.8.0/requirements/bump-my-version.txt bump-my-version
uv tool install --with-requirements \
https://raw.githubusercontent.com/kdeldycke/workflows/main/requirements/gha-utils.txt gha-utils
https://raw.githubusercontent.com/kdeldycke/workflows/v4.8.0/requirements/gha-utils.txt gha-utils
- name: Extract version
id: get_version
run: |
Expand Down
16 changes: 8 additions & 8 deletions .github/workflows/docs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -108,11 +108,11 @@ 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.8.0/requirements/uv.txt
- name: Install gha-utils
run: >
uv tool install --with-requirements
https://raw.githubusercontent.com/kdeldycke/workflows/main/requirements/gha-utils.txt gha-utils
https://raw.githubusercontent.com/kdeldycke/workflows/v4.8.0/requirements/gha-utils.txt gha-utils
- name: Generate .mailmap
run: |
gha-utils --verbosity DEBUG mailmap-sync --skip-if-missing ./.mailmap
Expand Down Expand Up @@ -187,11 +187,11 @@ 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.8.0/requirements/uv.txt
- name: Install gha-utils
run: >
uv tool install --with-requirements
https://raw.githubusercontent.com/kdeldycke/workflows/main/requirements/gha-utils.txt gha-utils
https://raw.githubusercontent.com/kdeldycke/workflows/v4.8.0/requirements/gha-utils.txt gha-utils
- name: Project metadata
id: project-metadata
env:
Expand All @@ -217,12 +217,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.8.0/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.8.0/requirements/pipdeptree.txt
- name: Install project
run: |
uv --no-progress pip install .
Expand Down Expand Up @@ -283,7 +283,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.8.0/requirements/uv.txt
- name: Install project dependencies
run: |
uv --no-progress venv
Expand Down Expand Up @@ -327,7 +327,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.8.0/requirements/uv.txt
- name: Install project dependencies
run: |
uv --no-progress venv
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/labeller-content-based.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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.8.0/.github/labeller-content-based.yaml
- name: Extend default rules
if: inputs.extra-rules
run: |
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/labeller-file-based.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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.8.0/.github/labeller-file-based.yaml
- name: Extend default rules
if: inputs.extra-rules
run: |
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/labels.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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.8.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/v4.8.0/.github/labels-awesome.yaml' ) || '' }}
12 changes: 6 additions & 6 deletions .github/workflows/lint.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -67,11 +67,11 @@ 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.8.0/requirements/uv.txt
- name: Install gha-utils
run: >
uv tool install --with-requirements
https://raw.githubusercontent.com/kdeldycke/workflows/main/requirements/gha-utils.txt gha-utils
https://raw.githubusercontent.com/kdeldycke/workflows/v4.8.0/requirements/gha-utils.txt gha-utils
- name: Project metadata
id: project-metadata
env:
Expand All @@ -97,12 +97,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.8.0/requirements/uv.txt
- name: Install Mypy
run: |
uv --no-progress venv
uv --no-progress pip install \
--requirement https://raw.githubusercontent.com/kdeldycke/workflows/main/requirements/mypy.txt
--requirement https://raw.githubusercontent.com/kdeldycke/workflows/v4.8.0/requirements/mypy.txt
- name: Install package
# Use --inexact so that uv doesn't try to remove the mypy package installed above.
run: |
Expand Down Expand Up @@ -157,11 +157,11 @@ 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.8.0/requirements/uv.txt
- name: Install yamllint
run: >
uv tool install --with-requirements
https://raw.githubusercontent.com/kdeldycke/workflows/main/requirements/yamllint.txt yamllint
https://raw.githubusercontent.com/kdeldycke/workflows/v4.8.0/requirements/yamllint.txt yamllint
- name: Run yamllint
run: |
yamllint --strict --config-data "{rules: {line-length: {max: 120}}}" --format github .
Expand Down
14 changes: 7 additions & 7 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -63,11 +63,11 @@ 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.8.0/requirements/uv.txt
- name: Install gha-utils
run: >
uv tool install --with-requirements
https://raw.githubusercontent.com/kdeldycke/workflows/main/requirements/gha-utils.txt gha-utils
https://raw.githubusercontent.com/kdeldycke/workflows/v4.8.0/requirements/gha-utils.txt gha-utils
- name: Project metadata
id: project-metadata
env:
Expand Down Expand Up @@ -97,12 +97,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.8.0/requirements/uv.txt
- name: Install build dependencies
run: |
uv --no-progress venv
uv --no-progress pip install \
--requirement https://raw.githubusercontent.com/kdeldycke/workflows/main/requirements/build.txt
--requirement https://raw.githubusercontent.com/kdeldycke/workflows/v4.8.0/requirements/build.txt
- name: Build package
run: |
uv --no-progress build
Expand Down Expand Up @@ -141,7 +141,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.8.0/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:
Expand All @@ -153,7 +153,7 @@ jobs:
# yamllint disable rule:line-length
run: |
uv --no-progress venv
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.8.0/requirements/nuitka.txt
# yamllint enable
- name: Nuitka + compilers versions
# XXX Nuitka on Windows need the ".cmd" on Windows:
Expand Down Expand Up @@ -300,7 +300,7 @@ jobs:
steps:
- 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.8.0/requirements/uv.txt
- name: Download build artifacts
uses: actions/download-artifact@v4.1.8
id: download
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,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.8.0/requirements/uv.txt
- name: Install project
run: |
uv --no-progress venv
Expand Down
5 changes: 1 addition & 4 deletions changelog.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,6 @@
# Changelog

## [4.8.0 (unreleased)](https://github.com/kdeldycke/workflows/compare/v4.7.2...main)

> [!IMPORTANT]
> This version is not released yet and is under active development.
## [4.8.0 (2024-11-19)](https://github.com/kdeldycke/workflows/compare/v4.7.2...v4.8.0)

- Run Nuitka binary builds on Python 3.13.
- Run a series of test calls on the binaries produced by the build job.
Expand Down

0 comments on commit 96f51a8

Please sign in to comment.