You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If you were to run nox -s <session_name> on a session from a working directory on a mounted file system, and then immediately unmount the file system after nox completes:
nox -s <session>
umount /mnt/mount_point
Umount will fail because the fileystem is held open by some scripts that look something like this:
The suggested fix for this would be to always add the --no-periodic-update flag to nox's internal invocations of virtualenv.
Making this a default virtualenv backend specific feature would developers to avoid having to add complex logic when dealing with cases where uv|virtualenv is specified as the default backend. (--no-periodic-update is a virtualenv specific feature so adding it unconditionally would break other uv backends.
The text was updated successfully, but these errors were encountered:
That seems overly combersome. and it was unclear how to set it in a configuration file. Either way I don't see how this is desirable in nox to just periodically grab new versions of the virtualenv embedded dependencies as part of the default behavior.
Current Behavior
If you were to run nox -s <session_name> on a session from a working directory on a mounted file system, and then immediately unmount the file system after nox completes:
Umount will fail because the fileystem is held open by some scripts that look something like this:
Expected Behavior
All file access for processes related to nox are complete and nox is able to unmount the file system.
Steps To Reproduce
This should result in a failure.
Environment
Anything else?
The suggested fix for this would be to always add the --no-periodic-update flag to nox's internal invocations of virtualenv.
Making this a default virtualenv backend specific feature would developers to avoid having to add complex logic when dealing with cases where
uv|virtualenv
is specified as the default backend. (--no-periodic-update is a virtualenv specific feature so adding it unconditionally would break other uv backends.The text was updated successfully, but these errors were encountered: