2022-12-27T06:29:45 python310Packages.ansible-lint 0 -> 1 2022-12-27T06:29:47 attrpath: python310Packages.ansible-lint 2022-12-27T06:29:48 Checking auto update branch... 2022-12-27T06:29:53 [version] 2022-12-27T06:29:53 [version] skipping because derivation has updateScript 2022-12-27T06:29:53 [rustCrateVersion] 2022-12-27T06:29:53 [rustCrateVersion] No cargoSha256 found 2022-12-27T06:29:53 [golangModuleVersion] 2022-12-27T06:29:53 [golangModuleVersion] Not a buildGoModule package with vendorSha256 2022-12-27T06:29:53 [updateScript] 2022-12-27T06:29:54 [updateScript] Success 2022-12-27T06:29:54 [updateScript] this derivation will be built: /nix/store/sbp6hwz915mxrd7hi1z1m9q59xzryn7i-packages.json.drv building '/nix/store/sbp6hwz915mxrd7hi1z1m9q59xzryn7i-packages.json.drv'... Going to be running update for following packages: - python3.10-ansible-lint-6.9.0 Press Enter key to continue... Running update for: - python3.10-ansible-lint-6.9.0: UPDATING ... - python3.10-ansible-lint-6.9.0: DONE. Packages updated! 2022-12-27T06:29:54 2022-12-27T06:29:54 [quotedUrls] 2022-12-27T06:29:54 [quotedUrls] nothing found to replace 2022-12-27T06:29:55 Diff after rewrites: diff --git a/pkgs/development/python-modules/ansible-lint/default.nix b/pkgs/development/python-modules/ansible-lint/default.nix index 82053713774..691a4f1146c 100644 --- a/pkgs/development/python-modules/ansible-lint/default.nix +++ b/pkgs/development/python-modules/ansible-lint/default.nix @@ -22,13 +22,13 @@ buildPythonPackage rec { pname = "ansible-lint"; - version = "6.9.0"; + version = "6.10.0"; format = "pyproject"; disabled = pythonOlder "3.8"; src = fetchPypi { inherit pname version; - sha256 = "sha256-FO+RmSDErMmAVH3tC9Qjp6J6CyMnc45ZM0P0RvOxJsY="; + sha256 = "sha256-9ezsWOvntr/El2vn1uQAQRqK8FsOGhnxXyX1nzQBNIw="; }; postPatch = '' 2022-12-27T06:31:22 Old version 6.9.0" not present in master derivation file with contents: { lib , buildPythonPackage , fetchPypi , setuptools-scm , ansible-compat , ansible-core , black , enrich , filelock , flaky , jsonschema , pythonOlder , pytest , pytest-xdist , pytestCheckHook , pyyaml , rich , ruamel-yaml , wcmatch , yamllint }: buildPythonPackage rec { pname = "ansible-lint"; version = "6.10.0"; format = "pyproject"; disabled = pythonOlder "3.8"; src = fetchPypi { inherit pname version; sha256 = "sha256-9ezsWOvntr/El2vn1uQAQRqK8FsOGhnxXyX1nzQBNIw="; }; postPatch = '' # it is fine if lint tools are missing substituteInPlace conftest.py \ --replace "sys.exit(1)" "" ''; nativeBuildInputs = [ setuptools-scm ]; propagatedBuildInputs = [ ansible-compat ansible-core black enrich filelock jsonschema pytest # yes, this is an actual runtime dependency pyyaml rich ruamel-yaml wcmatch yamllint ]; # tests can't be easily run without installing things from ansible-galaxy doCheck = false; checkInputs = [ flaky pytest-xdist pytestCheckHook ]; preCheck = '' # ansible wants to write to $HOME and crashes if it can't export HOME=$(mktemp -d) export PATH=$PATH:${lib.makeBinPath [ ansible-core ]} # create a working ansible-lint executable export PATH=$PATH:$PWD/src/ansiblelint ln -rs src/ansiblelint/__main__.py src/ansiblelint/ansible-lint patchShebangs src/ansiblelint/__main__.py # create symlink like in the git repo so test_included_tasks does not fail ln -s ../roles examples/playbooks/roles ''; disabledTests = [ # requires network "test_cli_auto_detect" "test_install_collection" "test_prerun_reqs_v1" "test_prerun_reqs_v2" "test_require_collection_wrong_version" # re-execs ansible-lint which does not works correct "test_custom_kinds" "test_run_inside_role_dir" "test_run_multiple_role_path_no_trailing_slash" "test_runner_exclude_globs" "test_discover_lintables_umlaut" ]; makeWrapperArgs = [ "--prefix PATH : ${lib.makeBinPath [ ansible-core ]}" ]; meta = with lib; { homepage = "https://github.com/ansible/ansible-lint"; description = "Best practices checker for Ansible"; license = licenses.mit; maintainers = with maintainers; [ sengaya ]; }; }