Skip to content

Add Python>3.9 dependency  #80

@cleong110

Description

@cleong110

#79 a side discussion here showed that it is currently possible to install pose-format into a python 3.7 environment. However pose-format uses a feature implemented in Python 3.9, the str.removesuffix() function. https://www.geeksforgeeks.org/python-string-removesuffix/

Therefore it would be nice if we could add a dependency check to prevent such installs from happening.

Had a look at https://packaging.python.org/en/latest/guides/writing-pyproject-toml/#dependencies-and-requirements and I guess we'd need a line along the lines of this?

[project]
requires-python = ">= 3.9"

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