Skip to content

Commit b0909ac

Browse files
authored
Update pyiron_workflow and executorlib (#189)
* Update pyiron_base, pyiron_workflow and executorlib * Update networkx version to 3.6.1 * Downgrade pydantic version to 2.12.5 * Update environment.yml * Use legacy backend * update notebooks * more updates * downgrade pydantic
1 parent 5d70750 commit b0909ac

7 files changed

Lines changed: 19 additions & 19 deletions

File tree

‎binder/environment.yml‎

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,15 +3,15 @@ channels:
33
dependencies:
44
- python =3.12
55
- click =8.1.8
6-
- pydantic =2.13.4
7-
- hatchling =1.28.0
6+
- pydantic =2.12.5
7+
- hatchling =1.31.0
88
- hatch-vcs =0.5.0
99
- jobflow =0.3.1
10-
- executorlib =1.7.4
11-
- pyiron_base =0.15.15
12-
- pyiron_workflow =0.15.5
10+
- executorlib =1.10.1
11+
- pyiron_base =0.15.16
12+
- pyiron_workflow =0.18.0
1313
- pygraphviz =1.14
1414
- aiida-workgraph =0.8.1
1515
- conda_subprocess =0.0.12
16-
- networkx =3.4.2
16+
- networkx =3.6.1
1717
- cwltool =3.2.20260413085819

‎example_workflows/arithmetic/pyiron_workflow.ipynb‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
"metadata": {},
3030
"outputs": [],
3131
"source": [
32-
"from pyiron_workflow import Workflow, to_function_node"
32+
"from pyiron_workflow._legacy import Workflow, to_function_node"
3333
]
3434
},
3535
{
@@ -913,4 +913,4 @@
913913
},
914914
"nbformat": 4,
915915
"nbformat_minor": 5
916-
}
916+
}

‎example_workflows/nfdi/pyiron_workflow.ipynb‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@
5656
{
5757
"id": "2dced28725813fc1",
5858
"cell_type": "code",
59-
"source": "from pyiron_workflow import Workflow, to_function_node\n\nfrom python_workflow_definition.pyiron_workflow import write_workflow_json",
59+
"source": "from pyiron_workflow._legacy import Workflow, to_function_node\n\nfrom python_workflow_definition.pyiron_workflow import write_workflow_json",
6060
"metadata": {
6161
"trusted": true
6262
},
@@ -425,4 +425,4 @@
425425
"execution_count": null
426426
}
427427
]
428-
}
428+
}

‎example_workflows/quantum_espresso/pyiron_workflow.ipynb‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,8 @@
1717
"source": [
1818
"from inspect import isfunction\n",
1919
"import numpy as np\n",
20-
"from pyiron_workflow import Workflow, to_function_node, as_function_node\n",
21-
"from pyiron_workflow.api import inputs_to_dict\n",
20+
"from pyiron_workflow._legacy import Workflow, to_function_node, as_function_node\n",
21+
"from pyiron_workflow._legacy.api import inputs_to_dict\n",
2222
"from python_workflow_definition.pyiron_workflow import write_workflow_json"
2323
]
2424
},
@@ -6039,4 +6039,4 @@
60396039
},
60406040
"nbformat": 4,
60416041
"nbformat_minor": 5
6042-
}
6042+
}

‎pyproject.toml‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,13 +28,13 @@ jobflow = [
2828
"jobflow>=0.1.18,<=0.3.1",
2929
]
3030
pyiron = [
31-
"pyiron_base>=0.11.10,<=0.15.12",
31+
"pyiron_base>=0.11.10,<=0.15.16",
3232
]
3333
pyiron_workflow = [
34-
"pyiron_workflow>=0.13.0,<=0.15.5",
34+
"pyiron_workflow>=0.13.0,<=0.18.0",
3535
]
3636
executorlib = [
37-
"executorlib>=1.7.4,<=1.9.1",
37+
"executorlib>=1.7.4,<=1.10.1",
3838
]
3939
plot = [
4040
"pygraphviz>=1.10,<=1.14",

‎src/python_workflow_definition/pyiron_workflow.py‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@
44
from typing import Any
55

66
import numpy as np
7-
from pyiron_workflow import Workflow, function_node
8-
from pyiron_workflow.api import Function
7+
from pyiron_workflow._legacy import Workflow, function_node
8+
from pyiron_workflow._legacy.api import Function
99

1010
from python_workflow_definition.models import PythonWorkflowDefinitionWorkflow
1111
from python_workflow_definition.shared import (

‎tests/test_pyiron_workflow.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
import os
33
import sys
44
import unittest
5-
from pyiron_workflow import Workflow, to_function_node
5+
from pyiron_workflow._legacy import Workflow, to_function_node
66
from python_workflow_definition.pyiron_workflow import load_workflow_json, write_workflow_json
77

88
function_str = """

0 commit comments

Comments
 (0)