Python 3.14 implements deferred evaluation of type annotations. It also imposes some new syntax restrictions on type annotations. In particular, it doesn't allow walrus operators or await keywords in ...
Python 3.9 will go end-of-life next week so Python 3.6 is far behind in the rearview mirror. If is impossible to upgrade your build platform then it is known to be insecure.