From 4235290a51642ffe1e6998dff454a8863d5efb1e Mon Sep 17 00:00:00 2001 From: Nicola Coretti Date: Fri, 12 Aug 2022 11:13:36 +0200 Subject: [PATCH] prepare release 3.2.2 * Fix format issue(s) in changelog * Adjust changelog fragment template * Improve gh actions to catch failing doc build earlier * Bump version to 3.2.2 --- .github/workflows/ci-cd.yml | 25 +++++++++++++++++++++ .github/workflows/ci.yaml | 25 +++++++++++++++++++++ .github/workflows/gh-pages.yaml | 2 +- CHANGELOG.rst | 8 +++---- changelog.d/templates/fragment-template.rst | 8 +++---- pyproject.toml | 2 +- sqlalchemy_exasol/version.py | 2 +- 7 files changed, 61 insertions(+), 11 deletions(-) diff --git a/.github/workflows/ci-cd.yml b/.github/workflows/ci-cd.yml index 8b8e293a..683ce3e9 100644 --- a/.github/workflows/ci-cd.yml +++ b/.github/workflows/ci-cd.yml @@ -8,8 +8,33 @@ on: - '**' jobs: + + build_docs: + runs-on: ubuntu-latest + name: build_docs + + steps: + - name: Checkout + uses: actions/checkout@v3 + + - name: Install Poetry + uses: snok/install-poetry@v1 + + - name: Set up Python + uses: actions/setup-python@v4 + with: + python-version: 3.9 + + - name: Install Dependencies + run: | + poetry install + - name: Build Documentation + run: | + poetry run python -m nox -s build-docs + run_tests: runs-on: ubuntu-latest + needs: build_docs strategy: fail-fast: false matrix: diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 0b736891..05974ca4 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -12,8 +12,33 @@ on: - cron: "0 0 1/7 * *" jobs: + + build_docs: + runs-on: ubuntu-latest + name: build_docs + + steps: + - name: Checkout + uses: actions/checkout@v3 + + - name: Install Poetry + uses: snok/install-poetry@v1 + + - name: Set up Python + uses: actions/setup-python@v4 + with: + python-version: 3.9 + + - name: Install Dependencies + run: | + poetry install + - name: Build Documentation + run: | + poetry run python -m nox -s build-docs + run_tests: runs-on: ubuntu-latest + needs: build_docs strategy: fail-fast: false matrix: diff --git a/.github/workflows/gh-pages.yaml b/.github/workflows/gh-pages.yaml index adcbd9ae..d6395c9a 100644 --- a/.github/workflows/gh-pages.yaml +++ b/.github/workflows/gh-pages.yaml @@ -23,7 +23,7 @@ jobs: - name: Install Dependencies run: | poetry install - - name: Build Documenations + - name: Build Documentations run: | poetry run python -m nox -s build-docs touch doc/build/.nojekyll diff --git a/CHANGELOG.rst b/CHANGELOG.rst index 2883240e..881b5781 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -1,11 +1,11 @@ .. _changelog-3.2.1: -3.2.1 — 2022-08-12 +3.2.2 — 2022-08-12 ================== ✨ Added -------- +-------- - Added turbodbc support * Re-enabled with new minimum base version 4.5.4 - Added additional information to README @@ -14,9 +14,9 @@ * Linting score of the project 🔧 Changed ---------- +---------- - Changed changelog format - - Changelog now can be found in the file CHANGELOG.rst + * Changelog now can be found in the file CHANGELOG.rst - Reworked and restructured project documentation 🗑️ Removed diff --git a/changelog.d/templates/fragment-template.rst b/changelog.d/templates/fragment-template.rst index 1c3713e8..7441600c 100644 --- a/changelog.d/templates/fragment-template.rst +++ b/changelog.d/templates/fragment-template.rst @@ -8,22 +8,22 @@ .. - A bullet item for the Removed category. .. .. ✨ Added -.. -------- +.. --------- .. .. - A bullet item for the Added category. .. .. 🔧 Changed -.. ---------- +.. ----------- .. .. - A bullet item for the Changed category. .. .. 🚧 Deprecated -.. ------------- +.. -------------- .. .. - A bullet item for the Deprecated category. .. .. 🐞 Fixed -.. -------- +.. --------- .. .. - A bullet item for the Fixed category. .. diff --git a/pyproject.toml b/pyproject.toml index 82c671ea..bbca1db7 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -6,7 +6,7 @@ build-backend = "poetry.core.masonry.api" [tool.poetry] name = "sqlalchemy_exasol" -version = "3.2.1" +version = "3.2.2" description = "EXASOL dialect for SQLAlchemy" readme = "README.rst" authors = [ diff --git a/sqlalchemy_exasol/version.py b/sqlalchemy_exasol/version.py index f7abf672..e4dcba46 100644 --- a/sqlalchemy_exasol/version.py +++ b/sqlalchemy_exasol/version.py @@ -4,6 +4,6 @@ MAJOR = 3 MINOR = 2 -PATCH = 1 +PATCH = 2 VERSION = f"{MAJOR}.{MINOR}.{PATCH}"