lol

Merge pull request #213777 from fabaff/ormar-bump

python310Packages.ormar: 0.12.0 -> 0.12.1

authored by

Fabian Affolter and committed by
GitHub
7a23a483 008a4d17

+47 -15
+47 -15
pkgs/development/python-modules/ormar/default.nix
··· 11 11 , httpx 12 12 , importlib-metadata 13 13 , mysqlclient 14 + , nest-asyncio 14 15 , orjson 15 16 , poetry-core 16 17 , psycopg2 ··· 26 27 27 28 buildPythonPackage rec { 28 29 pname = "ormar"; 29 - version = "0.12.0"; 30 + version = "0.12.1"; 30 31 format = "pyproject"; 31 32 32 33 disabled = pythonOlder "3.7"; ··· 35 36 owner = "collerek"; 36 37 repo = pname; 37 38 rev = "refs/tags/${version}"; 38 - hash = "sha256-B6dC9+t/pe7vsPb7rkGAbJWLfCAF7lIElFvt1pUu5yA="; 39 + hash = "sha256-7d0vmYDN1EjzNWmylb/As4ywo8YYzQ88UwigIsVnwMM="; 39 40 }; 40 41 41 42 pythonRelaxDeps = [ ··· 50 51 ]; 51 52 52 53 propagatedBuildInputs = [ 53 - aiomysql 54 - aiosqlite 55 - asyncpg 56 - cryptography 57 54 databases 58 - orjson 59 55 psycopg2 60 56 pydantic 61 57 sqlalchemy 58 + psycopg2 62 59 ] ++ lib.optionals (pythonOlder "3.8") [ 63 60 typing-extensions 64 61 importlib-metadata 65 62 ]; 66 63 64 + passthru.optional-dependencies = { 65 + postgresql = [ 66 + asyncpg 67 + ]; 68 + postgres = [ 69 + asyncpg 70 + ]; 71 + aiopg = [ 72 + aiopg 73 + ]; 74 + mysql = [ 75 + aiomysql 76 + ]; 77 + sqlite = [ 78 + aiosqlite 79 + ]; 80 + orjson = [ 81 + orjson 82 + ]; 83 + crypto = [ 84 + cryptography 85 + ]; 86 + all = [ 87 + aiomysql 88 + aiopg 89 + aiosqlite 90 + asyncpg 91 + cryptography 92 + mysqlclient 93 + orjson 94 + pymysql 95 + ]; 96 + }; 97 + 67 98 nativeCheckInputs = [ 68 - aiomysql 69 - aiopg 70 - aiosqlite 71 - asyncpg 99 + pytestCheckHook 100 + ]; 101 + 102 + checkInputs = [ 72 103 fastapi 73 104 httpx 74 - mysqlclient 75 - psycopg2 76 - pymysql 105 + nest-asyncio 77 106 pytest-asyncio 78 - pytestCheckHook 107 + ] ++ passthru.optional-dependencies.all; 108 + 109 + disabledTestPaths = [ 110 + "benchmarks/test_benchmark_*.py" 79 111 ]; 80 112 81 113 disabledTests = [