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 <jan.kiszka@siemens.com>
This commit is contained in:
Jan Kiszka 2021-02-24 09:01:08 +01:00
parent 6c5e77800c
commit 5981664b25

View File

@ -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: