1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-09-11 15:08:33 +01:00

Merge #326371: Revert "mypy: 1.10.0 → 1.10.1"

Unexplained large rebuild. Moving to staging.
This commit is contained in:
Vladimír Čunát 2024-07-11 21:39:12 +02:00
commit 6c12901eb4
No known key found for this signature in database
GPG key ID: E747DF1F9575A3AA
3 changed files with 3 additions and 14 deletions

View file

@ -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 = [

View file

@ -3,7 +3,6 @@
stdenv,
buildPythonPackage,
fetchFromGitHub,
gitUpdater,
pythonAtLeast,
pythonOlder,
@ -32,7 +31,7 @@
buildPythonPackage rec {
pname = "mypy";
version = "1.10.1";
version = "1.10.0";
pyproject = true;
disabled = pythonOlder "3.8";
@ -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 = [

View file

@ -4,7 +4,6 @@
buildPythonPackage,
cachecontrol,
fetchFromGitHub,
fetchpatch,
importlib-resources,
mistune,
mypy,
@ -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 = ''