Hello,
I think the problem is that the deprecation warning is
always going to
be shown during startup of SATOSA because it is part of a class that sub
classes enum.Enum and so it is evaluated during the module load:
ah, that's an oversight on my part.
It is not Enum that is causing a problem, it is those two lines:
*
https://github.com/IdentityPython/SATOSA/blob/0c9626633b214a60d85811d3f7121…
*
https://github.com/IdentityPython/SATOSA/blob/0c9626633b214a60d85811d3f7121…
Those provide backwards compatibility with previous versions; where
things were, how things behaved. The deprecation warning is triggered
when UserIdHashType is loaded for the first time; which happens
whenever the satosa.deprecated module is loaded the first time.
I will push some changes to address this soon.
--
Ivan c00kiemon5ter Kanakarakis >:3