adafruit-nrfutil 0 -> 1 attrpath: adafruit-nrfutil Checking auto update branch... [version] [version] generic version rewriter does not support multiple hashes [rustCrateVersion] [rustCrateVersion] No cargoSha256 or cargoHash found [golangModuleVersion] [golangModuleVersion] Not a buildGoModule package with vendorSha256 or vendorHash [npmDepsVersion] [npmDepsVersion] No npmDepsHash [updateScript] [updateScript] Success [updateScript] this derivation will be built: /nix/store/lgrry8d2698ckp65592q73lsa2sw4bgc-packages.json.drv building '/nix/store/lgrry8d2698ckp65592q73lsa2sw4bgc-packages.json.drv'... Going to be running update for following packages: - adafruit-nrfutil-0.5.3.post17 Press Enter key to continue... Running update for: - adafruit-nrfutil-0.5.3.post17: UPDATING ... - adafruit-nrfutil-0.5.3.post17: DONE. Packages updated! Diff after rewrites: diff --git a/pkgs/by-name/ad/adafruit-nrfutil/package.nix b/pkgs/by-name/ad/adafruit-nrfutil/package.nix index a521154aa253..53ba201cb7a1 100644 --- a/pkgs/by-name/ad/adafruit-nrfutil/package.nix +++ b/pkgs/by-name/ad/adafruit-nrfutil/package.nix @@ -6,14 +6,14 @@ python3Packages.buildPythonApplication rec { pname = "adafruit-nrfutil"; - version = "0.5.3.post17"; + version = "1"; pyproject = true; src = fetchFromGitHub { owner = "adafruit"; repo = "Adafruit_nRF52_nrfutil"; - rev = "refs/tags/${version}"; - hash = "sha256-mHHKOQE9AGBX8RAyaPOy+JS3fTs98+AFdq9qsVy7go4="; + rev = "refs/tags/appveyor-test-release-${version}"; + hash = "sha256-wsspDg8XwEtJwJye6Z3TXaIN1TcfI7gYDah3L/xiiLo="; }; patches = [ No auto update branch exists Received ExitFailure 1 when running Raw command: /nix/store/3nqhcyc7vid1npgcd0m7arg5sn325nhz-nix-2.12.0/bin/nix-build --option sandbox true --arg config "{ allowBroken = true; allowUnfree = true; allowAliases = false; }" --arg overlays "[ ]" -A adafruit-nrfutil nix build failed. end = None, pad = None, size = 13192 def _tobinstr_really(self, start, end, pad, size): > return asstr(self._tobinarray_really(start, end, pad, size).tostring()) E AttributeError: 'array.array' object has no attribute 'tostring' /build/source/nordicsemi/dfu/intelhex/__init__.py:373: AttributeError =============================== warnings summary =============================== nordicsemi/utility/target_registry.py:66 /build/source/nordicsemi/utility/target_registry.py:66: DeprecationWarning: invalid escape sequence '\d' match = re.match("NORDICSEMI_TARGET_(?P\d+)_(?P[a-zA-Z_]+)", key) -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html =========================== short test summary info ============================ FAILED nordicsemi/dfu/tests/test_nrfhex.py::TestnRFHex::test_get_softdevice_variant - AssertionError: 'unknown' != 's1x0' FAILED nordicsemi/dfu/tests/test_nrfhex.py::TestnRFHex::test_sizes - AssertionError: 4096 != 12288 FAILED nordicsemi/dfu/tests/test_nrfhex.py::TestnRFHex::test_tobinfile_one_bin_one_hex - AttributeError: 'array.array' object has no attribute 'tostring' FAILED nordicsemi/dfu/tests/test_nrfhex.py::TestnRFHex::test_tobinfile_one_hex_one_bin - AttributeError: 'array.array' object has no attribute 'tostring' FAILED nordicsemi/dfu/tests/test_nrfhex.py::TestnRFHex::test_tobinfile_single_bin_file - AttributeError: 'array.array' object has no attribute 'tostring' FAILED nordicsemi/dfu/tests/test_nrfhex.py::TestnRFHex::test_tobinfile_single_file_with_uicr_content - AttributeError: 'array.array' object has no attribute 'tostring' FAILED nordicsemi/dfu/tests/test_nrfhex.py::TestnRFHex::test_tobinfile_single_file_without_uicr_content - AttributeError: 'array.array' object has no attribute 'tostring' FAILED nordicsemi/dfu/tests/test_nrfhex.py::TestnRFHex::test_tobinfile_two_bin - AttributeError: 'array.array' object has no attribute 'tostring' FAILED nordicsemi/dfu/tests/test_nrfhex.py::TestnRFHex::test_tobinfile_two_hex_files - AttributeError: 'array.array' object has no attribute 'tostring' FAILED nordicsemi/dfu/tests/test_package.py::TestPackage::test_generate_package_application - AttributeError: 'array.array' object has no attribute 'tostring' FAILED nordicsemi/dfu/tests/test_package.py::TestPackage::test_generate_package_sd_bl - AttributeError: 'array.array' object has no attribute 'tostring' FAILED nordicsemi/dfu/tests/test_package.py::TestPackage::test_unpack_package_a - AttributeError: 'array.array' object has no attribute 'tostring' FAILED nordicsemi/dfu/tests/test_package.py::TestPackage::test_unpack_package_b - AttributeError: 'array.array' object has no attribute 'tostring' FAILED nordicsemi/dfu/tests/test_package.py::TestPackage::test_unpack_package_c - AttributeError: 'array.array' object has no attribute 'tostring' ============= 14 failed, 17 passed, 2 skipped, 1 warning in 0.66s ============== /nix/store/bknngadwym46j65qs14ic2w79rpav888-stdenv-linux/setup: line 1582: pop_var_context: head of shell_variables not a function context