From 2f933804f5241c93876db4322607aae01a0a2a08 Mon Sep 17 00:00:00 2001 From: Felix Fontein Date: Sun, 17 Mar 2024 12:00:53 +0100 Subject: [PATCH] Release antsibull-core 3.0.0 (#153) * Bump dev status from Alpha to Beta. This should have happened some time ago IMO. We can probably also bump this up even further, but let's do that later. * Fix instructions. * Prepare 3.0.0. * Release 3.0.0. * Use Python 3.12 for testing with antsibull and antsibull-docs. --- .github/workflows/antsibull-docs.yml | 4 ++-- .github/workflows/antsibull.yml | 4 ++-- CHANGELOG.md | 8 ++++---- CHANGELOG.rst | 6 +++--- README.md | 2 +- changelogs/changelog.yaml | 6 ++++++ pyproject.toml | 2 +- src/antsibull_core/__init__.py | 2 +- 8 files changed, 20 insertions(+), 14 deletions(-) diff --git a/.github/workflows/antsibull-docs.yml b/.github/workflows/antsibull-docs.yml index b0fcb0c..573e0d2 100644 --- a/.github/workflows/antsibull-docs.yml +++ b/.github/workflows/antsibull-docs.yml @@ -48,11 +48,11 @@ jobs: ref: main path: antsibull-docs - - name: Set up Python 3.11 + - name: Set up Python 3.12 id: python uses: actions/setup-python@v5 with: - python-version: '3.11' + python-version: '3.12' - name: Install dependencies env: diff --git a/.github/workflows/antsibull.yml b/.github/workflows/antsibull.yml index d2a3c1a..889fc91 100644 --- a/.github/workflows/antsibull.yml +++ b/.github/workflows/antsibull.yml @@ -49,11 +49,11 @@ jobs: ref: main path: antsibull - - name: Set up Python 3.11 + - name: Set up Python 3.12 id: python uses: actions/setup-python@v5 with: - python-version: '3.11' + python-version: '3.12' - name: Install dependencies env: diff --git a/CHANGELOG.md b/CHANGELOG.md index 9c4e9f9..1ebc033 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,7 +2,7 @@ **Topics** -- v3\.0\.0a1 +- v3\.0\.0 - Release Summary - Breaking Changes / Porting Guide - Removed Features \(previously deprecated\) @@ -52,13 +52,13 @@ - v0\.1\.0 - Release Summary - -## v3\.0\.0a1 + +## v3\.0\.0 ### Release Summary -First antsibull\-core v3 pre\-release +New major release\. ### Breaking Changes / Porting Guide diff --git a/CHANGELOG.rst b/CHANGELOG.rst index 74f3c74..cb3dd30 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -4,13 +4,13 @@ antsibull-core Release Notes .. contents:: Topics -v3.0.0a1 -======== +v3.0.0 +====== Release Summary --------------- -First antsibull-core v3 pre-release +New major release. Breaking Changes / Porting Guide -------------------------------- diff --git a/README.md b/README.md index 3a66d14..0142866 100644 --- a/README.md +++ b/README.md @@ -44,7 +44,7 @@ To run specific tests: ## Creating a new release: 1. Run `nox -e bump -- `. This: - * Bumps the package version in `pyproject.toml`. + * Bumps the package version in `src/antsibull_core/__init__.py`. * Creates `changelogs/fragments/.yml` with a `release_summary` section. * Runs `antsibull-changelog release` and adds the changed files to git. * Commits with message `Release .` and runs `git tag -a -m 'antsibull-core ' `. diff --git a/changelogs/changelog.yaml b/changelogs/changelog.yaml index 7b2a7d1..34704b1 100644 --- a/changelogs/changelog.yaml +++ b/changelogs/changelog.yaml @@ -231,6 +231,12 @@ releases: - 116-subprocess_util_escape.yaml - 2.2.0.yml release_date: '2023-12-01' + 3.0.0: + changes: + release_summary: New major release. + fragments: + - 3.0.0.yml + release_date: '2024-03-17' 3.0.0a1: changes: breaking_changes: diff --git a/pyproject.toml b/pyproject.toml index a59aa6f..fecd5de 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -16,7 +16,7 @@ license = "GPL-3.0-or-later AND BSD-2-Clause AND MIT AND PSF-2.0" license-files = {globs=["LICENSES/*.txt"]} readme = "README.md" classifiers = [ - "Development Status :: 3 - Alpha", + "Development Status :: 4 - Beta", "Framework :: Ansible", "Intended Audience :: Developers", "Programming Language :: Python :: 3", diff --git a/src/antsibull_core/__init__.py b/src/antsibull_core/__init__.py index b8ac8ed..5b650e7 100644 --- a/src/antsibull_core/__init__.py +++ b/src/antsibull_core/__init__.py @@ -9,6 +9,6 @@ from __future__ import annotations -__version__ = "3.0.0a1.post0" +__version__ = "3.0.0" __all__ = ("__version__",)