From 94c051c903882cb20bb86e72553b503a0fa26d7a Mon Sep 17 00:00:00 2001 From: Lucas Hoffmann Date: Sat, 6 Dec 2025 13:11:32 +0100 Subject: [PATCH 1/3] Use non alpha python version in ci, update mypy python version Python 3.8 support has been dropped since 80509b7ff0c70dd89b8199213a4026d7408ca02b but the mypy setting was forgotten. --- .github/workflows/test.yml | 2 +- pyproject.toml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index a3f18ee3f..abbf9d2e8 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -11,7 +11,7 @@ jobs: strategy: fail-fast: false matrix: - python-version: ["3.9", "3.10", "3.11", "3.12", "3.13", "3.14.0-rc.2"] + python-version: ["3.9", "3.10", "3.11", "3.12", "3.13", "3.14"] steps: - uses: actions/checkout@v4 diff --git a/pyproject.toml b/pyproject.toml index 953831048..4a0acac62 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -55,7 +55,7 @@ include = ["alot*"] [tool.setuptools_scm] [tool.mypy] -python_version = "3.8" +python_version = "3.9" warn_return_any = true warn_unused_configs = true disallow_untyped_defs = false From 653f51af5161aec5b65b011a9feb4cc3e43c6fc3 Mon Sep 17 00:00:00 2001 From: Lucas Hoffmann Date: Sat, 6 Dec 2025 14:32:55 +0100 Subject: [PATCH 2/3] Update NEWS for release of v0.12 --- NEWS | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/NEWS b/NEWS index 8045f00eb..438148913 100644 --- a/NEWS +++ b/NEWS @@ -1,3 +1,16 @@ +0.12: +* breaking: drop support for python 3.8, add support for python 3.13 & 3.14 +* deps: Increase required version of notmuch2 to 0.34.2 +* deps(nix): use pyproject-nix to parse the pyproject.toml file +* feature: Introduce a configurable thread search limit and :limit command +* info: start adding type hints to the code and type checking to CI +* info: various fixes around content transfer encoding +* info: Allow SGR ANSI control sequences +* info: improved contrast of focused attachments +* info: parse real names containing special characters in email addresses +* info: add .git_archival.txt +* info: fix return type of message without a preferred body + 0.11: * breaking: hooks file now has to be set in alot's config and defaults to no hooks * info: forwarded mails now set Reference header to include them in original thread From 1c17d19645dadbdd20e00a27abd878f0b56cbe8f Mon Sep 17 00:00:00 2001 From: Lucas Hoffmann Date: Sat, 6 Dec 2025 23:30:51 +0100 Subject: [PATCH 3/3] nix: add release tools to development environment These tools are mainly needed to test and publish releases. --- flake.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/flake.nix b/flake.nix index c4eed1271..5f1f5ead0 100644 --- a/flake.nix +++ b/flake.nix @@ -58,6 +58,7 @@ arg = project.renderers.withPackages { python = pkgs.python3.override {inherit packageOverrides;}; extras = builtins.attrNames project.dependencies.extras; + extraPackages = ps: [ps.twine ps.build]; }; pythonEnv = pkgs.python3.withPackages arg; in {