A typo was introduced here:
$ source <venv_path>/bin/activate # Optional (might be slightly different based on >>>>> the <<<<< your shell)
And the -i option does not seem to be valid anymore here:
$ buildscripts/poetry_sync.sh -i