Skip to content

Commit

Permalink
Release v2.9.0 - Changelog
Browse files Browse the repository at this point in the history
  • Loading branch information
TEAM4-0 committed Jan 21, 2025
1 parent 5319b66 commit 2b4708e
Show file tree
Hide file tree
Showing 16 changed files with 71 additions and 21 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/cd_release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -213,7 +213,7 @@ jobs:
if [ -n "${{ inputs.build_libs }}" ]; then
pip install ${{ inputs.build_libs }}
fi
pip install git+https://github.com/SINTEF/ci-cd.git@v2.8.3
pip install git+https://github.com/SINTEF/ci-cd.git@v2.9.0
env:
PIP_INDEX_URL: ${{ inputs.pip_index_url }}
PIP_EXTRA_INDEX_URL: ${{ inputs.pip_extra_index_urls }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/ci_cd_updated_default_branch.yml
Original file line number Diff line number Diff line change
Expand Up @@ -252,7 +252,7 @@ jobs:
python -m pip install --upgrade pip
pip install -U setuptools wheel
pip install ${EDITABLE}.${{ inputs.doc_extras }}
pip install git+https://github.com/SINTEF/ci-cd.git@v2.8.3
pip install git+https://github.com/SINTEF/ci-cd.git@v2.9.0
INSTALLED_PACKAGES=$(pip freeze)
if [ "${{ inputs.docs_framework }}" == "mkdocs" ]; then
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/ci_check_pyproject_dependencies.yml
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@ jobs:
python -m pip install -U ${VERBOSE} pip
pip install -U ${VERBOSE} setuptools wheel
pip install ${VERBOSE} .${{ inputs.install_extras }}
pip install ${VERBOSE} git+https://github.com/SINTEF/ci-cd.git@v2.8.3
pip install ${VERBOSE} git+https://github.com/SINTEF/ci-cd.git@v2.9.0
env:
PIP_INDEX_URL: ${{ inputs.pip_index_url }}
PIP_EXTRA_INDEX_URL: ${{ inputs.pip_extra_index_urls }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/ci_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -446,7 +446,7 @@ jobs:
python -m pip install -U pip
pip install -U setuptools wheel
pip install ${EDITABLE}.${{ inputs.install_extras }}
pip install git+https://github.com/SINTEF/ci-cd.git@v2.8.3
pip install git+https://github.com/SINTEF/ci-cd.git@v2.9.0
env:
PIP_INDEX_URL: ${{ inputs.pip_index_url_docs }}
PIP_EXTRA_INDEX_URL: ${{ inputs.pip_extra_index_urls_docs }}
Expand Down
50 changes: 50 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,55 @@
# Changelog

## [Unreleased](https://github.com/SINTEF/ci-cd/tree/HEAD)

[Full Changelog](https://github.com/SINTEF/ci-cd/compare/v2.9.0...HEAD)

## Update Python version support

Drop Python 3.9 support, while adding Python 3.14 support.

### DX

Several updates for developer tools and dependencies.

## [v2.9.0](https://github.com/SINTEF/ci-cd/tree/v2.9.0) (2025-01-21)

[Full Changelog](https://github.com/SINTEF/ci-cd/compare/v2.8.3...v2.9.0)

## Update Python version support

Drop Python 3.9 support, while adding Python 3.14 support.

### DX

Several updates for developer tools and dependencies.

**Implemented enhancements:**

- Support Python 3.14 \(pre\) [\#294](https://github.com/SINTEF/ci-cd/issues/294)

**Closed issues:**

- Example for using trusted puclihser uses wrong key [\#299](https://github.com/SINTEF/ci-cd/issues/299)

**Merged pull requests:**

- Remove support for Python 3.7 [\#315](https://github.com/SINTEF/ci-cd/pull/315) ([CasperWA](https://github.com/CasperWA))
- \[pre-commit.ci\] pre-commit autoupdate [\#314](https://github.com/SINTEF/ci-cd/pull/314) ([pre-commit-ci[bot]](https://github.com/apps/pre-commit-ci))
- \[pre-commit.ci\] pre-commit autoupdate [\#313](https://github.com/SINTEF/ci-cd/pull/313) ([pre-commit-ci[bot]](https://github.com/apps/pre-commit-ci))
- \[pre-commit.ci\] pre-commit autoupdate [\#312](https://github.com/SINTEF/ci-cd/pull/312) ([pre-commit-ci[bot]](https://github.com/apps/pre-commit-ci))
- \[Auto-generated\] Update dependencies [\#311](https://github.com/SINTEF/ci-cd/pull/311) ([TEAM4-0](https://github.com/TEAM4-0))
- \[pre-commit.ci\] pre-commit autoupdate [\#309](https://github.com/SINTEF/ci-cd/pull/309) ([pre-commit-ci[bot]](https://github.com/apps/pre-commit-ci))
- \[Auto-generated\] Update dependencies [\#308](https://github.com/SINTEF/ci-cd/pull/308) ([TEAM4-0](https://github.com/TEAM4-0))
- \[pre-commit.ci\] pre-commit autoupdate [\#307](https://github.com/SINTEF/ci-cd/pull/307) ([pre-commit-ci[bot]](https://github.com/apps/pre-commit-ci))
- \[pre-commit.ci\] pre-commit autoupdate [\#306](https://github.com/SINTEF/ci-cd/pull/306) ([pre-commit-ci[bot]](https://github.com/apps/pre-commit-ci))
- \[pre-commit.ci\] pre-commit autoupdate [\#304](https://github.com/SINTEF/ci-cd/pull/304) ([pre-commit-ci[bot]](https://github.com/apps/pre-commit-ci))
- \[pre-commit.ci\] pre-commit autoupdate [\#303](https://github.com/SINTEF/ci-cd/pull/303) ([pre-commit-ci[bot]](https://github.com/apps/pre-commit-ci))
- \[pre-commit.ci\] pre-commit autoupdate [\#301](https://github.com/SINTEF/ci-cd/pull/301) ([pre-commit-ci[bot]](https://github.com/apps/pre-commit-ci))
- Corrected a typo in pypi publishing example, package-dir -\> packages-dir [\#300](https://github.com/SINTEF/ci-cd/pull/300) ([francescalb](https://github.com/francescalb))
- \[pre-commit.ci\] pre-commit autoupdate [\#298](https://github.com/SINTEF/ci-cd/pull/298) ([pre-commit-ci[bot]](https://github.com/apps/pre-commit-ci))
- Add support for Python 3.14 [\#295](https://github.com/SINTEF/ci-cd/pull/295) ([CasperWA](https://github.com/CasperWA))

## [v2.8.3](https://github.com/SINTEF/ci-cd/tree/v2.8.3) (2024-10-15)

[Full Changelog](https://github.com/SINTEF/ci-cd/compare/v2.8.2...v2.8.3)
Expand Down
2 changes: 1 addition & 1 deletion ci_cd/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

import logging

__version__ = "2.8.3"
__version__ = "2.9.0"
__author__ = "Casper Welzel Andersen"
__author_email__ = "[email protected]"

Expand Down
2 changes: 1 addition & 1 deletion docs/hooks/docs_api_reference.md
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ It is meant to be complete as is.
```yaml
repos:
- repo: https://github.com/SINTEF/ci-cd
rev: v2.8.3
rev: v2.9.0
hooks:
- id: docs-api-reference
args:
Expand Down
2 changes: 1 addition & 1 deletion docs/hooks/docs_landing_page.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ It is meant to be complete as is.
```yaml
repos:
- repo: https://github.com/SINTEF/ci-cd
rev: v2.8.3
rev: v2.9.0
hooks:
- id: docs-landing-page
args:
Expand Down
2 changes: 1 addition & 1 deletion docs/hooks/update_pyproject.md
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ It is meant to be complete as is.
```yaml
repos:
- repo: https://github.com/SINTEF/ci-cd
rev: v2.8.3
rev: v2.9.0
hooks:
- id: update-pyproject
args:
Expand Down
2 changes: 1 addition & 1 deletion docs/index.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# CI/CD tools

**Current version to use:** `v2.8.3`
**Current version to use:** `v2.9.0`

!!! warning "Important"
The default for `publish_on_pypi` in the [_CD - Release_ workflow](./workflows/cd_release.md) has changed from `true` to `false` in version `2.8.0`.
Expand Down
6 changes: 3 additions & 3 deletions docs/workflows/cd_release.md
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ jobs:
build:
name: Build distribution & publish documentation
if: github.repository == 'SINTEF/my-python-package' && startsWith(github.ref, 'refs/tags/v')
uses: SINTEF/ci-cd/.github/workflows/cd_release.yml@v2.8.3
uses: SINTEF/ci-cd/.github/workflows/cd_release.yml@v2.9.0
with:
# General
git_username: "Casper Welzel Andersen"
Expand Down Expand Up @@ -120,7 +120,7 @@ jobs:
The content of repository files can be updated to use the new version where necessary.
This is done through the `version_update_changes` (and `version_update_changes_separator`) inputs.

To see an example of how to use the `version_update_changes` (and `version_update_changes_separator`) see for example the [workflow used by the SINTEF/ci-cd repository](https://github.com/SINTEF/ci-cd/blob/v2.8.3/.github/workflows/_local_cd_release.yml) calling the _CD Release_ workflow.
To see an example of how to use the `version_update_changes` (and `version_update_changes_separator`) see for example the [workflow used by the SINTEF/ci-cd repository](https://github.com/SINTEF/ci-cd/blob/v2.9.0/.github/workflows/_local_cd_release.yml) calling the _CD Release_ workflow.

Some notes to consider and respect when using `version_update_changes` are:

Expand Down Expand Up @@ -235,7 +235,7 @@ on:
jobs:
publish:
name: Publish package and documentation
uses: SINTEF/ci-cd/.github/workflows/cd_release.yml@v2.8.3
uses: SINTEF/ci-cd/.github/workflows/cd_release.yml@v2.9.0
if: github.repository == 'SINTEF/my-python-package' && startsWith(github.ref, 'refs/tags/v')
with:
# General
Expand Down
6 changes: 3 additions & 3 deletions docs/workflows/ci_automerge_prs.md
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ on:
jobs:
update-dependency-branch:
name: Call external workflow
uses: SINTEF/ci-cd/.github/workflows/ci_automerge_prs.yml@v2.8.3
uses: SINTEF/ci-cd/.github/workflows/ci_automerge_prs.yml@v2.9.0
if: github.repository_owner == 'SINTEF' && ( ( startsWith(github.event.pull_request.head.ref, 'dependabot/') && github.actor == 'dependabot[bot]' ) || ( github.event.pull_request.head.ref == 'ci/update-pyproject' && github.actor == 'CasperWA' ) )
secrets:
PAT: ${{ secrets.RELEASE_PAT }}
Expand All @@ -77,7 +77,7 @@ on:
jobs:
update-dependency-branch:
name: Call external workflow
uses: SINTEF/ci-cd/.github/workflows/ci_automerge_prs.yml@v2.8.3
uses: SINTEF/ci-cd/.github/workflows/ci_automerge_prs.yml@v2.9.0
if: github.repository_owner == 'SINTEF' && ( ( startsWith(github.event.pull_request.head.ref, 'dependabot/') && github.actor == 'dependabot[bot]' ) || ( github.event.pull_request.head.ref == 'ci/update-pyproject' && github.actor == 'CasperWA' ) )
with:
perform_changes: true
Expand All @@ -101,7 +101,7 @@ on:
jobs:
update-dependency-branch:
name: Call external workflow
uses: SINTEF/ci-cd/.github/workflows/ci_automerge_prs.yml@v2.8.3
uses: SINTEF/ci-cd/.github/workflows/ci_automerge_prs.yml@v2.9.0
if: github.repository_owner == 'SINTEF' && ( ( startsWith(github.event.pull_request.head.ref, 'dependabot/') && github.actor == 'dependabot[bot]' ) || ( github.event.pull_request.head.ref == 'ci/update-pyproject' && github.actor == 'CasperWA' ) )
with:
perform_changes: true
Expand Down
2 changes: 1 addition & 1 deletion docs/workflows/ci_cd_updated_default_branch.md
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ on:
jobs:
updates-to-stable:
name: Call external workflow
uses: SINTEF/ci-cd/.github/workflows/ci_cd_updated_default_branch.yml@v2.8.3
uses: SINTEF/ci-cd/.github/workflows/ci_cd_updated_default_branch.yml@v2.9.0
if: github.repository_owner == 'SINTEF'
with:
git_username: "Casper Welzel Andersen"
Expand Down
4 changes: 2 additions & 2 deletions docs/workflows/ci_check_pyproject_dependencies.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ Here is an example of different lines given as value for the `ignore` option tha
# ...
jobs:
check-dependencies:
uses: SINTEF/ci-cd/.github/workflows/ci_check_pyproject_dependencies.yml@v2.8.3
uses: SINTEF/ci-cd/.github/workflows/ci_check_pyproject_dependencies.yml@v2.9.0
with:
# ...
# For Sphinx, ignore all updates for/from version 4.5.0 and up / keep the minimum version for Sphinx at 4.5.0.
Expand Down Expand Up @@ -99,7 +99,7 @@ on:
jobs:
check-dependencies:
name: Call external workflow
uses: SINTEF/ci-cd/.github/workflows/ci_check_pyproject_dependencies.yml@v2.8.3
uses: SINTEF/ci-cd/.github/workflows/ci_check_pyproject_dependencies.yml@v2.9.0
if: github.repository_owner == 'SINTEF'
with:
git_username: "Casper Welzel Andersen"
Expand Down
4 changes: 2 additions & 2 deletions docs/workflows/ci_tests.md
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,7 @@ on:
jobs:
tests:
name: Run basic tests
uses: SINTEF/ci-cd/.github/workflows/ci_tests.yml@v2.8.3
uses: SINTEF/ci-cd/.github/workflows/ci_tests.yml@v2.9.0
with:
python_version_pylint_safety: "3.8"
python_version_docs: "3.9"
Expand Down Expand Up @@ -205,7 +205,7 @@ on:
jobs:
tests:
name: Run basic tests
uses: SINTEF/ci-cd/.github/workflows/ci_tests.yml@v2.8.3
uses: SINTEF/ci-cd/.github/workflows/ci_tests.yml@v2.9.0
with:
python_version_pylint_safety: "3.8"
python_version_docs: "3.9"
Expand Down
2 changes: 1 addition & 1 deletion docs/workflows/ci_update_dependencies.md
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ on:
jobs:
check-dependencies:
name: Call external workflow
uses: SINTEF/ci-cd/.github/workflows/ci_update_dependencies.yml@v2.8.3
uses: SINTEF/ci-cd/.github/workflows/ci_update_dependencies.yml@v2.9.0
if: github.repository_owner == 'SINTEF'
with:
git_username: "Casper Welzel Andersen"
Expand Down

0 comments on commit 2b4708e

Please sign in to comment.