Closed Carreau closed 1 year ago
Thanks for reporting this. I guess the suggested alternative would be to depend on packaging
... I will think about what to do, I might recode some small logic here instead of adding a non-standard-library dependency.
Fixed in 0.7.0.
Since setuptools https://setuptools.pypa.io/en/latest/history.html#v59-6-0 it emits a deprecation warning.
https://github.com/albertosottile/darkdetect/blob/6556925d9f7f53cc41b71718080500aeca95aa17/darkdetect/__init__.py#L13-L14
This means that dependees that turn warnings into error will fail (for example in CI).
This can be worked around with a warning filter , for example:
It looks like you may not want dependencies, so I'm not if and how you wish to fix it.