Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Python 3.10 Runtime Error #119

Open
chris-piekarski opened this issue Jun 13, 2023 · 3 comments
Open

Python 3.10 Runtime Error #119

chris-piekarski opened this issue Jun 13, 2023 · 3 comments

Comments

@chris-piekarski
Copy link

From baf0e764143cd6369835d60013d3d9c3eaa771fd Mon Sep 17 00:00:00 2001
From: Chris Piekarski chris@cpiekarski.com
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

@esc
Copy link
Member

esc commented Jun 13, 2023

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

@chris-piekarski
Copy link
Author

chris-piekarski commented Jun 13, 2023

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

@esc
Copy link
Member

esc commented Jun 13, 2023

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants