Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
## Release notes

### 0.13.5 -- May 13, 2022
* Update - Import ABC from collections.abc for Python 3.10 compatibility

### 0.13.4 -- March, 28 2022
* Add - Allow reading blobs produced by legacy 32-bit compiled mYm library for matlab. PR #995
* Bugfix - Add missing `jobs` argument for multiprocessing PR #997
Expand Down
10 changes: 5 additions & 5 deletions datajoint/blob.py
Original file line number Diff line number Diff line change
Expand Up @@ -188,17 +188,17 @@ def pack_blob(self, obj):
return self.pack_decimal(obj)
if isinstance(obj, uuid.UUID):
return self.pack_uuid(obj)
if isinstance(obj, collections.Mapping):
if isinstance(obj, collections.abc.Mapping):
return self.pack_dict(obj)
if isinstance(obj, str):
return self.pack_string(obj)
if isinstance(obj, collections.ByteString):
if isinstance(obj, collections.abc.ByteString):
return self.pack_bytes(obj)
if isinstance(obj, collections.MutableSequence):
if isinstance(obj, collections.abc.MutableSequence):
return self.pack_list(obj)
if isinstance(obj, collections.Sequence):
if isinstance(obj, collections.abc.Sequence):
return self.pack_tuple(obj)
if isinstance(obj, collections.Set):
if isinstance(obj, collections.abc.Set):
return self.pack_set(obj)
if obj is None:
return self.pack_none()
Expand Down
2 changes: 1 addition & 1 deletion datajoint/version.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
__version__ = "0.13.4"
__version__ = "0.13.5"

assert len(__version__) <= 10 # The log table limits version to the 10 characters
4 changes: 4 additions & 0 deletions docs-parts/intro/Releases_lang1.rst
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
0.13.5 -- May 13, 2022
----------------------
* Update - Import ABC from collections.abc for Python 3.10 compatibility

0.13.4 -- March 28, 2022
----------------------
* Add - Allow reading blobs produced by legacy 32-bit compiled mYm library for matlab. PR #995
Expand Down