3
0
Fork 0

Compare commits

..

3 commits

Author SHA1 Message Date
f943d65f1c build: fix test commands for release task 2025-12-15 16:30:25 -06:00
1e2a467551 bump: version 0.23.2 → 0.24.0 2025-12-15 16:28:12 -06:00
bfbc2338dc fix: use UTC when updating timestamp in DB
per changes in wuttjamaican
2025-12-15 13:22:40 -06:00
4 changed files with 22 additions and 5 deletions

View file

@ -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/) 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). 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) ## v0.23.2 (2025-10-19)
### Fix ### Fix

View file

@ -6,7 +6,7 @@ build-backend = "hatchling.build"
[project] [project]
name = "WuttaWeb" name = "WuttaWeb"
version = "0.23.2" version = "0.24.0"
description = "Web App for Wutta Framework" description = "Web App for Wutta Framework"
readme = "README.md" readme = "README.md"
authors = [{name = "Lance Edgar", email = "lance@wuttaproject.org"}] authors = [{name = "Lance Edgar", email = "lance@wuttaproject.org"}]
@ -44,7 +44,7 @@ dependencies = [
"pyramid_tm", "pyramid_tm",
"waitress", "waitress",
"WebHelpers2", "WebHelpers2",
"WuttJamaican[db]>=0.24.1", "WuttJamaican[db]>=0.25.0",
"zope.sqlalchemy>=1.5", "zope.sqlalchemy>=1.5",
] ]

View file

@ -24,7 +24,6 @@
Upgrade Views Upgrade Views
""" """
import datetime
import logging import logging
import os import os
import shutil import shutil
@ -289,7 +288,7 @@ class UpgradeView(MasterView): # pylint: disable=abstract-method
logger("upgrade command had exit code: %s", upgrade.exit_code) logger("upgrade command had exit code: %s", upgrade.exit_code)
# declare it complete # declare it complete
upgrade.executed = datetime.datetime.now() upgrade.executed = self.app.make_utc()
upgrade.executed_by = user upgrade.executed_by = user
if upgrade.exit_code == 0: if upgrade.exit_code == 0:
upgrade.status = enum.UpgradeStatus.SUCCESS upgrade.status = enum.UpgradeStatus.SUCCESS

View file

@ -15,7 +15,8 @@ def release(c, skip_tests=False):
Release a new version of WuttJamaican Release a new version of WuttJamaican
""" """
if not skip_tests: if not skip_tests:
c.run("pytest") c.run("pytest -m 'not versioned'")
c.run("pytest -m 'versioned'")
# rebuild pkg # rebuild pkg
if os.path.exists("dist"): if os.path.exists("dist"):