Unverified Commit 63f559ca authored by Dmitry Kalinkin's avatar Dmitry Kalinkin Committed by GitHub
Browse files

Merge pull request #317301 from DaGenix/update-mypy

Update mypy to version 1.10.0
parents 437e3a21 64e2cdf6
Loading
Loading
Loading
Loading
+2 −3
Original line number Diff line number Diff line
@@ -7,14 +7,14 @@

python3.pkgs.buildPythonApplication rec {
  pname = "cwltool";
  version = "3.1.20240404144621";
  version = "3.1.20240508115724";
  pyproject = true;

  src = fetchFromGitHub {
    owner = "common-workflow-language";
    repo = "cwltool";
    rev = "refs/tags/${version}";
    hash = "sha256-atpXkMIQ60POuUk99uiiuCoRXt4Seg11g/eHCeTDe+Q=";
    hash = "sha256-hBP/8PIqvs820UsxrRuyMVIWgQGFVcMHCUToxhcupTk=";
  };

  postPatch = ''
@@ -24,7 +24,6 @@ python3.pkgs.buildPythonApplication rec {
      --replace '"schema-salad >= 8.4.20230426093816, < 9",' "" \
      --replace "PYTEST_RUNNER + " ""
    substituteInPlace pyproject.toml \
      --replace "mypy==1.8.0" "mypy" \
      --replace "ruamel.yaml>=0.16.0,<0.18" "ruamel.yaml"
  '';

+3 −3
Original line number Diff line number Diff line
@@ -30,7 +30,7 @@

buildPythonPackage rec {
  pname = "mypy";
  version = "1.9.0";
  version = "1.10.0";
  pyproject = true;

  disabled = pythonOlder "3.8";
@@ -38,8 +38,8 @@ buildPythonPackage rec {
  src = fetchFromGitHub {
    owner = "python";
    repo = "mypy";
    rev = "refs/tags/${version}";
    hash = "sha256-uOOZX8bKRunTOgYVbmetu2m0B7kijxBgWdNiLCAhiQ4=";
    rev = "refs/tags/v${version}";
    hash = "sha256-NCnc4C/YFKHN/kT7RTFCYs/yC00Kt1E7mWCoQuUjxG8=";
  };

  build-system = [
+2 −2
Original line number Diff line number Diff line
@@ -22,7 +22,7 @@

buildPythonPackage rec {
  pname = "schema-salad";
  version = "8.5.20240410123758";
  version = "8.5.20240503091721";
  pyproject = true;

  disabled = pythonOlder "3.8";
@@ -31,7 +31,7 @@ buildPythonPackage rec {
    owner = "common-workflow-language";
    repo = "schema_salad";
    rev = "refs/tags/${version}";
    hash = "sha256-AgXqeiA4sP7KBnUpb2uMWq45G0LhJ5uLtORrOG4UuB0=";
    hash = "sha256-VbEIkWzg6kPnJWqbvlfsD83oS0VQasGQo+pUIPiGjhU=";
  };

  postPatch = ''