How does PyCharm determine the version number to display in package list?

I have a package that I am maintaining a fork for, in my requirements.txt file I have the package defined as:

-e git+<my_user>/<third_party_package>.git@<my_branch>#egg=<third_party_package

The issue is that PyCharm does not see my branch version, instead it refers to it as `0.0.0.post78+759795b`

I've tried installing the original package from pypi and this shows the correct version, but my fork is referenced incorrectly. I tried updating the packages pyproject.toml file (the only place in the entire project I could see any references to 0.0.0) but no luck

Where does PyCharm get this version reference from?