python311Packages.pydot 0 -> 1 attrpath: python311Packages.pydot 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] this derivation will be built: /nix/store/84rj2yw4aps9kb4a957k260g85aqz9y2-packages.json.drv building '/nix/store/84rj2yw4aps9kb4a957k260g85aqz9y2-packages.json.drv'... Going to be running update for following packages: - python3.11-pydot-1.4.2 Press Enter key to continue... Running update for: - python3.11-pydot-1.4.2: UPDATING ... - python3.11-pydot-1.4.2: DONE. Packages updated! Diff after rewrites: diff --git a/pkgs/development/python-modules/pydot/default.nix b/pkgs/development/python-modules/pydot/default.nix index ac965f8404e0..ef6d2331befd 100644 --- a/pkgs/development/python-modules/pydot/default.nix +++ b/pkgs/development/python-modules/pydot/default.nix @@ -12,14 +12,14 @@ buildPythonPackage rec { pname = "pydot"; - version = "1.4.2"; + version = "2.0.0"; format = "setuptools"; disabled = pythonOlder "3.5"; src = fetchPypi { inherit pname version; - sha256 = "248081a39bcb56784deb018977e428605c1c758f10897a339fce1dd728ff007d"; + sha256 = "sha256-YCRq8hUSP6Bi8hzXkb5n3aI6bygN8J9okZ5jeh5PMjU="; }; propagatedBuildInputs = [ No auto update branch exists Old version 1.4.2" not present in staging derivation file with contents: { lib , buildPythonPackage , fetchPypi , substituteAll , graphviz , python , pytestCheckHook , chardet , pythonOlder , pyparsing }: buildPythonPackage rec { pname = "pydot"; version = "2.0.0"; format = "setuptools"; disabled = pythonOlder "3.5"; src = fetchPypi { inherit pname version; sha256 = "sha256-YCRq8hUSP6Bi8hzXkb5n3aI6bygN8J9okZ5jeh5PMjU="; }; propagatedBuildInputs = [ pyparsing ]; nativeCheckInputs = [ chardet pytestCheckHook ]; patches = [ (substituteAll { src = ./hardcode-graphviz-path.patch; inherit graphviz; }) ]; postPatch = '' # test_graphviz_regression_tests also fails upstream: https://github.com/pydot/pydot/pull/198 substituteInPlace test/pydot_unittest.py \ --replace "test_graphviz_regression_tests" "no_test_graphviz_regression_tests" \ # Patch path for pytestCheckHook substituteInPlace test/pydot_unittest.py \ --replace "shapefile_dir = os.path.join(test_dir, 'from-past-to-future')" "shapefile_dir = 'test/from-past-to-future'" \ --replace "path = os.path.join(test_dir, TESTS_DIR_1)" "path = os.path.join('test/', TESTS_DIR_1)" ''; pytestFlagsArray = [ "test/pydot_unittest.py" ]; disabledTests = [ # broken, fixed after 2.0.0 "test_graph_with_shapefiles" ]; pythonImportsCheck = [ "pydot" ]; meta = with lib; { description = "Allows to create both directed and non directed graphs from Python"; homepage = "https://github.com/erocarrera/pydot"; license = licenses.mit; maintainers = with maintainers; [ ]; }; }