3
0
Fork 0

Compare commits

..

No commits in common. "f943d65f1ce24510c56dccbd1e68f0e91f8324f6" and "824889dfe0f4a67d9a283943a1bee0499368d4a7" have entirely different histories.

4 changed files with 5 additions and 22 deletions

View file

@ -5,23 +5,6 @@ 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.24.0" version = "0.23.2"
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.25.0", "WuttJamaican[db]>=0.24.1",
"zope.sqlalchemy>=1.5", "zope.sqlalchemy>=1.5",
] ]

View file

@ -24,6 +24,7 @@
Upgrade Views Upgrade Views
""" """
import datetime
import logging import logging
import os import os
import shutil import shutil
@ -288,7 +289,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 = self.app.make_utc() upgrade.executed = datetime.datetime.now()
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,8 +15,7 @@ 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 -m 'not versioned'") c.run("pytest")
c.run("pytest -m 'versioned'")
# rebuild pkg # rebuild pkg
if os.path.exists("dist"): if os.path.exists("dist"):