Skip to content

Commit 3b37d6d

Browse files
authored
python312Packages.cwl-upgrader: 1.2.11 -> 1.2.12, cwltool: 3.1.20241024121129 -> 3.1.20241217163858 (#368861)
2 parents 9aeb0e2 + 1e37779 commit 3b37d6d

File tree

2 files changed

+32
-20
lines changed

2 files changed

+32
-20
lines changed

pkgs/by-name/cw/cwltool/package.nix

Lines changed: 30 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -6,39 +6,50 @@
66
python3,
77
}:
88

9-
python3.pkgs.buildPythonApplication rec {
9+
let
10+
py = python3.override {
11+
packageOverrides = final: prev: {
12+
# Requires "pydot >= 1.4.1, <3",
13+
pydot = prev.pydot.overridePythonAttrs (old: rec {
14+
version = "2.0.0";
15+
src = old.src.override {
16+
inherit version;
17+
hash = "sha256-YCRq8hUSP6Bi8hzXkb5n3aI6bygN8J9okZ5jeh5PMjU=";
18+
};
19+
doCheck = false;
20+
});
21+
};
22+
};
23+
in
24+
with py.pkgs;
25+
26+
py.pkgs.buildPythonApplication rec {
1027
pname = "cwltool";
11-
version = "3.1.20241024121129";
28+
version = "3.1.20241217163858";
1229
pyproject = true;
1330

1431
src = fetchFromGitHub {
1532
owner = "common-workflow-language";
1633
repo = "cwltool";
1734
rev = "refs/tags/${version}";
18-
hash = "sha256-MocgfELgis9b+byeDU7mDQcXnLhaWBtvGbqm7MtRdf8=";
35+
hash = "sha256-46x/7ewnt1eTu+1GdmPUExpiFfYE3mN8N8VFMM4r1Vk=";
1936
};
2037

2138
postPatch = ''
2239
substituteInPlace setup.py \
23-
--replace-fail "ruamel.yaml >= 0.16, < 0.19" "ruamel.yaml" \
2440
--replace-fail "prov == 1.5.1" "prov" \
2541
--replace-fail '"schema-salad >= 8.7, < 9",' '"schema-salad",' \
2642
--replace-fail "PYTEST_RUNNER + " ""
27-
substituteInPlace pyproject.toml \
28-
--replace-fail "ruamel.yaml>=0.16.0,<0.18" "ruamel.yaml" \
29-
--replace-fail "mypy==1.13.0" "mypy"
3043
'';
3144

32-
nativeBuildInputs =
33-
[
34-
git
35-
]
36-
++ (with python3.pkgs; [
37-
setuptools
38-
setuptools-scm
39-
]);
45+
build-system = with py.pkgs; [
46+
setuptools
47+
setuptools-scm
48+
];
49+
50+
nativeBuildInputs = [ git ];
4051

41-
dependencies = with python3.pkgs; [
52+
dependencies = with py.pkgs; [
4253
argcomplete
4354
bagit
4455
coloredlogs
@@ -50,6 +61,7 @@ python3.pkgs.buildPythonApplication rec {
5061
pydot
5162
rdflib
5263
requests
64+
rich-argparse
5365
ruamel-yaml
5466
schema-salad
5567
shellescape
@@ -60,7 +72,7 @@ python3.pkgs.buildPythonApplication rec {
6072
typing-extensions
6173
];
6274

63-
nativeCheckInputs = with python3.pkgs; [
75+
nativeCheckInputs = with py.pkgs; [
6476
mock
6577
nodejs
6678
pytest-mock
@@ -89,7 +101,7 @@ python3.pkgs.buildPythonApplication rec {
89101
description = "Common Workflow Language reference implementation";
90102
homepage = "https://www.commonwl.org";
91103
changelog = "https://github.com/common-workflow-language/cwltool/releases/tag/${version}";
92-
license = with licenses; [ asl20 ];
104+
license = licenses.asl20;
93105
maintainers = with maintainers; [ veprbl ];
94106
mainProgram = "cwltool";
95107
};

pkgs/development/python-modules/cwl-upgrader/default.nix

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313

1414
buildPythonPackage rec {
1515
pname = "cwl-upgrader";
16-
version = "1.2.11";
16+
version = "1.2.12";
1717
pyproject = true;
1818

1919
disabled = pythonOlder "3.8";
@@ -22,7 +22,7 @@ buildPythonPackage rec {
2222
owner = "common-workflow-language";
2323
repo = "cwl-upgrader";
2424
rev = "refs/tags/v${version}";
25-
hash = "sha256-P8607Io/KIJqAnrValM+rRK59tQITcC/jyGwkge8qN0=";
25+
hash = "sha256-cfEd1XAu31u+NO27d3RNA5lhCpRpYK8NeaCxhQ/1GNU=";
2626
};
2727

2828
postPatch = ''

0 commit comments

Comments
 (0)