Skip to content

Fix dict representation not being JSON serializable #1632

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

Merged
merged 6 commits into from
Jun 25, 2024

Conversation

DarkLight1337
Copy link
Contributor

This PR fixes AbstractFileSystem.to_dict() failing to serialize recursive filesystem/paths which caused the output to not be JSON serializable.

@DarkLight1337 DarkLight1337 force-pushed the fix-dict-json-serialize branch from 9a65b9d to 0b95088 Compare June 22, 2024 06:15
@DarkLight1337 DarkLight1337 changed the title Fix dict representatino not being JSON serializable Fix dict representation not being JSON serializable Jun 24, 2024
@DarkLight1337
Copy link
Contributor Author

Looks like we might need to lock the NumPy version to avoid binary incompatibility with SciPy.

@martindurant
Copy link
Member

You mean this cryptic message on windows only?

OSError: Error loading libscipy_openblas64_-fb1711452d4d8cee9f276fd1449ee5c7.dll; The operation completed successfully.

I don't know where the scipy dependency is coming from, but we could remove it in the windows run.

@DarkLight1337
Copy link
Contributor Author

You mean this cryptic message on windows only?

OSError: Error loading libscipy_openblas64_-fb1711452d4d8cee9f276fd1449ee5c7.dll; The operation completed successfully.

I don't know where the scipy dependency is coming from, but we could remove it in the windows run.

Yeah.

@martindurant
Copy link
Member

OK, things magically fixed themselves :). Merging now.

@martindurant martindurant merged commit bdd5d8c into fsspec:master Jun 25, 2024
11 checks passed
@DarkLight1337 DarkLight1337 deleted the fix-dict-json-serialize branch June 25, 2024 14:07
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

Successfully merging this pull request may close these issues.

2 participants