Compare commits

...

4 commits

4 changed files with 84 additions and 4 deletions

1
.gitignore vendored
View file

@ -25,3 +25,4 @@ dist/
.vscode
/run.sh
ROADMAP.md
aliases/*/src

View file

@ -1,8 +1,17 @@
# Changelog
## 0.7.0
👀
## 0.6.2
- No changes to the library. However, the CD/CI script has been updated to upload the old `sakuragasaki46-suou` name as a full duplicate instead of an alias, solving the "reinstall needed" issue for `<=0.6.0` users.
## 0.6.1
- First release on PyPI under the name `suou`.
- **BREAKING**: if you installed `sakuragasaki46-suou<=0.6.0` you need to uninstall and reinstall or things may break.
- Fix `sqlalchemy.asyncio.SQLAlchemy()` to use context vars; `expire_on_commit=` is now configurable at instantiation. Fix some missing re-exports.
## 0.6.0

View file

@ -1,8 +1,78 @@
[project]
name = "sakuragasaki46_suou"
authors = [ { name = "Sakuragasaki46" } ]
version = "0.6.1"
description = "casual utility library for coding QoL"
authors = [
{ name = "Sakuragasaki46" }
]
dynamic = [ "version" ]
requires-python = ">=3.10"
dependencies = [ "suou==0.6.1" ]
license = "Apache-2.0"
readme = "README.md"
dependencies = [
"suou==0.6.2",
"itsdangerous",
"toml",
"pydantic",
"setuptools>=78.0.0",
"uvloop; os_name=='posix'"
]
# - further devdependencies below - #
# - publishing -
classifiers = [
"Development Status :: 2 - Pre-Alpha",
# actively supported Pythons
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13"
]
[project.urls]
Repository = "https://nekode.yusur.moe/yusur/suou"
[project.optional-dependencies]
# the below are all dev dependencies (and probably already installed)
sqlalchemy = [
"SQLAlchemy[asyncio]>=2.0.0"
]
flask = [
"Flask>=2.0.0",
"Flask-RestX"
]
flask_sqlalchemy = [
"Flask-SqlAlchemy",
]
peewee = [
## HEADS UP! peewee has setup.py, may slow down installation
"peewee>=3.0.0"
]
markdown = [
"markdown>=3.0.0"
]
quart = [
"Quart",
"Quart-Schema",
"starlette>=0.47.2"
]
sass = [
## HEADS UP!! libsass carries a C extension + uses setup.py
"libsass"
]
full = [
"sakuragasaki46_suou[sqlalchemy]",
"sakuragasaki46_suou[flask]",
"sakuragasaki46_suou[quart]",
"sakuragasaki46_suou[peewee]",
"sakuragasaki46_suou[markdown]",
"sakuragasaki46_suou[flask-sqlalchemy]",
"sakuragasaki46_suou[sass]"
]
[tool.setuptools.dynamic]
version = { attr = "suou.__version__" }

View file

@ -36,7 +36,7 @@ from .validators import matches
from .redact import redact_url_password
from .http import WantsContentType
__version__ = "0.6.1"
__version__ = "0.6.2"
__all__ = (
'ConfigOptions', 'ConfigParserConfigSource', 'ConfigSource', 'ConfigValue',