FBruzzesi / iso-week-date

Toolkit to work with str representing ISO Week date format
https://fbruzzesi.github.io/iso-week-date/
MIT License
6 stars 0 forks source link

Proper version checking #73

Closed FBruzzesi closed 6 months ago

FBruzzesi commented 6 months ago

Description

Currently checking for extra libraries (i.e. pandas, polars, and pydantic) is only done as

try:
    import module_name
except ImportError:
    raise ...

however, the module could be available but the version not satisfy the min requirement if not installed with iso-week-date directly.

We need a better way of checking available version(s).