Skip to content

Suggestion: adding python_requires=">=3.10, <4" in setup.py #8

Open
@sven-nm

Description

@sven-nm

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

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions