From dc9bd3f495ceed7aac97bd032699f575680fed56 Mon Sep 17 00:00:00 2001 From: Ross McFarland Date: Sat, 26 Oct 2024 16:43:36 -0700 Subject: [PATCH] Bump required octodns >= 1.5, address pending deprecations --- pyproject.toml | 3 +++ setup.py | 2 +- tests/config/unit.tests.yaml | 19 +------------------ 3 files changed, 5 insertions(+), 19 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index 7730903..9d3bd87 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -11,4 +11,7 @@ line_length=80 sections="FUTURE,STDLIB,THIRDPARTY,OCTODNS,FIRSTPARTY,LOCALFOLDER" [tool.pytest.ini_options] +filterwarnings = [ + 'error', +] pythonpath = "." diff --git a/setup.py b/setup.py index 587dfcb..4b50322 100755 --- a/setup.py +++ b/setup.py @@ -42,7 +42,7 @@ def version(): ), 'test': tests_require, }, - install_requires=('octodns>=0.9.14', 'requests>=2.27.0'), + install_requires=('octodns>=1.5.0', 'requests>=2.27.0'), license='MIT', long_description=long_description, long_description_content_type='text/markdown', diff --git a/tests/config/unit.tests.yaml b/tests/config/unit.tests.yaml index fdd0296..c0a2307 100644 --- a/tests/config/unit.tests.yaml +++ b/tests/config/unit.tests.yaml @@ -1,19 +1,6 @@ --- ? '' -: - geo: - AF: - - 2.2.3.4 - - 2.2.3.5 - AS-JP: - - 3.2.3.4 - - 3.2.3.5 - NA-US: - - 4.2.3.4 - - 4.2.3.5 - NA-US-CA: - - 5.2.3.4 - - 5.2.3.5 - ttl: 300 +: - ttl: 300 type: A values: - 1.2.3.4 @@ -155,10 +142,6 @@ ptr: ttl: 300 type: PTR values: [foo.bar.com.] -spf: - ttl: 600 - type: SPF - value: v=spf1 ip4:192.168.0.1/16-all sub: type: 'NS' values: