Skip to content

Commit b5d0493

Browse files
authored
python313Packages.cyclopts: 3.14.2 -> 3.15.0 (#405350)
2 parents 397ce99 + bd4dd91 commit b5d0493

File tree

1 file changed

+11
-9
lines changed

1 file changed

+11
-9
lines changed

pkgs/development/python-modules/cyclopts/default.nix

Lines changed: 11 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -4,31 +4,30 @@
44
buildPythonPackage,
55
docstring-parser,
66
fetchFromGitHub,
7-
importlib-metadata,
87
poetry-core,
98
poetry-dynamic-versioning,
109
pydantic,
1110
pytest-mock,
1211
pytestCheckHook,
1312
pythonOlder,
1413
pyyaml,
15-
rich,
1614
rich-rst,
17-
typing-extensions,
15+
rich,
16+
trio,
1817
}:
1918

2019
buildPythonPackage rec {
2120
pname = "cyclopts";
22-
version = "3.14.2";
21+
version = "3.15.0";
2322
pyproject = true;
2423

25-
disabled = pythonOlder "3.8";
24+
disabled = pythonOlder "3.12";
2625

2726
src = fetchFromGitHub {
2827
owner = "BrianPugh";
2928
repo = "cyclopts";
3029
tag = "v${version}";
31-
hash = "sha256-vQTODRlHktmA+mf9Yy8ab8H+HVlQjK8MZ4XpjLHbozs=";
30+
hash = "sha256-APg6Z1atVgkWy0/Gf30l7XrLZtxevt6Hj4z4ytKiy/0=";
3231
};
3332

3433
build-system = [
@@ -39,18 +38,21 @@ buildPythonPackage rec {
3938
dependencies = [
4039
attrs
4140
docstring-parser
42-
importlib-metadata
4341
rich
4442
rich-rst
45-
typing-extensions
4643
];
4744

45+
optional-dependencies = {
46+
trio = [ trio ];
47+
yaml = [ pyyaml ];
48+
};
49+
4850
nativeCheckInputs = [
4951
pydantic
5052
pytest-mock
5153
pytestCheckHook
5254
pyyaml
53-
];
55+
] ++ lib.flatten (builtins.attrValues optional-dependencies);
5456

5557
pythonImportsCheck = [ "cyclopts" ];
5658

0 commit comments

Comments
 (0)