dado93 / pywearable

Python package for extraction, visualization, and analysis of physiological data collected through wearable sensors.
https://pywearable.readthedocs.io/en/latest/
MIT License
7 stars 1 forks source link

Union types as X | Y cause dependency errors when using python 3.9 #56

Closed Vaeliss closed 12 months ago

Vaeliss commented 1 year ago

Writing union types as X | Y is supported only from python 3.10, but setup currently requires only python 3.9. Furthermore, using versions >= 3.10 encounter errors with pyhrv dependencies (tkinter).

The easiest solution would be to avoid using the syntax X | Y in the function description. The only case where this is used for now is in the module pywearable.loader.labfront.loader.