Merge pull request #317301 from DaGenix/update-mypy

Update mypy to version 1.10.0
This commit is contained in:
Dmitry Kalinkin 2024-06-05 13:50:35 -04:00 committed by GitHub
commit 63f559ca65
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 7 additions and 8 deletions

@ -7,14 +7,14 @@
python3.pkgs.buildPythonApplication rec { python3.pkgs.buildPythonApplication rec {
pname = "cwltool"; pname = "cwltool";
version = "3.1.20240404144621"; version = "3.1.20240508115724";
pyproject = true; pyproject = true;
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "common-workflow-language"; owner = "common-workflow-language";
repo = "cwltool"; repo = "cwltool";
rev = "refs/tags/${version}"; rev = "refs/tags/${version}";
hash = "sha256-atpXkMIQ60POuUk99uiiuCoRXt4Seg11g/eHCeTDe+Q="; hash = "sha256-hBP/8PIqvs820UsxrRuyMVIWgQGFVcMHCUToxhcupTk=";
}; };
postPatch = '' postPatch = ''
@ -24,7 +24,6 @@ python3.pkgs.buildPythonApplication rec {
--replace '"schema-salad >= 8.4.20230426093816, < 9",' "" \ --replace '"schema-salad >= 8.4.20230426093816, < 9",' "" \
--replace "PYTEST_RUNNER + " "" --replace "PYTEST_RUNNER + " ""
substituteInPlace pyproject.toml \ substituteInPlace pyproject.toml \
--replace "mypy==1.8.0" "mypy" \
--replace "ruamel.yaml>=0.16.0,<0.18" "ruamel.yaml" --replace "ruamel.yaml>=0.16.0,<0.18" "ruamel.yaml"
''; '';

@ -30,7 +30,7 @@
buildPythonPackage rec { buildPythonPackage rec {
pname = "mypy"; pname = "mypy";
version = "1.9.0"; version = "1.10.0";
pyproject = true; pyproject = true;
disabled = pythonOlder "3.8"; disabled = pythonOlder "3.8";
@ -38,8 +38,8 @@ buildPythonPackage rec {
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "python"; owner = "python";
repo = "mypy"; repo = "mypy";
rev = "refs/tags/${version}"; rev = "refs/tags/v${version}";
hash = "sha256-uOOZX8bKRunTOgYVbmetu2m0B7kijxBgWdNiLCAhiQ4="; hash = "sha256-NCnc4C/YFKHN/kT7RTFCYs/yC00Kt1E7mWCoQuUjxG8=";
}; };
build-system = [ build-system = [

@ -22,7 +22,7 @@
buildPythonPackage rec { buildPythonPackage rec {
pname = "schema-salad"; pname = "schema-salad";
version = "8.5.20240410123758"; version = "8.5.20240503091721";
pyproject = true; pyproject = true;
disabled = pythonOlder "3.8"; disabled = pythonOlder "3.8";
@ -31,7 +31,7 @@ buildPythonPackage rec {
owner = "common-workflow-language"; owner = "common-workflow-language";
repo = "schema_salad"; repo = "schema_salad";
rev = "refs/tags/${version}"; rev = "refs/tags/${version}";
hash = "sha256-AgXqeiA4sP7KBnUpb2uMWq45G0LhJ5uLtORrOG4UuB0="; hash = "sha256-VbEIkWzg6kPnJWqbvlfsD83oS0VQasGQo+pUIPiGjhU=";
}; };
postPatch = '' postPatch = ''