2022-12-29T09:46:35 python310Packages.pycm 0 -> 1 2022-12-29T09:46:37 attrpath: python310Packages.pycm 2022-12-29T09:46:37 Checking auto update branch... 2022-12-29T09:46:41 [version] 2022-12-29T09:46:41 [version] skipping because derivation has updateScript 2022-12-29T09:46:41 [rustCrateVersion] 2022-12-29T09:46:41 [rustCrateVersion] No cargoSha256 found 2022-12-29T09:46:41 [golangModuleVersion] 2022-12-29T09:46:41 [golangModuleVersion] Not a buildGoModule package with vendorSha256 2022-12-29T09:46:41 [updateScript] 2022-12-29T09:46:44 [updateScript] Success 2022-12-29T09:46:44 [updateScript] this derivation will be built: /nix/store/nd3gnjvl8h2c87v3dx4wb17d5n1k7v8q-packages.json.drv building '/nix/store/nd3gnjvl8h2c87v3dx4wb17d5n1k7v8q-packages.json.drv'... Going to be running update for following packages: - python3.10-pycm-3.6 Press Enter key to continue... Running update for: - python3.10-pycm-3.6: UPDATING ... - python3.10-pycm-3.6: DONE. Packages updated! 2022-12-29T09:46:44 2022-12-29T09:46:44 [quotedUrls] 2022-12-29T09:46:44 [quotedUrls] nothing found to replace 2022-12-29T09:46:44 Diff after rewrites: diff --git a/pkgs/development/python-modules/pycm/default.nix b/pkgs/development/python-modules/pycm/default.nix index f3817a16d99..a2c3cb01511 100644 --- a/pkgs/development/python-modules/pycm/default.nix +++ b/pkgs/development/python-modules/pycm/default.nix @@ -10,7 +10,7 @@ buildPythonPackage rec { pname = "pycm"; - version = "3.6"; + version = "3.7"; format = "setuptools"; disabled = pythonOlder "3.5"; @@ -19,7 +19,7 @@ buildPythonPackage rec { owner = "sepandhaghighi"; repo = pname; rev = "refs/tags/v${version}"; - sha256 = "sha256-96M/QKt4AdiZoZ7L9AHocSyZPkwEb2iuRJKW3rVP3hc="; + sha256 = "sha256-Yow5MVbaBgKA7U6RNpS/Yh1mG3XSLKPSDsUeBRSln1U="; }; propagatedBuildInputs = [ 2022-12-29T09:48:12 No auto update branch exists 2022-12-29T09:48:21 Received ExitFailure 100 when running Raw command: /nix/store/6fr58pqy02hmgw1h7b9nqmv7vlp3v346-nix-2.3.15/bin/nix-build --option sandbox true --arg config "{ allowBroken = true; allowUnfree = true; allowAliases = false; }" --arg overlays "[ ]" -A python310Packages.pycm nix build failed. 169 >>> crv = ROCCurve(actual_vector = np.array([1, 1, 2, 2]), probs = np.array([[0.1, 0.9], [0.4, 0.6], [0.35, 0.65], [0.8, 0.2]]), classes=[2, 1]) UNEXPECTED EXCEPTION: NameError("name 'np' is not defined") Traceback (most recent call last): File "/nix/store/al6g1zbk8li6p8mcyp0h60d08jaahf8c-python3-3.10.9/lib/python3.10/doctest.py", line 1350, in __run exec(compile(example.source, filename, "single", File "", line 1, in NameError: name 'np' is not defined /build/source/pycm/pycm_curve.py:169: UnexpectedException =============================== warnings summary =============================== pycm/pycm_compare.py:87 /build/source/pycm/pycm_compare.py:87: RuntimeWarning: Confusion matrices are too close and the best one can not be recognized. warn(COMPARE_RESULT_WARNING, RuntimeWarning) Test/curve_test.py::curve_test Test/verified_test.py::verified_test /build/source/pycm/pycm_curve.py:377: RuntimeWarning: The curve axes contain non-numerical value(s). warn(CURVE_NONE_WARNING, RuntimeWarning) Test/function_test.py::function_test Test/function_test.py::function_test /nix/store/cyndlxq2pdjwxm94yq52hd6v1lnv7jgs-python3.10-numpy-1.23.3/lib/python3.10/site-packages/numpy/core/_methods.py:48: DeprecationWarning: The `dtype` and `signature` arguments to ufuncs only select the general DType and not details such as the byte order or time unit (with rare exceptions see release notes). To avoid this warning please use the scalar types `np.float64`, or string notation. In rare cases where the time unit was preserved, either cast the inputs or provide an output array. In the future NumPy may transition to allow providing `dtype=` to denote the outputs `dtype` as well. (Deprecated NumPy 1.21) return umr_sum(a, axis, dtype, out, keepdims, initial, where) -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html =========================== short test summary info ============================ FAILED pycm/pycm_curve.py::pycm.pycm_curve.Curve FAILED pycm/pycm_curve.py::pycm.pycm_curve.PRCurve FAILED pycm/pycm_curve.py::pycm.pycm_curve.ROCCurve ============ 3 failed, 9 passed, 2 deselected, 5 warnings in 3.43s =============