From bfbc2338dc3f938ea6e66622fad2fc201ff5aead Mon Sep 17 00:00:00 2001 From: Lance Edgar Date: Mon, 15 Dec 2025 13:22:40 -0600 Subject: [PATCH 1/3] fix: use UTC when updating timestamp in DB per changes in wuttjamaican --- src/wuttaweb/views/upgrades.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/wuttaweb/views/upgrades.py b/src/wuttaweb/views/upgrades.py index c591b45..a4868b2 100644 --- a/src/wuttaweb/views/upgrades.py +++ b/src/wuttaweb/views/upgrades.py @@ -24,7 +24,6 @@ Upgrade Views """ -import datetime import logging import os import shutil @@ -289,7 +288,7 @@ class UpgradeView(MasterView): # pylint: disable=abstract-method logger("upgrade command had exit code: %s", upgrade.exit_code) # declare it complete - upgrade.executed = datetime.datetime.now() + upgrade.executed = self.app.make_utc() upgrade.executed_by = user if upgrade.exit_code == 0: upgrade.status = enum.UpgradeStatus.SUCCESS From 1e2a467551d5179fc71df4674a51a6ae8ebe8935 Mon Sep 17 00:00:00 2001 From: Lance Edgar Date: Mon, 15 Dec 2025 16:28:12 -0600 Subject: [PATCH 2/3] =?UTF-8?q?bump:=20version=200.23.2=20=E2=86=92=200.24?= =?UTF-8?q?.0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- CHANGELOG.md | 17 +++++++++++++++++ pyproject.toml | 4 ++-- 2 files changed, 19 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 75bfe0b..470d4b4 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,23 @@ All notable changes to wuttaweb 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.24.0 (2025-12-15) + +### Feat + +- basic support for displaying version history + +### Fix + +- use UTC when updating timestamp in DB +- workaround error when 'fanstatic.needed' missing from environ +- workaround error when 'fanstatic.needed' missing from environ +- address pylint warnings +- add basic `create_row()` support, esp. for batch views +- update dependencies for wuttjamaican, wutta-continuum +- make master view auto-detect continuum versioning for model class +- fix 'invalid-name' for pylint + ## v0.23.2 (2025-10-19) ### Fix diff --git a/pyproject.toml b/pyproject.toml index 8907c82..337c2a6 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -6,7 +6,7 @@ build-backend = "hatchling.build" [project] name = "WuttaWeb" -version = "0.23.2" +version = "0.24.0" description = "Web App for Wutta Framework" readme = "README.md" authors = [{name = "Lance Edgar", email = "lance@wuttaproject.org"}] @@ -44,7 +44,7 @@ dependencies = [ "pyramid_tm", "waitress", "WebHelpers2", - "WuttJamaican[db]>=0.24.1", + "WuttJamaican[db]>=0.25.0", "zope.sqlalchemy>=1.5", ] From f943d65f1ce24510c56dccbd1e68f0e91f8324f6 Mon Sep 17 00:00:00 2001 From: Lance Edgar Date: Mon, 15 Dec 2025 16:30:25 -0600 Subject: [PATCH 3/3] build: fix test commands for release task --- tasks.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tasks.py b/tasks.py index 0189843..1a51cac 100644 --- a/tasks.py +++ b/tasks.py @@ -15,7 +15,8 @@ def release(c, skip_tests=False): Release a new version of WuttJamaican """ if not skip_tests: - c.run("pytest") + c.run("pytest -m 'not versioned'") + c.run("pytest -m 'versioned'") # rebuild pkg if os.path.exists("dist"):