Closed
Description
I'm testing on the main branch with the bzlmod example.
We have two issues:
- The Python script is not updating the requirements file in Linux -
dependency_resolver.py
- bazel throws errors when you have an empty file requirement for Python 3.9. If you
cp /dev/null
to the requirement file:
examples/bzlmod/requirements_lock_3_9.txt
I am testing on WSL/Linux with bazelisk.
When running the target
bazelisk run. //:requirements_3_9.update
The above command should update the file:
But the contents of the file are not changing.
On Linux, this line of code is run:
But the following lines do not run. The cli()
call is not throwing an error, but the script seems to exit.
The run
command outputs the updated requirements file changes, but the file is not updated.
When you run the same file with Windows Powershell, the Windows requirements file is updated correctly.