make SQLAlchemy 1.4 dependency explicit
This commit is contained in:
parent
c9c95ba2fa
commit
00486778db
3 changed files with 18 additions and 3 deletions
18
poetry.lock
generated
18
poetry.lock
generated
|
|
@ -673,7 +673,9 @@ files = [
|
||||||
]
|
]
|
||||||
|
|
||||||
[package.dependencies]
|
[package.dependencies]
|
||||||
greenlet = {version = "!=0.4.17", markers = "python_version >= \"3\" and platform_machine == \"aarch64\" or python_version >= \"3\" and platform_machine == \"ppc64le\" or python_version >= \"3\" and platform_machine == \"x86_64\" or python_version >= \"3\" and platform_machine == \"amd64\" or python_version >= \"3\" and platform_machine == \"AMD64\" or python_version >= \"3\" and platform_machine == \"win32\" or python_version >= \"3\" and platform_machine == \"WIN32\""}
|
aiosqlite = {version = "*", optional = true, markers = "python_version >= \"3\" and extra == \"aiosqlite\""}
|
||||||
|
greenlet = {version = "!=0.4.17", optional = true, markers = "python_version >= \"3\" and platform_machine == \"aarch64\" or python_version >= \"3\" and platform_machine == \"ppc64le\" or python_version >= \"3\" and platform_machine == \"x86_64\" or python_version >= \"3\" and platform_machine == \"amd64\" or python_version >= \"3\" and platform_machine == \"AMD64\" or python_version >= \"3\" and platform_machine == \"win32\" or python_version >= \"3\" and platform_machine == \"WIN32\" or python_version >= \"3\" and extra == \"aiosqlite\""}
|
||||||
|
typing-extensions = {version = "!=3.10.0.1", optional = true, markers = "extra == \"aiosqlite\""}
|
||||||
|
|
||||||
[package.extras]
|
[package.extras]
|
||||||
aiomysql = ["aiomysql", "greenlet (!=0.4.17)"]
|
aiomysql = ["aiomysql", "greenlet (!=0.4.17)"]
|
||||||
|
|
@ -714,6 +716,18 @@ anyio = ">=3.4.0,<5"
|
||||||
[package.extras]
|
[package.extras]
|
||||||
full = ["httpx (>=0.22.0)", "itsdangerous", "jinja2", "python-multipart", "pyyaml"]
|
full = ["httpx (>=0.22.0)", "itsdangerous", "jinja2", "python-multipart", "pyyaml"]
|
||||||
|
|
||||||
|
[[package]]
|
||||||
|
name = "typing-extensions"
|
||||||
|
version = "4.5.0"
|
||||||
|
description = "Backported and Experimental Type Hints for Python 3.7+"
|
||||||
|
category = "main"
|
||||||
|
optional = false
|
||||||
|
python-versions = ">=3.7"
|
||||||
|
files = [
|
||||||
|
{file = "typing_extensions-4.5.0-py3-none-any.whl", hash = "sha256:fb33085c39dd998ac16d1431ebc293a8b3eedd00fd4a32de0ff79002c19511b4"},
|
||||||
|
{file = "typing_extensions-4.5.0.tar.gz", hash = "sha256:5cb5f4a79139d699607b3ef622a1dedafa84e115ab0024e0d9c044a9479ca7cb"},
|
||||||
|
]
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "ulid-py"
|
name = "ulid-py"
|
||||||
version = "1.1.0"
|
version = "1.1.0"
|
||||||
|
|
@ -760,4 +774,4 @@ files = [
|
||||||
[metadata]
|
[metadata]
|
||||||
lock-version = "2.0"
|
lock-version = "2.0"
|
||||||
python-versions = "^3.11"
|
python-versions = "^3.11"
|
||||||
content-hash = "a43dcab0548fc3be276e10ff19fe108211e5bdc42a8a161c744eeb4d20b14294"
|
content-hash = "e5420c03a1175d193f337682c451c648a1c41c6535a7ad7172a418f6c6b72e33"
|
||||||
|
|
|
||||||
|
|
@ -14,6 +14,7 @@ ulid-py = "^1.1.0"
|
||||||
databases = {extras = ["sqlite"], version = "^0.7.0"}
|
databases = {extras = ["sqlite"], version = "^0.7.0"}
|
||||||
uvicorn = "^0.21"
|
uvicorn = "^0.21"
|
||||||
httpx = "^0.23.3"
|
httpx = "^0.23.3"
|
||||||
|
sqlalchemy = {version = "^1.4", extras = ["aiosqlite"]}
|
||||||
|
|
||||||
[tool.poetry.group.dev]
|
[tool.poetry.group.dev]
|
||||||
optional = true
|
optional = true
|
||||||
|
|
|
||||||
|
|
@ -10,6 +10,6 @@ trap 'rm "$dbfile"' EXIT TERM INT QUIT
|
||||||
|
|
||||||
[ -z "${DEBUG:-}" ] || set -x
|
[ -z "${DEBUG:-}" ] || set -x
|
||||||
|
|
||||||
SQLALCHEMY_WARN_20=1 \
|
export SQLALCHEMY_WARN_20=1 # XXX remove when we switched to SQLAlchemy 2.0
|
||||||
UNWIND_STORAGE="$dbfile" \
|
UNWIND_STORAGE="$dbfile" \
|
||||||
python -m pytest "$@"
|
python -m pytest "$@"
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue