Command "python egg_info" failed with error code 1 in /var/local/ralph/

Trying to run the local development version using the command

docker compose -f docker-compose-local-dev.yml run --rm web /root/

Results in this fatal error:

Obtaining file:///var/local/ralph (from -r /var/local/ralph/requirements/test.txt (line 1))
Complete output from command python egg_info:
fatal: No annotated tags can describe ‘1ed7c076e5d8fe579ae5b9b9bfef913aa7b7f804’.
However, there were unannotated tags: try --tags.
Traceback (most recent call last):
File “”, line 1, in
File “/var/local/ralph/”, line 25, in
File “/var/local/ralph/”, line 19, in get_version
ver = subprocess.check_output([script], shell=True)
File “/usr/lib/python3.6/”, line 356, in check_output
File “/usr/lib/python3.6/”, line 438, in run
output=stdout, stderr=stderr)
subprocess.CalledProcessError: Command ‘[’/var/local/ralph/’]’ returned non-zero exit status 128.


Command “python egg_info” failed with error code 1 in /var/local/ralph/

I solved this error by creating a git annotated tag on my local forked repo:

git tag -a 20230926.1 -m "Updated changelog for 20230926.1 version."

I simply used the commit message from this tag