File tree Expand file tree Collapse file tree
pkgs/development/python-modules/pytask Expand file tree Collapse file tree Original file line number Diff line number Diff line change 44 fetchFromGitHub ,
55 hatchling ,
66 hatch-vcs ,
7- attrs ,
87 click ,
98 click-default-group ,
9+ cloudpickle ,
10+ git ,
11+ msgspec ,
12+ nbmake ,
1013 networkx ,
1114 optree ,
1215 packaging ,
16+ pexpect ,
1317 pluggy ,
18+ pytest-xdist ,
19+ pytestCheckHook ,
1420 rich ,
1521 sqlalchemy ,
16- universal-pathlib ,
17- pytestCheckHook ,
18- cloudpickle ,
19- nbmake ,
20- pexpect ,
21- pytest-xdist ,
2222 syrupy ,
23- git ,
23+ universal-pathlib ,
2424} :
2525
2626buildPythonPackage rec {
2727 pname = "pytask" ;
28- version = "0.5.8 " ;
28+ version = "0.6.0 " ;
2929 pyproject = true ;
3030
3131 src = fetchFromGitHub {
3232 owner = "pytask-dev" ;
3333 repo = "pytask" ;
3434 tag = "v${ version } " ;
35- hash = "sha256-tQUvqqbFUO3cw+dVPfCKiYyhwX31vqUBXr7GrRfPC+A =" ;
35+ hash = "sha256-l7jQAUBb8iW5S8Am2cMCgqYcvtLq8UgEhrCNnSx9N1E =" ;
3636 } ;
3737
3838 build-system = [
@@ -41,27 +41,34 @@ buildPythonPackage rec {
4141 ] ;
4242
4343 dependencies = [
44- attrs
4544 click
4645 click-default-group
47- networkx
46+ msgspec
4847 optree
4948 packaging
5049 pluggy
5150 rich
5251 sqlalchemy
5352 universal-pathlib
54- ] ;
53+ ]
54+ ++ msgspec . optional-dependencies . toml ;
55+
56+ optional-dependencies = {
57+ dag = [ networkx ] ;
58+ } ;
5559
5660 nativeCheckInputs = [
57- pytestCheckHook
5861 cloudpickle
5962 git
6063 nbmake
6164 pexpect
6265 pytest-xdist
66+ pytestCheckHook
6367 syrupy
64- ] ;
68+ ]
69+ ++ lib . concatAttrValues optional-dependencies ;
70+
71+ pytestFlags = [ "--snapshot-warn-unused" ] ;
6572
6673 # The test suite runs the installed command for e2e tests
6774 preCheck = ''
@@ -73,13 +80,13 @@ buildPythonPackage rec {
7380 "test_download_file"
7481 # Racy
7582 "test_more_nested_pytree_and_python_node_as_return_with_names"
76- # Without uv, subprocess unexpectedly doesn't fail
77- "test_pytask_on_a_module_that_uses_the_functional_api"
7883 # Timeout
7984 "test_pdb_interaction_capturing_twice"
8085 "test_pdb_interaction_capturing_simple"
8186 ] ;
8287
88+ pythonImportsCheck = [ "pytask" ] ;
89+
8390 meta = {
8491 description = "Workflow management system that facilitates reproducible data analyses" ;
8592 homepage = "https://github.com/pytask-dev/pytask" ;
You can’t perform that action at this time.
0 commit comments