From 5981664b25eeaa693463811b62837d479230fb21 Mon Sep 17 00:00:00 2001 From: Jan Kiszka Date: Wed, 24 Feb 2021 09:01:08 +0100 Subject: [PATCH] setup: Set upper version limit for dependencies Let's avoid that any of our dependencies decides to break interfaces that we use and that users run into surprises. As a safe bet, limit us to the currently know-to-work major versions. Closes #34 Signed-off-by: Jan Kiszka --- setup.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/setup.py b/setup.py index bcf7bc3..4584333 100644 --- a/setup.py +++ b/setup.py @@ -85,9 +85,9 @@ setup( }, install_requires=[ - 'PyYAML>=3.0', - 'distro>=1.0.0', - 'jsonschema>=2.5.0', + 'PyYAML>=3.0,<6', + 'distro>=1.0.0,<2', + 'jsonschema>=2.5.0,<4', ], # At least python 3.5 is needed by now for PyYAML: