diff --git a/python/knot_exporter/pyproject.toml.in b/python/knot_exporter/pyproject.toml.in index 42b426b3c..f25fa84eb 100644 --- a/python/knot_exporter/pyproject.toml.in +++ b/python/knot_exporter/pyproject.toml.in @@ -22,7 +22,7 @@ classifiers = [ "Topic :: System :: Systems Administration", ] dependencies = [ - "libknot", + "libknot<@KNOT_VERSION_MAJOR@.@KNOT_VERSION_MINOR@.99", "prometheus-client", "psutil", ] diff --git a/python/knot_exporter/setup.py.in b/python/knot_exporter/setup.py.in index e6b60cc5d..70cb91c5e 100644 --- a/python/knot_exporter/setup.py.in +++ b/python/knot_exporter/setup.py.in @@ -26,7 +26,7 @@ setuptools.setup( ], python_requires='>=3.5', install_requires=[ - 'libknot', + 'libknot<@KNOT_VERSION_MAJOR@.@KNOT_VERSION_MINOR@.99', 'prometheus-client', 'psutil', ],