Merge pull request #133276 from fabaff/bump-testfixtures

authored by Sandro and committed by GitHub 15e81993 ffa5ac7c

+39 -15
+4
pkgs/development/python-modules/scrapy/default.nix
··· 113 113 "test_custom_loop_asyncio" 114 114 "test_custom_loop_asyncio_deferred_signal" 115 115 "FileFeedStoragePreFeedOptionsTest" # https://github.com/scrapy/scrapy/issues/5157 116 + # Fails with AssertionError 117 + "test_peek_fifo" 118 + "test_peek_one_element" 119 + "test_peek_lifo" 116 120 ] ++ lib.optionals stdenv.isDarwin [ 117 121 "test_xmliter_encoding" 118 122 "test_download"
+4 -3
pkgs/development/python-modules/sopel/default.nix
··· 13 13 14 14 buildPythonPackage rec { 15 15 pname = "sopel"; 16 - version = "7.1.0"; 16 + version = "7.1.2"; 17 17 disabled = isPyPy; 18 18 19 19 src = fetchPypi { 20 20 inherit pname version; 21 - sha256 = "74057d4c86cff744b1f1062f3a9c4ae99eb4f1b17048ceb083293d5f4c7e989b"; 21 + sha256 = "sha256-8RhIw3Qt0BclH1Ws16JNuFfwiRxJ14lM6MBUK9OvNKA="; 22 22 }; 23 23 24 24 propagatedBuildInputs = [ ··· 36 36 # remove once https://github.com/sopel-irc/sopel/pull/1653 lands 37 37 postPatch = '' 38 38 substituteInPlace requirements.txt \ 39 - --replace "praw>=4.0.0,<6.0.0" "praw" 39 + --replace "praw>=4.0.0,<6.0.0" "praw" \ 40 + --replace "sqlalchemy<1.4" "sqlalchemy" 40 41 ''; 41 42 42 43 checkInputs = [ pytestCheckHook ];
+31 -12
pkgs/development/python-modules/testfixtures/default.nix
··· 1 - { lib, buildPythonPackage, fetchPypi, fetchpatch, isPy27 2 - , mock, pytest, sybil, zope_component, twisted }: 1 + { lib 2 + , buildPythonPackage 3 + , fetchpatch 4 + , fetchPypi 5 + , isPy27 6 + , mock 7 + , pytestCheckHook 8 + , sybil 9 + , twisted 10 + , zope_component 11 + }: 3 12 4 13 buildPythonPackage rec { 5 14 pname = "testfixtures"; 6 - version = "6.17.1"; 15 + version = "6.18.0"; 7 16 8 17 src = fetchPypi { 9 18 inherit pname version; 10 - sha256 = "5ec3a0dd6f71cc4c304fbc024a10cc293d3e0b852c868014b9f233203e149bda"; 19 + sha256 = "sha256-1L0cT5DqyQpz4b3FnDHQOUPyGNaH88WgnkhHiEGor18="; 11 20 }; 12 21 13 - checkInputs = [ pytest mock sybil zope_component twisted ]; 22 + checkInputs = [ 23 + pytestCheckHook 24 + mock 25 + sybil 26 + zope_component 27 + twisted 28 + ]; 14 29 15 30 doCheck = !isPy27; 16 - checkPhase = '' 17 - # django is too much hasle to setup at the moment 18 - pytest -W ignore::DeprecationWarning \ 19 - --ignore=testfixtures/tests/test_django \ 20 - -k 'not (log_then_patch or our_wrap_dealing_with_mock_patch or patch_with_dict)' \ 21 - testfixtures/tests 22 - ''; 31 + 32 + disabledTestPaths = [ 33 + # Django is too much hasle to setup at the moment 34 + "testfixtures/tests/test_django" 35 + ]; 36 + 37 + pytestFlagsArray = [ 38 + "testfixtures/tests" 39 + ]; 40 + 41 + pythonImportsCheck = [ "testfixtures" ]; 23 42 24 43 meta = with lib; { 25 44 homepage = "https://github.com/Simplistix/testfixtures";