Skip to content

Commit

Permalink
Merge #326371: Revert "mypy: 1.10.0 → 1.10.1"
Browse files Browse the repository at this point in the history
Unexplained large rebuild. Moving to staging.
  • Loading branch information
vcunat committed Jul 11, 2024
2 parents b0407f1 + fbcc06d commit 6c12901
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 14 deletions.
3 changes: 1 addition & 2 deletions pkgs/applications/science/misc/cwltool/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,7 @@ python3.pkgs.buildPythonApplication rec {
--replace '"schema-salad >= 8.4.20230426093816, < 9",' "" \
--replace "PYTEST_RUNNER + " ""
substituteInPlace pyproject.toml \
--replace "ruamel.yaml>=0.16.0,<0.18" "ruamel.yaml" \
--replace "mypy==1.10.0" "mypy==1.10.*"
--replace "ruamel.yaml>=0.16.0,<0.18" "ruamel.yaml"
'';

nativeBuildInputs = [
Expand Down
8 changes: 2 additions & 6 deletions pkgs/development/python-modules/mypy/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
stdenv,
buildPythonPackage,
fetchFromGitHub,
gitUpdater,
pythonAtLeast,
pythonOlder,

Expand Down Expand Up @@ -32,7 +31,7 @@

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

disabled = pythonOlder "3.8";
Expand All @@ -41,10 +40,7 @@ buildPythonPackage rec {
owner = "python";
repo = "mypy";
rev = "refs/tags/v${version}";
hash = "sha256-joV+elRaAICNQHkYuYtTDjvOUkHPsRkG1OLRvdxeIHc=";
};
passthru.updateScript = gitUpdater {
rev-prefix = "v";
hash = "sha256-NCnc4C/YFKHN/kT7RTFCYs/yC00Kt1E7mWCoQuUjxG8=";
};

build-system = [
Expand Down
6 changes: 0 additions & 6 deletions pkgs/development/python-modules/schema-salad/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
buildPythonPackage,
cachecontrol,
fetchFromGitHub,
fetchpatch,
importlib-resources,
mistune,
mypy,
Expand Down Expand Up @@ -57,11 +56,6 @@ buildPythonPackage rec {
++ cachecontrol.optional-dependencies.filecache
++ lib.optionals (pythonOlder "3.9") [ importlib-resources ];

patches = [ (fetchpatch {
url = "https://patch-diff.githubusercontent.com/raw/common-workflow-language/schema_salad/pull/840.patch";
hash = "sha256-fke75FCCn23LAMJ5bDWJpuBR6E9XIpjmzzXSbjqpxn8=";
} ) ];

nativeCheckInputs = [ pytestCheckHook ] ++ passthru.optional-dependencies.pycodegen;

preCheck = ''
Expand Down

0 comments on commit 6c12901

Please sign in to comment.