diff --git a/awx/main/tasks/jobs.py b/awx/main/tasks/jobs.py index 80414390f8..e6f6a893f1 100644 --- a/awx/main/tasks/jobs.py +++ b/awx/main/tasks/jobs.py @@ -1682,7 +1682,7 @@ class RunProjectUpdate(BaseTask): return params def build_credentials_list(self, project_update): - if project_update.scm_type == 'insights' and project_update.credential: + if project_update.credential: return [project_update.credential] return [] diff --git a/pyproject.toml b/pyproject.toml index 3cb6dcf2bb..4697861719 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,5 +1,5 @@ [build-system] -requires = ["setuptools>=45", "setuptools_scm[toml]>=6.2"] +requires = ["setuptools>=45", "setuptools_scm[toml]>=6.2,<10"] build-backend = "setuptools.build_meta" # Do not uncomment the line below. We need to be able to override the version via a file, and this