Dogtag's Python code uses custom deprecation warning with logging.warning to notify users about deprecated features, e.g. https://github.com/dogtagpki/pki/blob/14ece271f28f16a1583819cddc43c02b6acf817e/base/common/python/pki/system.py#L252-L257 . These warnings tend to get lost in FreeIPA's logs unnoticed.
logging.warning
Instead of logging framework Dogtag should use standard Python stdlib features for deprecation warnings. The warnings module is the standard way to deprecate features. PR-CI should pick up the deprecations and notify FreeIPA early.
warnings.warn("message", category=DeprecationWarning, stacklevel=2)
Dogtag PKI is moving from Pagure issues to GitHub issues. This means that existing or new issues will be reported and tracked through Dogtag PKI's GitHub Issue tracker.
This issue has been cloned to GitHub and is available here: https://github.com/dogtagpki/pki/issues/3308
If you want to receive further updates on the issue, please navigate to the GitHub issue and click on Subscribe button.
Subscribe
Thank you for understanding, and we apologize for any inconvenience.
Metadata Update from @dmoluguw: - Issue close_status updated to: migrated - Issue status updated to: Closed (was: Open)
Log in to comment on this ticket.