Loading pkgs/development/python-modules/ormar/default.nix +47 −15 Original line number Diff line number Diff line Loading @@ -11,6 +11,7 @@ , httpx , importlib-metadata , mysqlclient , nest-asyncio , orjson , poetry-core , psycopg2 Loading @@ -26,7 +27,7 @@ buildPythonPackage rec { pname = "ormar"; version = "0.12.0"; version = "0.12.1"; format = "pyproject"; disabled = pythonOlder "3.7"; Loading @@ -35,7 +36,7 @@ buildPythonPackage rec { owner = "collerek"; repo = pname; rev = "refs/tags/${version}"; hash = "sha256-B6dC9+t/pe7vsPb7rkGAbJWLfCAF7lIElFvt1pUu5yA="; hash = "sha256-7d0vmYDN1EjzNWmylb/As4ywo8YYzQ88UwigIsVnwMM="; }; pythonRelaxDeps = [ Loading @@ -50,34 +51,65 @@ buildPythonPackage rec { ]; propagatedBuildInputs = [ aiomysql aiosqlite asyncpg cryptography databases orjson psycopg2 pydantic sqlalchemy psycopg2 ] ++ lib.optionals (pythonOlder "3.8") [ typing-extensions importlib-metadata ]; nativeCheckInputs = [ passthru.optional-dependencies = { postgresql = [ asyncpg ]; postgres = [ asyncpg ]; aiopg = [ aiopg ]; mysql = [ aiomysql ]; sqlite = [ aiosqlite ]; orjson = [ orjson ]; crypto = [ cryptography ]; all = [ aiomysql aiopg aiosqlite asyncpg fastapi httpx cryptography mysqlclient psycopg2 orjson pymysql pytest-asyncio ]; }; nativeCheckInputs = [ pytestCheckHook ]; checkInputs = [ fastapi httpx nest-asyncio pytest-asyncio ] ++ passthru.optional-dependencies.all; disabledTestPaths = [ "benchmarks/test_benchmark_*.py" ]; disabledTests = [ # TypeError: Object of type bytes is not JSON serializable "test_bulk_operations_with_json" Loading Loading
pkgs/development/python-modules/ormar/default.nix +47 −15 Original line number Diff line number Diff line Loading @@ -11,6 +11,7 @@ , httpx , importlib-metadata , mysqlclient , nest-asyncio , orjson , poetry-core , psycopg2 Loading @@ -26,7 +27,7 @@ buildPythonPackage rec { pname = "ormar"; version = "0.12.0"; version = "0.12.1"; format = "pyproject"; disabled = pythonOlder "3.7"; Loading @@ -35,7 +36,7 @@ buildPythonPackage rec { owner = "collerek"; repo = pname; rev = "refs/tags/${version}"; hash = "sha256-B6dC9+t/pe7vsPb7rkGAbJWLfCAF7lIElFvt1pUu5yA="; hash = "sha256-7d0vmYDN1EjzNWmylb/As4ywo8YYzQ88UwigIsVnwMM="; }; pythonRelaxDeps = [ Loading @@ -50,34 +51,65 @@ buildPythonPackage rec { ]; propagatedBuildInputs = [ aiomysql aiosqlite asyncpg cryptography databases orjson psycopg2 pydantic sqlalchemy psycopg2 ] ++ lib.optionals (pythonOlder "3.8") [ typing-extensions importlib-metadata ]; nativeCheckInputs = [ passthru.optional-dependencies = { postgresql = [ asyncpg ]; postgres = [ asyncpg ]; aiopg = [ aiopg ]; mysql = [ aiomysql ]; sqlite = [ aiosqlite ]; orjson = [ orjson ]; crypto = [ cryptography ]; all = [ aiomysql aiopg aiosqlite asyncpg fastapi httpx cryptography mysqlclient psycopg2 orjson pymysql pytest-asyncio ]; }; nativeCheckInputs = [ pytestCheckHook ]; checkInputs = [ fastapi httpx nest-asyncio pytest-asyncio ] ++ passthru.optional-dependencies.all; disabledTestPaths = [ "benchmarks/test_benchmark_*.py" ]; disabledTests = [ # TypeError: Object of type bytes is not JSON serializable "test_bulk_operations_with_json" Loading