diff options
author | Sandro Jäckel <sandro.jaeckel@gmail.com> | 2021-02-23 20:00:45 +0100 |
---|---|---|
committer | Frederik Rietdijk <freddyrietdijk@fridh.nl> | 2021-02-24 10:15:25 +0100 |
commit | babf9d6100c3e5dcdbbbe8850de99d3fe2b3cf86 (patch) | |
tree | c18b5bcaa661a05fc5db87d8c4a3710325be395c /pkgs/development | |
parent | e3241147dd202b5583c571c13edee2d317f26ab9 (diff) |
pythonPackages.sqlalchemy: fix tests
Diffstat (limited to 'pkgs/development')
-rw-r--r-- | pkgs/development/python-modules/sqlalchemy/default.nix | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/pkgs/development/python-modules/sqlalchemy/default.nix b/pkgs/development/python-modules/sqlalchemy/default.nix index 83fd3e7b10b34..7d35bb8487c8a 100644 --- a/pkgs/development/python-modules/sqlalchemy/default.nix +++ b/pkgs/development/python-modules/sqlalchemy/default.nix @@ -1,4 +1,4 @@ -{ stdenv, lib, fetchPypi, buildPythonPackage, isPy3k, isPy35 +{ stdenv, lib, fetchPypi, buildPythonPackage, isPy3k, isPy35, fetchpatch , mock , pysqlite , pytestCheckHook @@ -13,6 +13,14 @@ buildPythonPackage rec { sha256 = "d2f25c7f410338d31666d7ddedfa67570900e248b940d186b48461bd4e5569a1"; }; + patches = [ + # fix test_pyodbc_extra_connect_azure test failure + (fetchpatch { + url = "https://github.com/sqlalchemy/sqlalchemy/commit/7293b3dc0e9eb3dae84ffd831494b85355df8e73.patch"; + sha256 = "1z61lzxamz74771ddlqmbxba1dcr77f016vqfcmb44dxb228w2db"; + }) + ]; + checkInputs = [ pytestCheckHook mock |