Skip to content

Commit

Permalink
Version 0.6.2
Browse files Browse the repository at this point in the history
Minor bug-fix release

Bugs:
* Proxy node class was not able to be de-pickled
* Generator used in a primitive node
  • Loading branch information
KentonRL committed May 21, 2021
1 parent 6199959 commit a931a6e
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 3 deletions.
2 changes: 1 addition & 1 deletion deltalanguage/__about__.py
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@
__contributors_lines__ = "\n".join(contributors)
__email__ = "deltaflow@riverlane.com"

version_info = (0, 6, 1)
version_info = (0, 6, 2)
"""Tuple[int, int, int] : version information
The three components of the version:
``major``, ``minor`` and ``micro``: Module level variable documented inline.
Expand Down
2 changes: 1 addition & 1 deletion deltalanguage/lib/primitives.py
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ def make_generator(val: typing.Union[object, typing.Iterable],
vals_to_send = val
else:
elem_type = delta_type(val)
vals_to_send = (deepcopy(val) for _ in range(reps))
vals_to_send = [deepcopy(val) for _ in range(reps)]

if as_delta_type is not None:
elem_type = as_delta_type
Expand Down
6 changes: 6 additions & 0 deletions deltalanguage/wiring/_node_classes/abstract_node.py
Original file line number Diff line number Diff line change
Expand Up @@ -113,6 +113,12 @@ def __getattr__(self, item):
"""
return getattr(self.referee, item)

def __getstate__(self):
return self.__dict__

def __setstate__(self, state):
self.__dict__ = state

def add_in_port(self, arg_name: str, in_type: Type, in_port_size: int = 0):
"""This function has been explicitly created as this is an abstract
method calls add in-port on referee node.
Expand Down
2 changes: 1 addition & 1 deletion docs/build_docs.sh
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ echo ${PYTHONPATH}
# Make sure dev is the last one as it has the latest version of conf.py
# LATESTVERSION is also used as the default version
# TODO: automate this process
LATESTVERSION="v0.6.1"
LATESTVERSION="v0.6.2"
DOCSVERSIONS="${LATESTVERSION} v0.4.4 dev"
export DOCSVERSIONS=${DOCSVERSIONS}
# This variable is defined in docs/Makefile
Expand Down

0 comments on commit a931a6e

Please sign in to comment.