]> git.ipfire.org Git - thirdparty/knot-dns.git/commitdiff
knot_exporter: add maximum libknot dependency version to ensure library consistency
authorDaniel Salzman <daniel.salzman@nic.cz>
Sat, 26 Apr 2025 19:27:04 +0000 (21:27 +0200)
committerDaniel Salzman <daniel.salzman@nic.cz>
Tue, 29 Apr 2025 13:52:39 +0000 (15:52 +0200)
fixes #956

python/knot_exporter/pyproject.toml.in
python/knot_exporter/setup.py.in

index 42b426b3cce9924c5f4afa908cf59108aae6d1bb..f25fa84ebe3fd0d7a935c9b477c266094dae2bc8 100644 (file)
@@ -22,7 +22,7 @@ classifiers = [
     "Topic :: System :: Systems Administration",
 ]
 dependencies = [
-    "libknot",
+    "libknot<@KNOT_VERSION_MAJOR@.@KNOT_VERSION_MINOR@.99",
     "prometheus-client",
     "psutil",
 ]
index e6b60cc5d33cba9cd0a7bdeb65f2140e935b8de6..70cb91c5eac0754cac0aaf715754fce22e51bc68 100644 (file)
@@ -26,7 +26,7 @@ setuptools.setup(
     ],
     python_requires='>=3.5',
     install_requires=[
-        'libknot',
+        'libknot<@KNOT_VERSION_MAJOR@.@KNOT_VERSION_MINOR@.99',
         'prometheus-client',
         'psutil',
     ],