Skip to content

Commit

Permalink
[changelog] Release v4.0.1
Browse files Browse the repository at this point in the history
  • Loading branch information
kdeldycke committed Jun 29, 2024
1 parent 040bb6a commit ae5b1f5
Show file tree
Hide file tree
Showing 9 changed files with 39 additions and 42 deletions.
14 changes: 7 additions & 7 deletions .github/workflows/autofix.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -87,18 +87,18 @@ 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.0.1/requirements/uv.txt
- name: Install dependencies
run: |
uv venv --system
uv pip install -r https://raw.githubusercontent.com/kdeldycke/workflows/main/requirements/metadata.txt
uv pip install -r https://raw.githubusercontent.com/kdeldycke/workflows/v4.0.1/requirements/metadata.txt
- name: Project metadata
id: project-metadata
env:
GITHUB_CONTEXT: ${{ toJSON(github) }}
run: >
uv run python -c
"$(curl -fsSL https://raw.githubusercontent.com/kdeldycke/workflows/main/.github/metadata.py)"
"$(curl -fsSL https://raw.githubusercontent.com/kdeldycke/workflows/v4.0.1/.github/metadata.py)"
format-python:
name: Format Python
Expand Down Expand Up @@ -142,11 +142,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.0.1/requirements/uv.txt
- name: Install Ruff, blacken-docs and autopep8
run: |
uv venv --system
uv pip install -r https://raw.githubusercontent.com/kdeldycke/workflows/main/requirements/format-python.txt
uv pip install -r https://raw.githubusercontent.com/kdeldycke/workflows/v4.0.1/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
Expand Down Expand Up @@ -297,11 +297,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.0.1/requirements/uv.txt
- name: Install mdformat
run: |
uv venv --system
uv pip install -r https://raw.githubusercontent.com/kdeldycke/workflows/main/requirements/mdformat.txt
uv pip install -r https://raw.githubusercontent.com/kdeldycke/workflows/v4.0.1/requirements/mdformat.txt
- 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 @@ -44,11 +44,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.0.1/requirements/uv.txt
- name: Install bump-my-version
run: |
uv venv --system
uv pip install -r https://raw.githubusercontent.com/kdeldycke/workflows/main/requirements/changelog.txt
uv pip install -r https://raw.githubusercontent.com/kdeldycke/workflows/v4.0.1/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 .
Expand Down Expand Up @@ -121,11 +121,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.0.1/requirements/uv.txt
- name: Install bump-my-version
run: |
uv venv --system
uv pip install -r https://raw.githubusercontent.com/kdeldycke/workflows/main/requirements/changelog.txt
uv pip install -r https://raw.githubusercontent.com/kdeldycke/workflows/v4.0.1/requirements/changelog.txt
- name: Extract version
id: get_version
run: |
Expand Down Expand Up @@ -191,7 +191,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/v4.0.1/.github/update_changelog.py)"
- name: 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
16 changes: 8 additions & 8 deletions .github/workflows/docs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,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/v4.0.1/.github/update_mailmap.py)"
- uses: peter-evans/[email protected]
with:
assignees: ${{ github.actor }}
Expand Down Expand Up @@ -198,18 +198,18 @@ 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.0.1/requirements/uv.txt
- name: Install dependencies
run: |
uv venv --system
uv pip install -r https://raw.githubusercontent.com/kdeldycke/workflows/main/requirements/metadata.txt
uv pip install -r https://raw.githubusercontent.com/kdeldycke/workflows/v4.0.1/requirements/metadata.txt
- name: Project metadata
id: project-metadata
env:
GITHUB_CONTEXT: ${{ toJSON(github) }}
run: >
uv run python -c
"$(curl -fsSL https://raw.githubusercontent.com/kdeldycke/workflows/main/.github/metadata.py)"
"$(curl -fsSL https://raw.githubusercontent.com/kdeldycke/workflows/v4.0.1/.github/metadata.py)"
update-deps-graph:
name: Update dependency graph
Expand All @@ -229,11 +229,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.0.1/requirements/uv.txt
- name: Install pipdeptree
run: |
uv venv --system
uv pip install -r https://raw.githubusercontent.com/kdeldycke/workflows/main/requirements/pipdeptree.txt
uv pip install -r https://raw.githubusercontent.com/kdeldycke/workflows/v4.0.1/requirements/pipdeptree.txt
- name: Install project
run: |
uv pip install .
Expand Down Expand Up @@ -294,7 +294,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.0.1/requirements/uv.txt
- name: Install project dependencies
run: |
uv venv --system
Expand Down Expand Up @@ -338,7 +338,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.0.1/requirements/uv.txt
- name: Install project dependencies
run: |
uv venv --system
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.0.1/.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.0.1/.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.0.1/.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.0.1/.github/labels-awesome.yaml' ) || '' }}
14 changes: 7 additions & 7 deletions .github/workflows/lint.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -68,18 +68,18 @@ 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.0.1/requirements/uv.txt
- name: Install dependencies
run: |
uv venv --system
uv pip install -r https://raw.githubusercontent.com/kdeldycke/workflows/main/requirements/metadata.txt
uv pip install -r https://raw.githubusercontent.com/kdeldycke/workflows/v4.0.1/requirements/metadata.txt
- name: Project metadata
id: project-metadata
env:
GITHUB_CONTEXT: ${{ toJSON(github) }}
run: >
uv run python -c
"$(curl -fsSL https://raw.githubusercontent.com/kdeldycke/workflows/main/.github/metadata.py)"
"$(curl -fsSL https://raw.githubusercontent.com/kdeldycke/workflows/v4.0.1/.github/metadata.py)"
mypy-lint:
needs:
Expand All @@ -99,11 +99,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.0.1/requirements/uv.txt
- name: Install Mypy
run: |
uv venv --system
uv pip install -r https://raw.githubusercontent.com/kdeldycke/workflows/main/requirements/mypy.txt
uv pip install -r https://raw.githubusercontent.com/kdeldycke/workflows/v4.0.1/requirements/mypy.txt
- name: Install package from all requirement files
run: |
uv pip install --all-extras ${{ needs.project-metadata.outputs.uv_requirement_params }}
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.0.1/requirements/uv.txt
- name: Install yamllint
run: |
uv venv --system
uv pip install -r https://raw.githubusercontent.com/kdeldycke/workflows/main/requirements/yamllint.txt
uv pip install -r https://raw.githubusercontent.com/kdeldycke/workflows/v4.0.1/requirements/yamllint.txt
- name: Run yamllint
run: |
uv tool 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 @@ -58,18 +58,18 @@ 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.0.1/requirements/uv.txt
- name: Install dependencies
run: |
uv venv --system
uv pip install -r https://raw.githubusercontent.com/kdeldycke/workflows/main/requirements/metadata.txt
uv pip install -r https://raw.githubusercontent.com/kdeldycke/workflows/v4.0.1/requirements/metadata.txt
- name: Project metadata
id: project-metadata
env:
GITHUB_CONTEXT: ${{ toJSON(github) }}
run: >
uv run python -c
"$(curl -fsSL https://raw.githubusercontent.com/kdeldycke/workflows/main/.github/metadata.py)"
"$(curl -fsSL https://raw.githubusercontent.com/kdeldycke/workflows/v4.0.1/.github/metadata.py)"
package-build:
name: "build & check package"
Expand All @@ -93,11 +93,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.0.1/requirements/uv.txt
- name: Install build dependencies
run: |
uv venv --system
uv pip install -r https://raw.githubusercontent.com/kdeldycke/workflows/main/requirements/build.txt
uv pip install -r https://raw.githubusercontent.com/kdeldycke/workflows/v4.0.1/requirements/build.txt
- name: Build package
run: |
uv run python -m build
Expand Down Expand Up @@ -133,11 +133,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.0.1/requirements/uv.txt
- name: Install Nuitka
run: |
uv venv --system
uv pip install -r https://raw.githubusercontent.com/kdeldycke/workflows/main/requirements/nuitka.txt
uv pip install -r https://raw.githubusercontent.com/kdeldycke/workflows/v4.0.1/requirements/nuitka.txt
- name: Nuitka + compilers versions
run: |
uv run python ${{ matrix.extra_python_params }} -m nuitka --version
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.0.1 (unreleased)](https://github.com/kdeldycke/workflows/compare/v4.0.0...main)

> \[!IMPORTANT\]
> This version is not released yet and is under active development.
## [4.0.1 (2024-06-29)](https://github.com/kdeldycke/workflows/compare/v4.0.0...v4.0.1)

- Re-release to register PyPi project.

Expand Down

0 comments on commit ae5b1f5

Please sign in to comment.