[1.21.1] unable to build from tar.gz file
The build fails with:
LookupError: setuptools-scm was unable to detect version for /builddir/build/BUILD/rsconnect-python-1.21.0.
Make sure you're either building from a fully intact git repository or PyPI tarballs. Most other sources (such as GitHub's tarballs, a git checkout without the .git folder) don't contain the necessary metadata and will not work.
For example, if you're using pip, instead of https://github.com/user/proj/archive/master.zip use git+https://github.com/user/proj.git#egg=proj
But an source package on PyPI don't exists.
An possible solution will be using of "fallback_version" in the release tar ball: https://setuptools-scm.readthedocs.io/en/latest/config/