lol

Merge pull request #306617 from r-ryantm/auto-update/python311Packages.craft-application

python311Packages.craft-application: 2.5.0 -> 2.6.0

authored by

Jon Seager and committed by
GitHub
b0d52b31 f1d67b67

+20 -18
+20 -18
pkgs/development/python-modules/craft-application/default.nix
··· 1 1 { 2 2 lib, 3 + stdenv, 3 4 buildPythonPackage, 4 - fetchFromGitHub, 5 - nix-update-script, 6 - git, 7 5 craft-archives, 8 6 craft-cli, 9 7 craft-grammar, 10 8 craft-parts, 11 9 craft-providers, 10 + fetchFromGitHub, 11 + git, 12 + hypothesis, 13 + nix-update-script, 12 14 pydantic-yaml-0, 13 - pyyaml, 14 - setuptools, 15 - setuptools-scm, 16 - snap-helpers, 17 - stdenv, 15 + pyfakefs, 18 16 pygit2, 19 - pyfakefs, 20 - pytestCheckHook, 21 17 pytest-check, 22 18 pytest-mock, 19 + pytestCheckHook, 20 + pythonOlder, 21 + pyyaml, 23 22 responses, 24 - hypothesis, 23 + setuptools-scm, 24 + setuptools, 25 + snap-helpers, 25 26 }: 26 27 27 28 buildPythonPackage rec { 28 29 pname = "craft-application"; 29 - version = "2.5.0"; 30 - 30 + version = "2.6.0"; 31 31 pyproject = true; 32 + 33 + disabled = pythonOlder "3.10"; 32 34 33 35 src = fetchFromGitHub { 34 36 owner = "canonical"; 35 37 repo = "craft-application"; 36 38 rev = "refs/tags/${version}"; 37 - hash = "sha256-66Ldo88DJ6v0+ekvDl++eDzhdn95yxq0SMdzQxTGl5k="; 39 + hash = "sha256-zwkbSo20ogq24YtvFOCYICk25XS8FuxRbW5jfX4gDJM="; 38 40 }; 39 41 40 42 postPatch = '' ··· 45 47 --replace-fail "setuptools==69.4.0" "setuptools" 46 48 ''; 47 49 48 - nativeBuildInputs = [ 50 + build-system = [ 49 51 setuptools 50 52 setuptools-scm 51 53 ]; 52 54 53 - propagatedBuildInputs = [ 55 + dependencies = [ 54 56 craft-archives 55 57 craft-cli 56 58 craft-grammar ··· 62 64 snap-helpers 63 65 ]; 64 66 65 - pythonImportsCheck = [ "craft_application" ]; 66 - 67 67 nativeCheckInputs = [ 68 68 git 69 69 hypothesis ··· 87 87 substituteInPlace craft_application/util/platforms.py \ 88 88 --replace-fail "os_utils.OsRelease()" "os_utils.OsRelease(os_release_file='$HOME/os-release')" 89 89 ''; 90 + 91 + pythonImportsCheck = [ "craft_application" ]; 90 92 91 93 pytestFlagsArray = [ "tests/unit" ]; 92 94