Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@danbradham
Copy link
Contributor

@danbradham danbradham commented Nov 7, 2024

This PR addresses issues introduced by locking in the previous release by making locking Opt-In. Set the environment variable CPENV_ENABLE_LOCKFILES to 1 to enable lockfiles and ensure that only 1 process on a given machine can localize a module at a time.

There seems to have been issues of file-ownership on machines with multiple users where one user could create a lock while localizing a module, and later another user would be unable to activate the same module.

Fixes #73

Autocpenv and tk-cpenv will be updated shortly.

@danbradham danbradham merged commit a8b39b4 into main Nov 7, 2024
6 of 12 checks passed
@danbradham danbradham deleted the make-locks-opt-in branch November 7, 2024 22:59
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.

.lock files? Why and can it be turned off?

2 participants