Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Conversation

@juntyr
Copy link
Contributor

@juntyr juntyr commented Feb 19, 2025

In Pyodide/Emscripten, file locking is not (yet) supported (see e.g. pyodide/pyodide#4150 (comment)).

This PR extends the fcntl import check to also test whether the locking APIs are available, so that the soft locking fallback can be used if they are not. As a result, the filelock package becomes usable in Pyodide/Emscripten.

Copy link
Member

@gaborbernat gaborbernat left a comment

Choose a reason for hiding this comment

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

Seems the CI does not like your changes 🤔

@juntyr
Copy link
Contributor Author

juntyr commented Feb 19, 2025

Seems the CI does not like your changes 🤔

Whoops, I managed to mistype fcntl.flock, I hope we'll get a green CI now :)

@gaborbernat gaborbernat merged commit 82f5a2d into tox-dev:main Feb 19, 2025
28 checks passed
@juntyr juntyr deleted the patch-1 branch February 19, 2025 17:32
@juntyr
Copy link
Contributor Author

juntyr commented Mar 14, 2025

@gaborbernat Is there a rough timeline for when the next version of filelock will be released?

@gaborbernat
Copy link
Member

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

Morty Proxy This is a proxified and sanitized view of the page, visit original site.