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

CloudPath warning message #452

Closed
Megscammell opened this issue Jul 17, 2024 · 1 comment
Closed

CloudPath warning message #452

Megscammell opened this issue Jul 17, 2024 · 1 comment

Comments

@Megscammell
Copy link

We're using Python 3.12 and have cloudpathlib v0.18.1 installed. However, when we import CloudPath from cloudpathlib, we get the following warning message:

RuntimeWarning: As the c extension couldn't be imported, google-crc32c is using a pure python implementation that is significantly slower. If possible, please configure a c build environment and compile the extension

google_crc32c is a dependency of google-cloud-storage which is a dependency of cloudpathlib. I think the warning occurs as google_crc32c is not yet compatible with Python 3.12. Do you know if there's a fix in place so that this is rectified in a future release?

@pjbull
Copy link
Member

pjbull commented Jul 17, 2024

Here's the google-crc32c thread on 3.12 support (including some potential workarounds):
googleapis/python-crc32c#178

Looks like it will be in the 1.6 release of that package, but they are migrating build systems (see 149).

Closing here since there isn't anything for us to do about the issue. You should add your request to that thread.

@pjbull pjbull closed this as completed Jul 17, 2024
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