Skip to content

Commit

Permalink
[changelog] Release v2.18.0
Browse files Browse the repository at this point in the history
  • Loading branch information
kdeldycke committed Sep 6, 2023
1 parent ddce52d commit 51994db
Show file tree
Hide file tree
Showing 8 changed files with 32 additions and 36 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/autofix.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -52,14 +52,14 @@ jobs:
- name: Install Poetry
run: >
python -m pip install --requirement
https://raw.githubusercontent.com/kdeldycke/workflows/main/requirements.txt
https://raw.githubusercontent.com/kdeldycke/workflows/v2.18.0/requirements.txt
- name: Project metadata
id: project-metadata
env:
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/v2.18.0/.github/metadata.py)"
format-python:
name: Format Python
Expand All @@ -78,7 +78,7 @@ jobs:
- name: Install ruff, black, blacken-docs, autopep8 and docformatter
run: >
python -m pip install --requirement
https://raw.githubusercontent.com/kdeldycke/workflows/main/requirements.txt
https://raw.githubusercontent.com/kdeldycke/workflows/v2.18.0/requirements.txt
- name: Run Ruff
# --select=ALL - Autofix everything.
# Includes rules in the nursery, a collection of newer lints that are still under development.
Expand Down Expand Up @@ -157,7 +157,7 @@ jobs:
- name: Install mdformat
run: >
python -m pip install --requirement
https://raw.githubusercontent.com/kdeldycke/workflows/main/requirements.txt
https://raw.githubusercontent.com/kdeldycke/workflows/v2.18.0/requirements.txt
- name: Install shfmt
run: |
sudo apt install --yes shfmt
Expand Down
14 changes: 7 additions & 7 deletions .github/workflows/changelog.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ jobs:
- name: Install bump-my-version
run: >
python -m pip install --requirement
https://raw.githubusercontent.com/kdeldycke/workflows/main/requirements.txt
https://raw.githubusercontent.com/kdeldycke/workflows/v2.18.0/requirements.txt
- name: ${{ matrix.part }} version bump
run: |
bump-my-version bump --verbose ${{ matrix.part }}
Expand Down Expand Up @@ -109,7 +109,7 @@ jobs:
- name: Install bump-my-version
run: >
python -m pip install --requirement
https://raw.githubusercontent.com/kdeldycke/workflows/main/requirements.txt
https://raw.githubusercontent.com/kdeldycke/workflows/v2.18.0/requirements.txt
- name: Extract version
id: get_version
run: |
Expand All @@ -124,7 +124,7 @@ jobs:
#
# [[tool.bumpversion.files]]
# filename = ".github/workflows/*.yaml"
# search = "/workflows/main/"
# search = "/workflows/v2.18.0/"
# replace = "/workflows/v{current_version}/"
#
# $ bump-my-version --verbose --force-current-version .github/workflows/*.yaml
Expand All @@ -137,7 +137,7 @@ jobs:
# $ bump-my-version
# bump
# --verbose --no-configured-files
# --search "/workflows/main/"
# --search "/workflows/v2.18.0/"
# --replace "/workflows/v{current_version}/"
# --ignore-missing
# patch
Expand Down Expand Up @@ -201,7 +201,7 @@ jobs:
# [[tool.bumpversion.files]]
# filename = ".github/workflows/*.yaml"
# search = "/workflows/v{current_version}/"
# replace = "/workflows/main/"
# replace = "/workflows/v2.18.0/"
#
# $ bump-my-version --verbose --force-current-version .github/workflows/*.yaml
#
Expand All @@ -214,7 +214,7 @@ jobs:
# bump
# --verbose --no-configured-files
# --search "/workflows/v{current_version}/"
# --replace "/workflows/main/"
# --replace "/workflows/v2.18.0/"
# --ignore-missing
# patch
# ./.github/workflows/*.yaml
Expand All @@ -229,7 +229,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/v2.18.0/.github/update_changelog.py)"
- name: Version bump
run: |
bump-my-version bump --verbose patch
Expand Down
12 changes: 6 additions & 6 deletions .github/workflows/docs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,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/v2.18.0/.github/update_mailmap.py)"
- uses: peter-evans/create-pull-request@v5.0.2
with:
assignees: ${{ github.actor }}
Expand Down Expand Up @@ -158,14 +158,14 @@ jobs:
- name: Install Poetry
run: >
python -m pip install --requirement
https://raw.githubusercontent.com/kdeldycke/workflows/main/requirements.txt
https://raw.githubusercontent.com/kdeldycke/workflows/v2.18.0/requirements.txt
- name: Project metadata
id: project-metadata
env:
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/v2.18.0/.github/metadata.py)"
update-deps-graph:
name: Update dependency graph
Expand All @@ -184,7 +184,7 @@ jobs:
- name: Install pinned pipdeptree on system
run: >
python -m pip install --requirement
https://raw.githubusercontent.com/kdeldycke/workflows/main/requirements.txt
https://raw.githubusercontent.com/kdeldycke/workflows/v2.18.0/requirements.txt
- name: Install project with Poetry
run: |
poetry install --only main --no-interaction
Expand Down Expand Up @@ -240,7 +240,7 @@ jobs:
- name: Install Poetry
run: >
python -m pip install --requirement
https://raw.githubusercontent.com/kdeldycke/workflows/main/requirements.txt
https://raw.githubusercontent.com/kdeldycke/workflows/v2.18.0/requirements.txt
- name: Install project dependencies
run: |
poetry install --no-interaction
Expand Down Expand Up @@ -282,7 +282,7 @@ jobs:
- name: Install Poetry
run: >
python -m pip install --requirement
https://raw.githubusercontent.com/kdeldycke/workflows/main/requirements.txt
https://raw.githubusercontent.com/kdeldycke/workflows/v2.18.0/requirements.txt
- name: Install project dependencies
# Let sphinx-click access project's code to generate CLI help.
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/v2.18.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,7 +31,7 @@ jobs:
with:
skip_delete: true
from: |
https://raw.githubusercontent.com/kdeldycke/workflows/main/.github/labels.yaml
https://raw.githubusercontent.com/kdeldycke/workflows/v2.18.0/.github/labels.yaml
${{ inputs.extra-label-files }}
${{ startsWith(github.event.repository.name, 'awesome-') &&
'https://raw.githubusercontent.com/kdeldycke/workflows/main/.github/labels-awesome.yaml' || '' }}
'https://raw.githubusercontent.com/kdeldycke/workflows/v2.18.0/.github/labels-awesome.yaml' || '' }}
10 changes: 5 additions & 5 deletions .github/workflows/lint.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -40,14 +40,14 @@ jobs:
- name: Install Poetry
run: >
python -m pip install --requirement
https://raw.githubusercontent.com/kdeldycke/workflows/main/requirements.txt
https://raw.githubusercontent.com/kdeldycke/workflows/v2.18.0/requirements.txt
- name: Project metadata
id: project-metadata
env:
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/v2.18.0/.github/metadata.py)"
lint-python:
needs:
Expand All @@ -66,7 +66,7 @@ jobs:
- name: Install Ruff
run: >
python -m pip install --requirement
https://raw.githubusercontent.com/kdeldycke/workflows/main/requirements.txt
https://raw.githubusercontent.com/kdeldycke/workflows/v2.18.0/requirements.txt
- name: Run Ruff
# Runs with the default set of rules. Trust ruff to select a sensible subset.
run: >
Expand All @@ -89,7 +89,7 @@ jobs:
- name: Install Poetry and Mypy
run: >
python -m pip install --requirement
https://raw.githubusercontent.com/kdeldycke/workflows/main/requirements.txt
https://raw.githubusercontent.com/kdeldycke/workflows/v2.18.0/requirements.txt
- name: Install project 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)
Expand Down Expand Up @@ -122,7 +122,7 @@ jobs:
- name: Install yamllint
run: >
python -m pip install --requirement
https://raw.githubusercontent.com/kdeldycke/workflows/main/requirements.txt
https://raw.githubusercontent.com/kdeldycke/workflows/v2.18.0/requirements.txt
- name: Run yamllint
run: |
yamllint --strict --config-data "{rules: {line-length: {max: 120}}}" --format github .
Expand Down
12 changes: 6 additions & 6 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -59,14 +59,14 @@ jobs:
- name: Install Poetry
run: >
python -m pip install --requirement
https://raw.githubusercontent.com/kdeldycke/workflows/main/requirements.txt
https://raw.githubusercontent.com/kdeldycke/workflows/v2.18.0/requirements.txt
- name: Project metadata
id: project-metadata
env:
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/v2.18.0/.github/metadata.py)"
poetry-build:
name: "Poetry: build & check package"
Expand All @@ -89,7 +89,7 @@ jobs:
- name: Install poetry, twine and check-wheel-contents
run: >
python -m pip install --requirement
https://raw.githubusercontent.com/kdeldycke/workflows/main/requirements.txt
https://raw.githubusercontent.com/kdeldycke/workflows/v2.18.0/requirements.txt
- name: Build package
run: |
poetry install --no-interaction
Expand Down Expand Up @@ -129,15 +129,15 @@ jobs:
- name: Install poetry
run: >
python -m pip install --requirement
https://raw.githubusercontent.com/kdeldycke/workflows/main/requirements.txt
https://raw.githubusercontent.com/kdeldycke/workflows/v2.18.0/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:
# - ordered-set: used by Nuitka for compilation performance
# - zstandard: for nuitka's onefile compression
run: >
poetry run python -m pip install --requirement
https://raw.githubusercontent.com/kdeldycke/workflows/main/requirements.txt
https://raw.githubusercontent.com/kdeldycke/workflows/v2.18.0/requirements.txt
- name: Nuitka + compilers versions
run: |
poetry run python -m nuitka --version
Expand Down Expand Up @@ -183,7 +183,7 @@ jobs:
- name: Install bump-my-version
run: >
python -m pip install --requirement
https://raw.githubusercontent.com/kdeldycke/workflows/main/requirements.txt
https://raw.githubusercontent.com/kdeldycke/workflows/v2.18.0/requirements.txt
- name: Extract version
id: get_version
run: |
Expand Down
6 changes: 1 addition & 5 deletions changelog.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,6 @@
# Changelog

## [2.18.0 (unreleased)](https://github.com/kdeldycke/workflows/compare/v2.17.8...main)

```{important}
This version is not released yet and is under active development.
```
## [2.18.0 (2023-09-06)](https://github.com/kdeldycke/workflows/compare/v2.17.8...v2.18.0)

- Upgrade to `bump-my-version` `0.10.x` series.
- Remove the step updating the release date of `citation.cff` in `changelog` job. This can be done with `bump-my-version` now.
Expand Down

0 comments on commit 51994db

Please sign in to comment.