fix: lock setuptools-scm version
This MR fixes the build errors in https://gitlab.com/gitlab-org/security-products/tests/python-pip/-/jobs/2622429924.
The setuptools-scm
7.0.1 version introduced a bug that broke builds. This was fixed in 7.0.2 and has been added to the requirements.txt file so that builds are less likely to break.