prefix-dev / rip

Solve and install Python packages quickly with rip (pip in Rust)
https://prefix.dev
BSD 3-Clause "New" or "Revised" License
645 stars 21 forks source link

Fix file-locking issue in windows #125

Closed tdejager closed 7 months ago

tdejager commented 9 months ago

On windows there seems to be an issue that a the file-locking mechanism in the file_store.rs causes RIP to sometimes never be able to acquire the lock.

There was an error in the locking code, that could result in a deadlock that was fixed in a test-branch on my @tdejager fork. test/test-deadlock but this does not seem to resolve the issue.

Currently, this is kinda blocking the use of RIP in pixi, as this can cause download/resolve progress to completely stop.

We are still investigating this.

tdejager commented 7 months ago

Closes as we have found the issue.