From 5a78b0740d5dfdc57bb9730ceb78e5a6e310fcbb Mon Sep 17 00:00:00 2001 From: Lance Edgar Date: Sat, 20 Sep 2025 14:41:55 -0500 Subject: [PATCH 1/3] fix: fix config extension entry point per upstream changes --- pyproject.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index 044aa63b..a25afebf 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -78,7 +78,7 @@ webapi = "tailbone.webapi:main" beaker = "tailbone.cleanup:BeakerCleaner" -[project.entry-points."rattail.config.extensions"] +[project.entry-points."wutta.config.extensions"] tailbone = "tailbone.config:ConfigExtension" From 207125bdb3576a4159f6bae4d978e4e8d3ce5945 Mon Sep 17 00:00:00 2001 From: Lance Edgar Date: Sat, 20 Sep 2025 14:47:05 -0500 Subject: [PATCH 2/3] fix: avoid error if 'default' theme not included --- tailbone/util.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tailbone/util.py b/tailbone/util.py index 71aa35e3..78ab07f0 100644 --- a/tailbone/util.py +++ b/tailbone/util.py @@ -300,8 +300,8 @@ def get_available_themes(rattail_config, include=None): available.sort() # make default theme the first option - i = available.index('default') - if i >= 0: + if 'default' in available: + i = available.index('default') available.pop(i) available.insert(0, 'default') From 3cc37bea3005abe0053daed258548a4d44dbebc5 Mon Sep 17 00:00:00 2001 From: Lance Edgar Date: Sat, 20 Sep 2025 14:47:29 -0500 Subject: [PATCH 3/3] =?UTF-8?q?bump:=20version=200.22.9=20=E2=86=92=200.22?= =?UTF-8?q?.10?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- CHANGELOG.md | 7 +++++++ pyproject.toml | 2 +- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 68a77a5b..56134c50 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,13 @@ All notable changes to Tailbone will be documented in this file. The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/) and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html). +## v0.22.10 (2025-09-20) + +### Fix + +- avoid error if 'default' theme not included +- fix config extension entry point + ## v0.22.9 (2025-09-20) ### Fix diff --git a/pyproject.toml b/pyproject.toml index a25afebf..d6e8ec92 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -6,7 +6,7 @@ build-backend = "hatchling.build" [project] name = "Tailbone" -version = "0.22.9" +version = "0.22.10" description = "Backoffice Web Application for Rattail" readme = "README.md" authors = [{name = "Lance Edgar", email = "lance@edbob.org"}]