statelyai / xstate-python

XState for Python
MIT License
177 stars 18 forks source link

Compatibility with older python versions #23

Closed Aluriak closed 3 years ago

Aluriak commented 3 years ago

Hi !

The use of from __future__ import annotations, and subsequent postponed annotations, prevents xstate to be used with version 3.6 of python, despite being still officially supported.

Can you ensure the compatibility with that version ?

JovaniPink commented 3 years ago

Hi Aluriak,

You are correct 3.6 is still supported and that using postponed annotations is 3.7+ pep-0563.

I'll work on a solution. Cheers.