Open
Description
For now python 3.10 is only a classifier in setup.py
, I would suggest adding python_requires=">=3.10, <4"
as the code breaks on 3.9 where |
where not tolerated on typesettings.
(Here's an error I bumped into on 3.9)
from hipe_commons.helpers.tsv import tsv_to_dict
File "/scratch/sven/anaconda3/envs/ajmc/lib/python3.9/site-packages/hipe_commons/helpers/tsv.py", line 255, in <module>
def lines2entity(tsv_lines: List[TSVLine | TSVLine_v2], entity_type: str, hipe_format_version="v1") -> HipeEntity:
TypeError: unsupported operand type(s) for |: '_UnionGenericAlias' and '_UnionGenericAlias'
Metadata
Metadata
Assignees
Labels
No labels