Closed pimzand closed 2 years ago
This is my first attempt after having upgraded from Fedora 35 to Fedora 36. Fedora 36 comes with python3-setuptools_scm-6.4.2-1.fc36.noarch Fedora 35 had python3-setuptools_scm-6.0.1-4.fc35.noarch
I can confirm this error message. My setuptools version is dev-python/setuptools_scm-6.4.1
The problem is caused by git, being run as root from setuptools_scm.
Git is failing when run as root when the git directory is owned by a non-root user.
To fix, run sudo git config --global --add safe.directory $PWD
Then continue with sudo pip install .
I currently can't install any change in my local git repo,