Skip to content

Commit 68b5e1b

Browse files
committed
CHORE(VER): bump v4.0.1 --> 4.1.0; CHANGES; FLOWchart
1 parent 1ee0f4d commit 68b5e1b

File tree

4 files changed

+42
-2
lines changed

4 files changed

+42
-2
lines changed

CHANGES.rst

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,39 @@ TODO
66
====
77
See :gg:`1`.
88

9+
v4.1.0 (13 Dec 2019, @ankostis): ChainMap Solution for PINs, stable TOPOLOGICAL sort
10+
=====================================================================================
11+
|v410-flowchart|
12+
13+
+ FIX(NET): TOPOLOGICALLY-sort now break ties respecting operations insertion order.
14+
15+
+ ENH(NET): new :class:`.Solution` class to collect all computation values,
16+
based on a :class:`collections.ChainMap` to distinguish outputs per operation executed:
17+
18+
+ ENH(NETOP): ``compute()`` return :class:`.Solution`, consolidating:
19+
20+
+ :term:`overwrites`,
21+
+ ``executed`` operations, and
22+
+ the generating :term:`plan`.
23+
24+
+ drop(net): ``_PinInstruction`` class is not needed.
25+
+ drop(netop): `overwrites_collector` parameter; now in :meth:`.Solution.overwrites()`.
26+
+ ENH(plot): ``Solution`` is also a :class:`.Plotter`; e.g. use ``sol.plot(...)```.
27+
28+
+ DROP(plot): `executed` arg from plotting; now embeded in `solution`.
29+
30+
+ ENH(PLOT.jupyter,doc): allow to set jupyter graph-styling selectively;
31+
fix instructions for jupyter cell-resizing.
32+
33+
+ fix(plan): time-keeping worked only for sequential execution, not parallel.
34+
Refactor it to happen centrally.
35+
36+
+ enh(NET,.TC): Add PREDICATE argument also for ``compile()``.
37+
38+
+ FEAT(DOC): add GLOSSARY as new :ref:`arch` section, linked from API HEADERS.
39+
40+
41+
942
v4.0.1 (12 Dec 2019, @ankostis): bugfix
1043
=======================================
1144
+ FIX(plan): ``plan.repr()`` was failing on empty plans.
@@ -434,6 +467,9 @@ First public release in PyPi & GitHub.
434467
:alt: sample graphkit plot
435468
:width: 120px
436469
:align: bottom
470+
.. |v410-flowchart| image:: docs/source/images/GraphtikFlowchart-v4.1.0.svg
471+
:alt: graphtik-v4.1.0 flowchart
472+
:scale: 75%
437473
.. |v130-flowchart| image:: docs/source/images/GraphkitFlowchart-v1.3.0.svg
438474
:alt: graphkit-v1.3.0 flowchart
439475
:scale: 75%

docs/source/arch.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -129,6 +129,7 @@ Architecture
129129
`compile` an `execution plan` or `prune` a cloned *network* for
130130
given `inputs`/`outputs`/`node predicate`.
131131

132+
plan
132133
execution plan
133134
the :class:`.ExecutionPlan` that performs the `execution`.
134135

docs/source/changes.rst

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,9 @@
55
:alt: sample graphtik plot
66
:width: 120px
77
:align: bottom
8+
.. |v410-flowchart| image:: images/GraphtikFlowchart-v4.1.0.svg
9+
:alt: graphtik-v4.1.0 flowchart
10+
:scale: 50%
811
.. |v130-flowchart| image:: images/GraphtikFlowchart-v1.3.0.svg
912
:alt: graphtik-v1.3.0 flowchart
1013
:scale: 75%

graphtik/__init__.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@
33
"""Lightweight :term:`computation` graphs for Python."""
44

55
__author__ = "hnguyen, ankostis"
6-
__version__ = "4.0.1"
7-
__release_date__ = "12 Dec 2019, 00:51"
6+
__version__ = "4.1.0"
7+
__release_date__ = "13 Dec 2019, 06:35"
88
__license__ = "Apache-2.0"
99
__title__ = "graphtik"
1010
__summary__ = __doc__.splitlines()[0]

0 commit comments

Comments
 (0)