Skip to content

Commit 50fd617

Browse files
Merge remote-tracking branch 'upstream/hotfixes' into release
2 parents 0f58a23 + fddeb4c commit 50fd617

File tree

6 files changed

+14
-8
lines changed

6 files changed

+14
-8
lines changed

Dockerfile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,10 @@ RUN apt-get -y install libopenblas-dev liblapack-dev libboost-all-dev libncurses
99
RUN python3 -m pip install --upgrade pip
1010
RUN pip3 install deprecation==2.1.0 graphviz==0.20.3 intervaltree==3.1.0 networkx==3.4.2 packaging==24.2 python-dateutil==2.9.0.post0 pytz==2024.2 setuptools==75.8.0 six==1.17.0 sortedcontainers==2.4.0 tzdata==2024.2 wheel==0.45.1
1111
RUN pip3 install colorama==0.4.6 cycler==0.12.1 pydotplus==2.0.2 pyparsing==3.2.1 tqdm==4.67.1
12-
RUN pip3 install lxml==5.3.0 numpy==2.2.1 pandas==2.2.3 scipy==1.15.0
12+
RUN pip3 install lxml==5.3.0 numpy==2.2.1 pandas==2.2.3 scipy==1.15.1
1313
RUN pip3 install contourpy==1.3.1 fonttools==4.55.3 kiwisolver==1.4.8 matplotlib==3.10.0 pillow==11.1.0
14-
RUN pip3 install anyio==4.8.0 attrs==24.3.0 certifi==2024.12.14 charset-normalizer==3.4.1 distro==1.9.0 h11==0.14.0 httpcore==1.0.7 httpx==0.28.1 idna==3.10 jiter==0.8.2 jsonschema-specifications==2024.10.1 pydantic==2.10.5 referencing==0.35.1 rpds-py==0.22.3 sniffio==1.3.1 typing_extensions==4.12.2 urllib3==2.3.0
15-
RUN pip3 install jsonschema==4.23.0 openai==1.59.6 requests==2.32.3
14+
RUN pip3 install anyio==4.8.0 asttokens==3.0.0 attrs==24.3.0 certifi==2024.12.14 charset-normalizer==3.4.1 convertdate==2.4.0 decorator==5.1.1 distro==1.9.0 executing==2.1.0 h11==0.14.0 httpcore==1.0.7 httpx==0.28.1 idna==3.10 ipython==8.31.0 jedi==0.19.2 Jinja2==3.1.5 jsonpickle==4.0.1 jsonschema-specifications==2024.10.1 lunardate==0.2.2 MarkupSafe==3.0.2 matplotlib-inline==0.1.7 parso==0.8.4 prompt-toolkit==3.0.48 pure-eval==0.2.3 pydantic==2.10.5 Pygments==2.19.1 pyluach==2.2.0 PyMeeus==0.5.12 referencing==0.35.1 rpds-py==0.22.3 sniffio==1.3.1 stack-data==0.6.3 traitlets==5.14.3 typing_extensions==4.12.2 urllib3==2.3.0 wcwidth==0.2.13
15+
RUN pip3 install jsonschema==4.23.0 openai==1.59.7 pyvis==0.3.2 requests==2.32.3 workalendar==17.0.0
1616
RUN pip3 install -U meson-python==0.15.0 Cython==3.0.10 ninja==1.11.1.1 spin==0.8 build==1.2.1 setuptools_scm==8.0.4
1717

1818
#RUN cd / && git clone https://github.com/numpy/numpy.git && cd /numpy && git submodule update --init && pip3 install .

pm4py/meta.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
'''
2222

2323
__name__ = 'pm4py'
24-
VERSION = '2.7.13'
24+
VERSION = '2.7.12.4'
2525
__version__ = VERSION
2626
__doc__ = 'Process mining for Python'
2727
__author__ = 'Process Intelligence Solutions (PIS)'

pm4py/objects/bpmn/importer/variants/lxml.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -305,13 +305,15 @@ def parse_element(bpmn_graph, counts, curr_el, parents, incoming_dict, outgoing_
305305
incoming_dict[seq_flow_id][3], incoming_dict[seq_flow_id][4])
306306
for seq_flow_id in outgoing_dict:
307307
if outgoing_dict[seq_flow_id][0] in nodes_dict:
308-
outgoing_dict[seq_flow_id] = (nodes_dict[outgoing_dict[seq_flow_id][0]], outgoing_dict[seq_flow_id][1], outgoing_dict[seq_flow_id][2], outgoing_dict[seq_flow_id][3], outgoing_dict[seq_flow_id][4])
308+
outgoing_dict[seq_flow_id] = (
309+
nodes_dict[outgoing_dict[seq_flow_id][0]], outgoing_dict[seq_flow_id][1], outgoing_dict[seq_flow_id][2],
310+
outgoing_dict[seq_flow_id][3], outgoing_dict[seq_flow_id][4])
309311

310312
# also supports flows without waypoints
311313
flows_without_waypoints = set(flow_info).union(set(outgoing_dict).intersection(set(incoming_dict)))
312314
for flow_id in flows_without_waypoints:
313315
flow_info[flow_id] = []
314-
316+
315317
for flow_id in flow_info:
316318
if flow_id in outgoing_dict and flow_id in incoming_dict:
317319
flow = None

pm4py/visualization/bpmn/variants/classic.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,8 @@ class Parameters(Enum):
3939
ENABLE_SWIMLANES = "enable_swimlanes"
4040
INCLUDE_NAME_IN_EVENTS = "include_name_in_events"
4141
SWIMLANES_MARGIN = "swimlanes_margin"
42+
ENABLE_GRAPH_TITLE = "enable_graph_title"
43+
GRAPH_TITLE = "graph_title"
4244
ENDPOINTS_SHAPE = "endpoints_shape"
4345

4446

@@ -104,6 +106,8 @@ def apply(bpmn_graph: BPMN, parameters: Optional[Dict[Any, Any]] = None) -> grap
104106
include_name_in_events = exec_utils.get_param_value(Parameters.INCLUDE_NAME_IN_EVENTS, parameters, True)
105107
swimlanes_margin = exec_utils.get_param_value(Parameters.SWIMLANES_MARGIN, parameters, 35)
106108
swimlanes_margin = str(swimlanes_margin)
109+
enable_graph_title = exec_utils.get_param_value(Parameters.ENABLE_GRAPH_TITLE, parameters, constants.DEFAULT_ENABLE_GRAPH_TITLES)
110+
graph_title = exec_utils.get_param_value(Parameters.GRAPH_TITLE, parameters, "BPMN Diagram")
107111
endpoints_shape = exec_utils.get_param_value(Parameters.ENDPOINTS_SHAPE, parameters, "circle")
108112

109113
filename = tempfile.NamedTemporaryFile(suffix='.gv')

requirements_stable.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ pydotplus==2.0.2
1717
pyparsing==3.2.1
1818
python-dateutil==2.9.0.post0
1919
pytz==2024.2
20-
scipy==1.15.0
20+
scipy==1.15.1
2121
setuptools==75.8.0
2222
six==1.17.0
2323
sortedcontainers==2.4.0

third_party/LICENSES_TRANSITIVE.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
| pyparsing | https://pypi.org/pypi/pyparsing/json | MIT License | 3.2.1 |
2626
| python-dateutil | https://pypi.org/pypi/python-dateutil/json | BSD License | 2.9.0.post0 |
2727
| pytz | https://pypi.org/pypi/pytz/json | MIT License | 2024.2 |
28-
| scipy | https://pypi.org/pypi/scipy/json | BSD License | 1.15.0 |
28+
| scipy | https://pypi.org/pypi/scipy/json | BSD License | 1.15.1 |
2929
| setuptools | https://pypi.org/pypi/setuptools/json | MIT License | 75.8.0 |
3030
| six | https://pypi.org/pypi/six/json | MIT License | 1.17.0 |
3131
| sortedcontainers | https://pypi.org/pypi/sortedcontainers/json | Apache Software License | 2.4.0 |

0 commit comments

Comments
 (0)