Skip to content

Fixed erased folder when size cannot be handled #129

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 1 commit into from
Feb 19, 2025
Merged

Conversation

WebReflection
Copy link
Contributor

@WebReflection WebReflection commented Feb 18, 2025

This MR is based on this fix and it has been tested pyodide/pyodide#5434

The folder is currently not touched and the error is rightly propagated when it exceeds 4GB of data.

Warning

This fixes only the MicroPython port from upstream ... we should update Pyodide once their MR lands in their next release.

Copy link
Member

@ntoll ntoll left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

:shipit:

@ntoll
Copy link
Member

ntoll commented Feb 18, 2025

This is good to see. It was playing on my mind. If we can get a PyScript release out when this lands (for both MicroPython and Pyodide) that'd be awesome. 👍

@WebReflection
Copy link
Contributor Author

@ntoll I am waiting for upstream to accept the MR but I can confirm it works great in MicroPython. To be honest, I could use the same code to patch Pyodide too but that doesn't feel like the best approach as I want to be in sync with upstream, not vice-versa so ... let's see, but I'll discuss and show more during today community call.

@WebReflection WebReflection force-pushed the better-fs branch 4 times, most recently from cb86988 to 3a03c5d Compare February 19, 2025 12:00
@WebReflection
Copy link
Contributor Author

FYI upstream approved latest changes which I have applied and tested too ... I think this is good to go for MicroPython, let's hope Pyodide will also release soon enough.

@WebReflection WebReflection merged commit 38c0df5 into main Feb 19, 2025
2 checks passed
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