bloscpack icon indicating copy to clipboard operation
bloscpack copied to clipboard

Python 3.10 Runtime Error

Open chris-piekarski opened this issue 2 years ago • 3 comments

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 avatar Jun 13 '23 05:06 chris-piekarski

@chris-piekarski thank you for reporting this. This will not be fixed as bloscpack is scheduled to be archived. Thank you.

esc avatar Jun 13 '23 05:06 esc

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

chris-piekarski avatar Jun 13 '23 06:06 chris-piekarski

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.

esc avatar Jun 13 '23 06:06 esc