Python 3.10 Runtime Error
From baf0e764143cd6369835d60013d3d9c3eaa771fd Mon Sep 17 00:00:00 2001 From: Chris Piekarski [email protected] Date: Mon, 12 Jun 2023 23:40:33 -0600 Subject: [PATCH] change import to work with python 3.10
bloscpack/abstract_objects.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/bloscpack/abstract_objects.py b/bloscpack/abstract_objects.py index f365c37..fd75fc8 100644 --- a/bloscpack/abstract_objects.py +++ b/bloscpack/abstract_objects.py @@ -4,7 +4,7 @@
import abc -import collections +from collections.abc import MutableMapping import copy import pprint
@@ -13,7 +13,7 @@ from .pretty import (double_pretty_size, )
-class MutableMappingObject(collections.abc.MutableMapping): +class MutableMappingObject(MutableMapping):
_metaclass__ = abc.ABCMeta
-- 2.34.1
@chris-piekarski thank you for reporting this. This will not be fixed as bloscpack is scheduled to be archived. Thank you.
I thought it worked pretty good @esc. Is there a recommend replacment package?
Safe to assume this one I guess https://github.com/Blosc/python-blosc2
I thought it worked pretty good @esc. Is there a recommend replacment package?
Thank you!
Safe to assume this one I guess https://github.com/Blosc/python-blosc2
Indeed, blosc2 provides the chunking functionality previously offered by bloscpack. python-blosc2 are the Python wrappers for that.