Open martinholmer opened 1 month ago
The following line 6 does not work under Python 3.9 because the | notation for Union was introduced into Python typing beginning with Python 3.10.
|
Union
typing
https://github.com/PolicyEngine/policyengine-core/blob/47f5bdf953d8c6776f9af1f3859864c12ebbf36f/policyengine_core/types/data_types/arrays.py#L1-L6
I suggest revising setup.py to require Python 3.10, 3.11, or 3.12.
setup.py
Fix UK policy calculator failing
The following line 6 does not work under Python 3.9 because the
|
notation forUnion
was introduced into Pythontyping
beginning with Python 3.10.https://github.com/PolicyEngine/policyengine-core/blob/47f5bdf953d8c6776f9af1f3859864c12ebbf36f/policyengine_core/types/data_types/arrays.py#L1-L6
I suggest revising
setup.py
to require Python 3.10, 3.11, or 3.12.