Merge pull request #160438 from fabaff/fix-gigalixir

python3Packages.gigalixir: disable failing test

authored by Fabian Affolter and committed by GitHub 3989901c 1f2d753b

+27 -16
+27 -16
pkgs/development/python-modules/gigalixir/default.nix
··· 1 - { buildPythonApplication 2 , click 3 , fetchPypi 4 , git 5 , httpretty 6 - , lib 7 , qrcode 8 , pygments 9 , pyopenssl ··· 11 , requests 12 , rollbar 13 , stripe 14 , sure 15 }: 16 17 buildPythonApplication rec { 18 pname = "gigalixir"; 19 version = "1.2.5"; 20 21 src = fetchPypi { 22 inherit pname version; 23 - sha256 = "sha256-P70xsI/zwsoSgK1XCPzJSI5NQ58M431kmgo5gHXbaNw="; 24 }; 25 26 - postPatch = '' 27 - substituteInPlace setup.py \ 28 - --replace "'pytest-runner'," "" \ 29 - --replace "cryptography==" "cryptography>=" 30 - ''; 31 - 32 propagatedBuildInputs = [ 33 click 34 requests 35 stripe 36 - rollbar 37 - pygments 38 - qrcode 39 - pyopenssl 40 ]; 41 42 checkInputs = [ 43 httpretty 44 sure 45 - pytestCheckHook 46 - git 47 ]; 48 49 - pythonImportsCheck = [ "gigalixir" ]; 50 51 meta = with lib; { 52 description = "Gigalixir Command-Line Interface";
··· 1 + { lib 2 + , buildPythonApplication 3 , click 4 , fetchPypi 5 , git 6 , httpretty 7 , qrcode 8 , pygments 9 , pyopenssl ··· 11 , requests 12 , rollbar 13 , stripe 14 + , pythonOlder 15 , sure 16 }: 17 18 buildPythonApplication rec { 19 pname = "gigalixir"; 20 version = "1.2.5"; 21 + format = "setuptools"; 22 + 23 + disabled = pythonOlder "3.7"; 24 25 src = fetchPypi { 26 inherit pname version; 27 + hash = "sha256-P70xsI/zwsoSgK1XCPzJSI5NQ58M431kmgo5gHXbaNw="; 28 }; 29 30 propagatedBuildInputs = [ 31 click 32 + pygments 33 + pyopenssl 34 + qrcode 35 requests 36 + rollbar 37 stripe 38 ]; 39 40 checkInputs = [ 41 + git 42 httpretty 43 + pytestCheckHook 44 sure 45 + ]; 46 + 47 + postPatch = '' 48 + substituteInPlace setup.py \ 49 + --replace "'pytest-runner'," "" \ 50 + --replace "cryptography==" "cryptography>=" 51 + ''; 52 + 53 + disabledTests = [ 54 + # Test requires network access 55 + "test_rollback_without_version" 56 ]; 57 58 + pythonImportsCheck = [ 59 + "gigalixir" 60 + ]; 61 62 meta = with lib; { 63 description = "Gigalixir Command-Line Interface";