Bug: Pylock.select() silently succeeds when environments is an empty list
Bug: Pylock.select() silently succeeds when environments is an empty list: a task in repo2rlenv-swe-next (Harbor dataset). When creating a Pylock with an explicitly empty environments= , calling select() should raise a PylockSelectError because the lock file declares no supported environments —…
The task
When creating a `Pylock` with an explicitly empty `environments=[]`, calling `select()` should raise a `PylockSelectError` because the lock file declares no supported environments — meaning the current environment cannot possibly match any of them. However, `select()` currently returns without raising any error.
Part of FineEnvs/repo2rlenv-swe-next.