lol

python312Packages.mmengine: 0.10.5 -> 0.10.6 (#373421)

authored by

Sandro and committed by
GitHub
d9f2cb4a 11ae9364

+20 -31
+18 -10
pkgs/development/python-modules/mmcv/default.nix
··· 1 1 { 2 2 lib, 3 + stdenv, 3 4 buildPythonPackage, 4 5 fetchFromGitHub, 5 6 ··· 120 121 # test_cnn test_ops really requires gpus to be useful. 121 122 # some of the tests take exceedingly long time. 122 123 # the rest of the tests are disabled due to sandbox env. 123 - disabledTests = [ 124 - "test_cnn" 125 - "test_ops" 126 - "test_fileclient" 127 - "test_load_model_zoo" 128 - "test_processing" 129 - "test_checkpoint" 130 - "test_hub" 131 - "test_reader" 132 - ]; 124 + disabledTests = 125 + [ 126 + "test_cnn" 127 + "test_ops" 128 + "test_fileclient" 129 + "test_load_model_zoo" 130 + "test_processing" 131 + "test_checkpoint" 132 + "test_hub" 133 + "test_reader" 134 + ] 135 + ++ lib.optionals (stdenv.hostPlatform.isLinux && stdenv.hostPlatform.isAarch64) [ 136 + # flaky numerical tests (AssertionError) 137 + "test_ycbcr2rgb" 138 + "test_ycbcr2bgr" 139 + "test_tensor2imgs" 140 + ]; 133 141 134 142 meta = { 135 143 description = "Foundational Library for Computer Vision Research";
+2 -21
pkgs/development/python-modules/mmengine/default.nix
··· 1 1 { 2 2 lib, 3 - stdenv, 4 3 buildPythonPackage, 5 4 fetchFromGitHub, 6 - fetchpatch2, 7 5 8 6 # build-system 9 7 setuptools, ··· 32 30 33 31 buildPythonPackage rec { 34 32 pname = "mmengine"; 35 - version = "0.10.5"; 33 + version = "0.10.6"; 36 34 pyproject = true; 37 35 38 36 src = fetchFromGitHub { 39 37 owner = "open-mmlab"; 40 38 repo = "mmengine"; 41 39 tag = "v${version}"; 42 - hash = "sha256-bZ6O4UOYUCwq11YmgRWepOIngYxYD/fNfM/VmcyUv9k="; 40 + hash = "sha256-J9p+JCtNoBlBvvv4p57/DHUIifYs/jdo+pK+paD+iXI="; 43 41 }; 44 - 45 - patches = [ 46 - (fetchpatch2 { 47 - name = "mmengine-torch-2.5-compat.patch"; 48 - url = "https://github.com/open-mmlab/mmengine/commit/4c22f78cdea2981a2b48a167e9feffe4721f8901.patch"; 49 - hash = "sha256-k+IFLeqTEVUGGiqmZg56LK64H/UTvpGN20GJT59wf4A="; 50 - }) 51 - (fetchpatch2 { 52 - # Bug reported upstream in https://github.com/open-mmlab/mmengine/issues/1575 53 - # PR: https://github.com/open-mmlab/mmengine/pull/1589 54 - name = "adapt-to-pytest-breaking-change"; 55 - url = "https://patch-diff.githubusercontent.com/raw/open-mmlab/mmengine/pull/1589.patch"; 56 - hash = "sha256-lyKf1GCLOPMpDttJ4s9hbATIGCVkiQhtyLfH9WzMWrw="; 57 - }) 58 - ]; 59 42 60 43 build-system = [ setuptools ]; 61 44 ··· 131 114 changelog = "https://github.com/open-mmlab/mmengine/releases/tag/v${version}"; 132 115 license = with lib.licenses; [ asl20 ]; 133 116 maintainers = with lib.maintainers; [ rxiao ]; 134 - broken = 135 - stdenv.hostPlatform.isDarwin || (stdenv.hostPlatform.isLinux && stdenv.hostPlatform.isAarch64); 136 117 }; 137 118 }