From e8a88ac520f74e9f3465cc8890c3fa3ee0f2843d Mon Sep 17 00:00:00 2001 From: Ross McFarland Date: Sat, 9 Sep 2023 14:46:55 -0700 Subject: [PATCH] Deprecate SpfDnsLookupProcessor --- CHANGELOG.md | 2 ++ octodns/processor/spf.py | 3 +++ 2 files changed, 5 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 2de5ae0..d4f01d0 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -17,6 +17,8 @@ configs. * SpfRecord is formally deprecated with an warning and will become a ValidationError in 2.x +* SpfDnsLookupProcessor is formally deprcated in favor of the version relocated + into https://github.com/octodns/octodns-spf and will be removed in 2.x #### Stuff diff --git a/octodns/processor/spf.py b/octodns/processor/spf.py index 6867a91..dee82ed 100644 --- a/octodns/processor/spf.py +++ b/octodns/processor/spf.py @@ -55,6 +55,9 @@ class SpfDnsLookupProcessor(BaseProcessor): def __init__(self, name): self.log.debug(f"SpfDnsLookupProcessor: {name}") + self.log.warning( + 'SpfDnsLookupProcessor is DEPRECATED in favor of the version relocated into octodns-spf and will be removed in 2.0' + ) super().__init__(name) def _get_spf_from_txt_values(