Skip to content

Commit

Permalink
[changelog] Release v3.5.3
Browse files Browse the repository at this point in the history
  • Loading branch information
kdeldycke committed May 23, 2024
1 parent 7b77c7b commit 2ca0137
Show file tree
Hide file tree
Showing 9 changed files with 34 additions and 38 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/autofix.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -80,18 +80,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/v3.5.3/requirements/uv.txt
- name: Install pinned Poetry
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/v3.5.3/requirements/metadata.txt
- name: Project metadata
id: project-metadata
env:
GITHUB_CONTEXT: ${{ toJSON(github) }}
run: >
source .venv/bin/activate &&
python -c "$(curl -fsSL https://raw.githubusercontent.com/kdeldycke/workflows/main/.github/metadata.py)"
python -c "$(curl -fsSL https://raw.githubusercontent.com/kdeldycke/workflows/v3.5.3/.github/metadata.py)"
format-python:
name: Format Python
Expand Down Expand Up @@ -138,7 +138,7 @@ jobs:
- name: Install Ruff, blacken-docs and autopep8
run: >
python -m pip install --requirement
https://raw.githubusercontent.com/kdeldycke/workflows/main/requirements/format-python.txt
https://raw.githubusercontent.com/kdeldycke/workflows/v3.5.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
Expand Down Expand Up @@ -292,7 +292,7 @@ jobs:
- name: Install mdformat
run: >
python -m pip install --requirement
https://raw.githubusercontent.com/kdeldycke/workflows/main/requirements/mdformat.txt
https://raw.githubusercontent.com/kdeldycke/workflows/v3.5.3/requirements/mdformat.txt
- name: Install shfmt
run: |
sudo apt install --yes shfmt
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/changelog.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ jobs:
- name: Install bump-my-version
run: >
python -m pip install --requirement
https://raw.githubusercontent.com/kdeldycke/workflows/main/requirements/changelog.txt
https://raw.githubusercontent.com/kdeldycke/workflows/v3.5.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 .
Expand Down Expand Up @@ -123,7 +123,7 @@ jobs:
- name: Install bump-my-version
run: >
python -m pip install --requirement
https://raw.githubusercontent.com/kdeldycke/workflows/main/requirements/changelog.txt
https://raw.githubusercontent.com/kdeldycke/workflows/v3.5.3/requirements/changelog.txt
- name: Extract version
id: get_version
run: |
Expand Down Expand Up @@ -187,7 +187,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/v3.5.3/.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 @@ -119,7 +119,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/v3.5.3/.github/update_mailmap.py)"
- uses: peter-evans/create-pull-request@v6.0.5
with:
assignees: ${{ github.actor }}
Expand Down Expand Up @@ -190,18 +190,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/v3.5.3/requirements/uv.txt
- name: Install pinned Poetry
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/v3.5.3/requirements/metadata.txt
- name: Project metadata
id: project-metadata
env:
GITHUB_CONTEXT: ${{ toJSON(github) }}
run: >
source .venv/bin/activate &&
python -c "$(curl -fsSL https://raw.githubusercontent.com/kdeldycke/workflows/main/.github/metadata.py)"
python -c "$(curl -fsSL https://raw.githubusercontent.com/kdeldycke/workflows/v3.5.3/.github/metadata.py)"
update-deps-graph:
name: Update dependency graph
Expand All @@ -224,9 +224,9 @@ jobs:
- name: Install pipdeptree and Poetry on system
run: >
python -m pip install --requirement
https://raw.githubusercontent.com/kdeldycke/workflows/main/requirements/pipdeptree.txt
https://raw.githubusercontent.com/kdeldycke/workflows/v3.5.3/requirements/pipdeptree.txt
--requirement
https://raw.githubusercontent.com/kdeldycke/workflows/main/requirements/build.txt
https://raw.githubusercontent.com/kdeldycke/workflows/v3.5.3/requirements/build.txt
- name: Install project with Poetry
run: |
poetry install --only main --no-interaction
Expand Down Expand Up @@ -285,7 +285,7 @@ jobs:
- name: Install Poetry
run: >
python -m pip install --requirement
https://raw.githubusercontent.com/kdeldycke/workflows/main/requirements/build.txt
https://raw.githubusercontent.com/kdeldycke/workflows/v3.5.3/requirements/build.txt
- name: Install project dependencies
run: |
poetry install --with docs --no-interaction
Expand Down Expand Up @@ -331,7 +331,7 @@ jobs:
- name: Install Poetry
run: >
python -m pip install --requirement
https://raw.githubusercontent.com/kdeldycke/workflows/main/requirements/build.txt
https://raw.githubusercontent.com/kdeldycke/workflows/v3.5.3/requirements/build.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-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/v3.5.3/.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/v3.5.3/.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/v3.5.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/v3.5.3/.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 @@ -66,18 +66,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/v3.5.3/requirements/uv.txt
- name: Install pinned Poetry
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/v3.5.3/requirements/metadata.txt
- name: Project metadata
id: project-metadata
env:
GITHUB_CONTEXT: ${{ toJSON(github) }}
run: >
source .venv/bin/activate &&
python -c "$(curl -fsSL https://raw.githubusercontent.com/kdeldycke/workflows/main/.github/metadata.py)"
python -c "$(curl -fsSL https://raw.githubusercontent.com/kdeldycke/workflows/v3.5.3/.github/metadata.py)"
mypy-lint:
needs:
Expand All @@ -97,16 +97,16 @@ 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/v3.5.3/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/v3.5.3/requirements/mypy.txt
- name: Install package with Poetry
# Install Poetry, then install the package with it, as uv cannot read Poetry-flavored pyproject.toml.
if: fromJSON(needs.project-metadata.outputs.is_poetry_project)
run: |
uv pip install -r https://raw.githubusercontent.com/kdeldycke/workflows/main/requirements/build.txt
uv pip install -r https://raw.githubusercontent.com/kdeldycke/workflows/v3.5.3/requirements/build.txt
poetry install --all-extras --with typing --with test --no-interaction
- name: Install package with uv
if: ${{ ! fromJSON(needs.project-metadata.outputs.is_poetry_project) }}
Expand Down Expand Up @@ -167,7 +167,7 @@ jobs:
- name: Install yamllint
run: >
python -m pip install --requirement
https://raw.githubusercontent.com/kdeldycke/workflows/main/requirements/yamllint.txt
https://raw.githubusercontent.com/kdeldycke/workflows/v3.5.3/requirements/yamllint.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 @@ -57,18 +57,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/v3.5.3/requirements/uv.txt
- name: Install pinned Poetry
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/v3.5.3/requirements/metadata.txt
- name: Project metadata
id: project-metadata
env:
GITHUB_CONTEXT: ${{ toJSON(github) }}
run: >
source .venv/bin/activate &&
python -c "$(curl -fsSL https://raw.githubusercontent.com/kdeldycke/workflows/main/.github/metadata.py)"
python -c "$(curl -fsSL https://raw.githubusercontent.com/kdeldycke/workflows/v3.5.3/.github/metadata.py)"
poetry-build:
name: "Poetry: build & check package"
Expand All @@ -95,7 +95,7 @@ jobs:
- name: Install poetry, twine and check-wheel-contents
run: >
python -m pip install --requirement
https://raw.githubusercontent.com/kdeldycke/workflows/main/requirements/build.txt
https://raw.githubusercontent.com/kdeldycke/workflows/v3.5.3/requirements/build.txt
- name: Build package
run: |
poetry install --no-interaction
Expand Down Expand Up @@ -141,12 +141,12 @@ jobs:
- name: Install poetry
run: >
python -m pip install --requirement
https://raw.githubusercontent.com/kdeldycke/workflows/main/requirements/build.txt
https://raw.githubusercontent.com/kdeldycke/workflows/v3.5.3/requirements/build.txt
- name: Re-install Nuitka in Poetry venv
# Nuitka needs to be installed within Poetry's venv to allow for lots of workarounds.
run: >
poetry run python -m pip install --requirement
https://raw.githubusercontent.com/kdeldycke/workflows/main/requirements/nuitka.txt
https://raw.githubusercontent.com/kdeldycke/workflows/v3.5.3/requirements/nuitka.txt
- name: Nuitka + compilers versions
run: |
poetry run python -m nuitka --version
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

## [3.5.3 (unreleased)](https://github.com/kdeldycke/workflows/compare/v3.5.2...main)

```{important}
This version is not released yet and is under active development.
```
## [3.5.3 (2024-05-23)](https://github.com/kdeldycke/workflows/compare/v3.5.2...v3.5.3)

- Pin `uv` version everywhere to improve stability.
- Fix mypy execution and dependency installation.
Expand Down

0 comments on commit 2ca0137

Please sign in to comment.