From 8026a79a3241cd2c3ec4cbe30d960b57614eb52d Mon Sep 17 00:00:00 2001 From: Alexey Shkarin Date: Thu, 13 Jan 2022 21:43:24 +0100 Subject: [PATCH] Update to 1.3.3 --- docs/changelog.rst | 5 +++++ docs/conf.py | 4 ++-- pylablib/core/utils/strdump.py | 2 +- setup.py | 2 +- 4 files changed, 9 insertions(+), 4 deletions(-) diff --git a/docs/changelog.rst b/docs/changelog.rst index 8242604..ad1dafd 100644 --- a/docs/changelog.rst +++ b/docs/changelog.rst @@ -23,6 +23,11 @@ you can write import pylablib.legacy as pll from pylablib.legacy.aux_libs.devices import Lakeshore +1.3.3 +~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + +- Numpy ``loads`` bugfix (fixes compatibility with ``numpy>=1.22``). + 1.3.2 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ diff --git a/docs/conf.py b/docs/conf.py index febfa4e..8b0ff81 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -23,13 +23,13 @@ # -- Project information ----------------------------------------------------- project = 'pylablib' -copyright = '2021, Alexey Shkarin' +copyright = '2022, Alexey Shkarin' author = 'Alexey Shkarin' # The short X.Y version version = '' # The full version, including alpha/beta/rc tags -release = '1.3.2' +release = '1.3.3' # -- General configuration --------------------------------------------------- diff --git a/pylablib/core/utils/strdump.py b/pylablib/core/utils/strdump.py index 4c517a2..fb2bf08 100644 --- a/pylablib/core/utils/strdump.py +++ b/pylablib/core/utils/strdump.py @@ -126,7 +126,7 @@ def dumps(self, obj): ### Numpy array ### -dumper.add_class(np.ndarray,np.ndarray.dumps,np.loads,"np") +dumper.add_class(np.ndarray,np.ndarray.dumps,pickle.loads,"np") diff --git a/setup.py b/setup.py index 8e0bdb7..1d19285 100644 --- a/setup.py +++ b/setup.py @@ -23,7 +23,7 @@ setup( name='pylablib', # name='pylablib-lightweight', - version='1.3.2', + version='1.3.3', description='Code for use in lab environment: experiment automation, data acquisition, device communication', long_description=long_description, long_description_content_type="text/x-rst",