Fix enum schema (#715)
* fix schema with enum fields - issue #699 * fix drivers dependencies - make them optional * fix command * provide extras * add bolean field to related model * add test with select related and boolean * new test case based on issue * fix bool issue in postgres limit queries - issue #704 * fix coverage * bump version and add release info
This commit is contained in:
@ -3,7 +3,7 @@ name = "ormar"
|
||||
|
||||
[tool.poetry]
|
||||
name = "ormar"
|
||||
version = "0.11.1"
|
||||
version = "0.11.2"
|
||||
description = "A simple async ORM with fastapi in mind and pydantic validation."
|
||||
authors = ["Radosław Drążkiewicz <collerek@gmail.com>"]
|
||||
license = "MIT"
|
||||
@ -45,11 +45,16 @@ python = "^3.7.0"
|
||||
databases = ">=0.3.2,!=0.5.0,!=0.5.1,!=0.5.2,!=0.5.3,<0.6.1"
|
||||
pydantic = ">=1.6.1,!=1.7,!=1.7.1,!=1.7.2,!=1.7.3,!=1.8,!=1.8.1,<=1.9.1"
|
||||
SQLAlchemy = ">=1.3.18,<1.4.39"
|
||||
asyncpg = { version = ">=0.24,<0.26", optional = true }
|
||||
psycopg2-binary = { version = "^2.9.1", optional = true }
|
||||
aiomysql = { version = ">=0.0.21,<0.0.23", optional = true }
|
||||
aiosqlite = { version = "^0.17.0", optional = true }
|
||||
cryptography = { version = ">=35,<38", optional = true }
|
||||
# Async database drivers
|
||||
aiosqlite = { version = "^0.17.0", optional = true }
|
||||
aiomysql = { version = ">=0.0.21,<0.0.23", optional = true }
|
||||
aiopg = { version = "^1.3.3", optional = true }
|
||||
asyncpg = { version = ">=0.24,<0.26", optional = true }
|
||||
# Sync database drivers for standard tooling around setup/teardown/migrations.
|
||||
psycopg2-binary = { version = "^2.9.1", optional = true }
|
||||
mysqlclient = { version = "^2.1.0", optional = true }
|
||||
PyMySQL = { version = ">=0.9,<=0.9.3", optional = true }
|
||||
|
||||
[tool.poetry.dependencies.orjson]
|
||||
version = ">=3.6.4"
|
||||
@ -65,17 +70,6 @@ python = "<3.8"
|
||||
|
||||
|
||||
[tool.poetry.dev-dependencies]
|
||||
# Async database driversy
|
||||
aiomysql = ">=0.0.21,<0.0.23"
|
||||
aiosqlite = "^0.17.0"
|
||||
aiopg = "^1.3.3"
|
||||
asyncpg = ">=0.24,<0.26"
|
||||
|
||||
# Sync database drivers for standard tooling around setup/teardown/migrations.
|
||||
psycopg2-binary = "^2.9.1"
|
||||
mysqlclient = "^2.1.1"
|
||||
PyMySQL = ">=0.9,<=0.9.3"
|
||||
|
||||
# Testing
|
||||
pytest = "^7.1.2"
|
||||
pytest-cov = "^3.0.0"
|
||||
@ -124,15 +118,19 @@ pre-commit = "^2.19.0"
|
||||
[tool.poetry.extras]
|
||||
postgresql = ["asyncpg", "psycopg2-binary"]
|
||||
postgres = ["asyncpg", "psycopg2-binary"]
|
||||
mysql = ["aiomysql"]
|
||||
sqlite = ["sqlite"]
|
||||
aiopg = ["aiopg", "psycopg2-binary"]
|
||||
mysql = ["aiomysql", "PyMySQL"]
|
||||
sqlite = ["aiosqlite"]
|
||||
orjson = ["orjson"]
|
||||
crypto = ["cryptography"]
|
||||
dev = [
|
||||
all = [
|
||||
"aiosqlite",
|
||||
"asyncpg",
|
||||
"aiopg",
|
||||
"psycopg2-binary",
|
||||
"aiomysql",
|
||||
"sqlite",
|
||||
"mysqlclient",
|
||||
"PyMySQL",
|
||||
"orjson",
|
||||
"cryptography",
|
||||
]
|
||||
|
||||
Reference in New Issue
Block a user