python312Packages.pytubefix 6.4.2 -> 6.13.1 https://github.com/JuanBindez/pytubefix/releases attrpath: python312Packages.pytubefix Checking auto update branch... [version] [version] skipping because derivation has updateScript [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] Going to be running update for following packages: - python3.12-pytubefix-6.4.2 Press Enter key to continue... Running update for: - python3.12-pytubefix-6.4.2: UPDATING ... - python3.12-pytubefix-6.4.2: DONE. Packages updated! Diff after rewrites: diff --git a/pkgs/development/python-modules/pytubefix/default.nix b/pkgs/development/python-modules/pytubefix/default.nix index a42273fee7cc..cad62591235b 100644 --- a/pkgs/development/python-modules/pytubefix/default.nix +++ b/pkgs/development/python-modules/pytubefix/default.nix @@ -8,14 +8,14 @@ buildPythonPackage rec { pname = "pytubefix"; - version = "6.4.2"; + version = "6.13.1"; pyproject = true; src = fetchFromGitHub { owner = "JuanBindez"; repo = "pytubefix"; rev = "refs/tags/v${version}"; - hash = "sha256-FbmVQ+nt/WEwE5vRMo2610TO463CT8nCseqB30uXjSM="; + hash = "sha256-c1dVGv6YZe+RmvTMM5ZpcezTmYb5VpyZXHkeBLEj+Ow="; }; build-system = [ setuptools ]; No auto update branch exists Received ExitFailure 1 when running Raw command: /nix/store/9m6hqyx9cyawc39125ci1x2wjsk5wpf1-nix-2.18.5/bin/nix-build --option sandbox true --arg config "{ allowBroken = true; allowUnfree = true; allowAliases = false; }" --arg overlays "[ ]" -A python312Packages.pytubefix nix build failed. base_js = ['var _yt_player={};(function(g){var window=this;/*\n\n Copyright The Closure Library Authors.\n SPDX-License-Identifi... aRa=g.Ec&&$Qa();g.w(g.m_,g.V);g.m_.prototype.onClick=function(){this.I.Oa("onExpandMiniplayer")};})(_yt_player);\r\n'] def test_get_throttling_function_name(base_js): base_js_code_fragments = [ # Values expected as of 2022/02/04: { 'raw_var': r'var Apa=[hha]', 'raw_code': r'a.url="";a.C&&(b=a.get("n"))&&(b=Apa[0](b),a.set("n",b),' \ r'Apa.length||hha(""))}};', 'nfunc_name': 'hha' }, # Values expected as of 2022/04/15: { 'raw_var': r'var $x=[uq]', 'raw_code': r'a.url="";a.D&&(b=a.get("n"))&&(b=$x[0](b),a.set("n",b),' \ r'$x.length||uq(""))', 'nfunc_name': 'uq' } ] for code_fragment, base_js_file in zip(base_js_code_fragments, base_js): assert code_fragment['raw_var'] in base_js_file assert code_fragment['raw_code'] in base_js_file > func_name = cipher.get_throttling_function_name(base_js_file) E TypeError: get_throttling_function_name() missing 1 required positional argument: 'js_url' tests/test_cipher.py:41: TypeError =========================== short test summary info ============================ FAILED tests/test_cipher.py::test_get_initial_function_name_with_no_match_should_error - TypeError: get_initial_function_name() missing 1 required positional argume... FAILED tests/test_cipher.py::test_get_throttling_function_name - TypeError: get_throttling_function_name() missing 1 required positional arg... ========================= 2 failed, 58 passed in 2.20s =========================