Unable to build RPM in packages in Developer tooling framework


I’m getting an error while building RPM from packages of tooling framework.
I have certain changes applied to source-code of ias package and added the patch-set names in series file and used “make autospecnogit” command to build the rpm but i’m facing a syntax issue in buildreq.py and autospec.py in projects directory of framework.
I used 4.0.18-68 source-code for ias package. Python version in clearlinux is 3.7.2. Clearlinux os version is 28100.
Attached the error below.

Traceback (most recent call last):
File “…/…/projects/autospec/autospec/autospec.py”, line 28, in
import buildreq
File “/home/clrlinux/clearlinux/projects/autospec/autospec/buildreq.py”, line 333
if (requires := self.requires.get(subpkg)) is None:
SyntaxError: invalid syntax
make[1]: *** […/common/Makefile.common:166: autospec] Error 1
make[1]: Leaving directory ‘/home/clrlinux/clearlinux/packages/ias’
make: *** […/common/Makefile.common:205: autospecnogit] Error 2

Thanks in advance!

You should update.

that is a custom requirement so we are using 28100 version