0.7.5 update sqlalchemy module to require flask_sqlalchemy

This commit is contained in:
Yusur 2025-11-01 09:29:20 +01:00
parent c27630c3d6
commit 556019e0bd
4 changed files with 12 additions and 5 deletions

View file

@ -1,5 +1,10 @@
# Changelog
## 0.7.5
+ Delay release of `FakeModule` to 0.9.0
+ Update dependencies: `.sqlalchemy` now requires `flask_sqlalchemy` regardless of use of Flask
## 0.7.4
+ Delay release of `@glue()`
@ -9,7 +14,7 @@
## 0.7.3
+ Fixed some broken imports in `.sqlalchemy`
+ Stage `@glue()` for release in 0.9.0
+ Stage `@glue()` for release in ~~0.8.0~~ 0.9.0
+ Add docs to `.sqlalchemy`
## 0.7.2

View file

@ -38,14 +38,16 @@ Documentation = "https://suou.readthedocs.io"
[project.optional-dependencies]
# the below are all dev dependencies (and probably already installed)
sqlalchemy = [
"SQLAlchemy[asyncio]>=2.0.0"
"SQLAlchemy[asyncio]>=2.0.0",
"flask-sqlalchemy"
]
flask = [
"Flask>=2.0.0",
"Flask-RestX"
]
flask_sqlalchemy = [
"Flask-SqlAlchemy",
"suou[sqlalchemy]",
"suou[flask]"
]
peewee = [
## HEADS UP! peewee has setup.py, may slow down installation
@ -70,7 +72,6 @@ full = [
"suou[quart]",
"suou[peewee]",
"suou[markdown]",
"suou[flask-sqlalchemy]",
"suou[sass]"
]

View file

@ -37,7 +37,7 @@ from .redact import redact_url_password
from .http import WantsContentType
from .color import chalk
__version__ = "0.7.4"
__version__ = "0.7.5"
__all__ = (
'ConfigOptions', 'ConfigParserConfigSource', 'ConfigSource', 'ConfigValue',

View file

@ -22,6 +22,7 @@ from suou.classtools import MISSING
from suou.functools import future
@future(version="0.9.0")
class FakeModule(ModuleType):
"""
Fake module used in @glue() in case of import error