diff --git a/CHANGELOG.md b/CHANGELOG.md index e4ebb12..6c3b718 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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 diff --git a/pyproject.toml b/pyproject.toml index d29c3df..eecfddd 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -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]" ] diff --git a/src/suou/__init__.py b/src/suou/__init__.py index db3e41a..28b51b3 100644 --- a/src/suou/__init__.py +++ b/src/suou/__init__.py @@ -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', diff --git a/src/suou/glue.py b/src/suou/glue.py index db08aaf..3f1a799 100644 --- a/src/suou/glue.py +++ b/src/suou/glue.py @@ -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