This
|
prx_metadata["prx_git_commit_id"] = git.Repo( |
only works if prx has been cloned with git, not if it has been imported e.g. with poetry as
[tool.poetry.dev-dependencies]
...
prx = { git = "https://github.com/jtec/prx.git", rev = "ee12f3f5e6e9e2366868e06890df4c398a3dbcb7" }
in which case we will see a commit ID of the importing project.