Merge pull request #129025 from fabaff/bump-dependency-injector

authored by Sandro and committed by GitHub 3a52368b 6f01d19d

+20 -7
+7 -2
pkgs/development/python-modules/dependency-injector/default.nix
··· 16 17 buildPythonPackage rec { 18 pname = "dependency-injector"; 19 - version = "4.32.2"; 20 21 src = fetchFromGitHub { 22 owner = "ets-labs"; 23 repo = "python-dependency-injector"; 24 rev = version; 25 - sha256 = "1gkkka0hl2hl4axf3gfm58mzv92bg0frr5jikw8g32hd4q4aagcg"; 26 }; 27 28 propagatedBuildInputs = [ ··· 41 pytestCheckHook 42 pyyaml 43 ]; 44 45 disabledTestPaths = [ 46 # There is no unique identifier to disable the one failing test
··· 16 17 buildPythonPackage rec { 18 pname = "dependency-injector"; 19 + version = "4.34.0"; 20 21 src = fetchFromGitHub { 22 owner = "ets-labs"; 23 repo = "python-dependency-injector"; 24 rev = version; 25 + sha256 = "sha256-MI0+saRe4Zi77otVPGYxrX9z8Jc5K1A1sCxHBS0uta0="; 26 }; 27 28 propagatedBuildInputs = [ ··· 41 pytestCheckHook 42 pyyaml 43 ]; 44 + 45 + postPatch = '' 46 + substituteInPlace requirements.txt \ 47 + --replace "six>=1.7.0,<=1.15.0" "six" 48 + ''; 49 50 disabledTestPaths = [ 51 # There is no unique identifier to disable the one failing test
+6 -2
pkgs/development/python-modules/graphene/default.nix
··· 25 sha256 = "sha256-bVCCLPnV5F8PqLMg3GwcpwpGldrxsU+WryL6gj6y338="; 26 }; 27 28 - # Allow later aniso8601 releases 29 - # https://github.com/graphql-python/graphene/pull/1331 30 patches = [ (fetchpatch { 31 url = "https://github.com/graphql-python/graphene/commit/26b16f75b125e35eeb2274b7be503ec29f2e8a45.patch"; 32 sha256 = "qm96pNOoxPieEy1CFZpa2Mx010pY3QU/vRyuL0qO3Tk="; 33 }) ]; ··· 49 ]; 50 51 pytestFlagsArray = [ "--benchmark-disable" ]; 52 53 pythonImportsCheck = [ "graphene" ]; 54
··· 25 sha256 = "sha256-bVCCLPnV5F8PqLMg3GwcpwpGldrxsU+WryL6gj6y338="; 26 }; 27 28 patches = [ (fetchpatch { 29 + # Allow later aniso8601 releases, https://github.com/graphql-python/graphene/pull/1331 30 url = "https://github.com/graphql-python/graphene/commit/26b16f75b125e35eeb2274b7be503ec29f2e8a45.patch"; 31 sha256 = "qm96pNOoxPieEy1CFZpa2Mx010pY3QU/vRyuL0qO3Tk="; 32 }) ]; ··· 48 ]; 49 50 pytestFlagsArray = [ "--benchmark-disable" ]; 51 + 52 + disabledTests = [ 53 + # TypeError: Failed: DID NOT RAISE <class... 54 + "test_unexpected_error" 55 + ]; 56 57 pythonImportsCheck = [ "graphene" ]; 58
+7 -3
pkgs/development/python-modules/starlette/default.nix
··· 53 typing-extensions 54 ]; 55 56 - # fails to import graphql, but integrated graphql support is about to 57 - # be removed in 0.15, see https://github.com/encode/starlette/pull/1135. 58 - disabledTestPaths = [ "tests/test_graphql.py" ]; 59 60 pythonImportsCheck = [ "starlette" ]; 61
··· 53 typing-extensions 54 ]; 55 56 + disabledTestPaths = [ 57 + # fails to import graphql, but integrated graphql support is about to 58 + # be removed in 0.15, see https://github.com/encode/starlette/pull/1135. 59 + "tests/test_graphql.py" 60 + # contextfunction was removed in Jinja 3.1 61 + "tests/test_templates.py" 62 + ]; 63 64 pythonImportsCheck = [ "starlette" ]; 65