Compare commits

..

No commits in common. "1327d1f7b2b67b310ae439d89be231a135c64578" and "ccb64c5c4d1eb0a228eecce295088287402b59fe" have entirely different histories.

3 changed files with 4 additions and 21 deletions

View file

@ -5,12 +5,6 @@ All notable changes to WuttaFarm 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.2.1 (2026-02-08)
### Fix
- run web app via uvicorn/ASGI by default
## v0.2.0 (2026-02-08)
### Feat

View file

@ -5,7 +5,7 @@ build-backend = "hatchling.build"
[project]
name = "WuttaFarm"
version = "0.2.1"
version = "0.2.0"
description = "Web app to integrate with and extend farmOS"
readme = "README.md"
authors = [
@ -32,8 +32,7 @@ dependencies = [
"farmOS",
"psycopg2",
"pyramid_exclog",
"uvicorn[standard]",
"WuttaWeb[continuum]>=0.27.4",
"WuttaWeb[continuum]>=0.27.3",
]

View file

@ -13,8 +13,6 @@
${self.section_wutta_config()}
${self.section_wutta_web()}
<%text>##############################</%text>
# pyramid
@ -41,23 +39,15 @@ ${self.sectiongroup_logging()}
require = %(here)s/wutta.conf
</%def>
<%def name="section_wutta_web()">
[wutta.web]
app.runner = uvicorn
app.spec = ${pkg_name}.web.app:make_asgi_app
app.factory = true
app.interface = asgi3
app.port = ${pyramid_port}
</%def>
<%def name="section_app_main()">
[app:main]
#use = egg:wuttaweb
use = egg:${egg_name}
pyramid.reload_templates = true
pyramid.debug_all = true
pyramid.default_locale_name = en
#pyramid.includes = pyramid_debugtoolbar pyramid_exclog
#pyramid.includes = pyramid_debugtoolbar
beaker.session.type = file
beaker.session.data_dir = %(here)s/cache/sessions/data