Merge pull request #302864 from r-ryantm/auto-update/python312Packages.molecule

python312Packages.molecule: 24.2.0 -> 24.2.1

authored by Fabian Affolter and committed by GitHub d038af2a 2d4c071f

+38 -32
+38 -32
pkgs/development/python-modules/molecule/default.nix
··· 1 - { lib 2 - , buildPythonPackage 3 - , fetchPypi 4 - , testers 5 - , ansible-compat 6 - , ansible-core 7 - , click-help-colors 8 - , enrich 9 - , jsonschema 10 - , molecule 11 - , withPlugins ? true, molecule-plugins 12 - , packaging 13 - , pluggy 14 - , rich 15 - , setuptools 16 - , setuptools-scm 17 - , yamllint 18 - , wcmatch 19 - , wheel 1 + { 2 + lib, 3 + ansible-compat, 4 + ansible-core, 5 + buildPythonPackage, 6 + click-help-colors, 7 + enrich, 8 + fetchPypi, 9 + jsonschema, 10 + molecule, 11 + packaging, 12 + pluggy, 13 + pythonOlder, 14 + rich, 15 + setuptools, 16 + setuptools-scm, 17 + testers, 18 + wcmatch, 19 + withPlugins ? true, 20 + molecule-plugins, 21 + yamllint, 20 22 }: 21 23 22 24 buildPythonPackage rec { 23 25 pname = "molecule"; 24 - version = "24.2.0"; 25 - format = "pyproject"; 26 + version = "24.2.1"; 27 + pyproject = true; 28 + 29 + disabled = pythonOlder "3.10"; 26 30 27 31 src = fetchPypi { 28 32 inherit pname version; 29 - hash = "sha256-R8mCp9Bdt4Rtp3/nFZ3rlG8myvsuOI/HGBK+AImkF3Y="; 33 + hash = "sha256-g1IrqpuRVg6phic8qxScORVpdunWEkVxciYyCTWtVuQ="; 30 34 }; 31 35 32 36 nativeBuildInputs = [ 33 37 setuptools 34 38 setuptools-scm 35 - wheel 36 39 ]; 37 40 38 41 propagatedBuildInputs = [ ··· 53 56 # tests can't be easily run without installing things from ansible-galaxy 54 57 doCheck = false; 55 58 56 - passthru.tests.version = (testers.testVersion { 57 - package = molecule; 58 - command = "PY_COLORS=0 ${pname} --version"; 59 - }).overrideAttrs (old: { 60 - # workaround the error: Permission denied: '/homeless-shelter' 61 - HOME = "$(mktemp -d)"; 62 - }); 59 + passthru.tests.version = 60 + (testers.testVersion { 61 + package = molecule; 62 + command = "PY_COLORS=0 ${pname} --version"; 63 + }).overrideAttrs 64 + (old: { 65 + # workaround the error: Permission denied: '/homeless-shelter' 66 + HOME = "$(mktemp -d)"; 67 + }); 63 68 64 69 meta = with lib; { 65 70 description = "Molecule aids in the development and testing of Ansible roles"; 66 - mainProgram = "molecule"; 67 71 homepage = "https://github.com/ansible-community/molecule"; 68 - maintainers = with maintainers; [ dawidd6 ]; 72 + changelog = "https://github.com/ansible/molecule/releases/tag/v${version}"; 69 73 license = licenses.mit; 74 + maintainers = with maintainers; [ dawidd6 ]; 75 + mainProgram = "molecule"; 70 76 }; 71 77 }