From 34ca048d4b1bdc78945f9e98d65854dded273ad0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mart=C3=AD=20Bol=C3=ADvar?= Date: Tue, 22 Oct 2019 16:14:11 -0700 Subject: [PATCH] scripts: use compatible release specifiers in requirements.txt MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Using exact versions for our PyPI dependencies (i.e. requirements.txt lines that look like "dependency==X.Y.Z") is rude since we're asking users to install these dependencies outside of any virtual environment. This causes conflicts with other packages which may depend on the same things as us. Use inclusive ordered comparison (>=) release specifiers instead: https://www.python.org/dev/peps/pep-0440/#inclusive-ordered-comparison If this causes problems for individual packages, we can refine them using compatible release specifiers (~=): https://www.python.org/dev/peps/pep-0440/#compatible-release Signed-off-by: Martí Bolívar --- scripts/requirements.txt | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/scripts/requirements.txt b/scripts/requirements.txt index 16554078f52..bfba4c13ecd 100644 --- a/scripts/requirements.txt +++ b/scripts/requirements.txt @@ -1,25 +1,25 @@ Pillow PyYAML>=3.13 -breathe==4.9.1 +breathe>=4.9.1 colorama -docutils==0.14 +docutils>=0.14 gcovr -git-spindle==2.0 +git-spindle>=2.0 gitlint intelhex junit2html packaging -ply==3.10 -pyelftools==0.24 +ply>=3.10 +pyelftools>=0.24 pykwalify -pyocd==0.21.0 +pyocd>=0.21.0 pyserial pytest -sphinx==1.7.5 +sphinx>=1.7.5 sphinx_rtd_theme sphinx-tabs sphinxcontrib-svg2pdfconverter west>=0.6.2 -wheel==0.30.0 +wheel>=0.30.0 # "win32" is used for 64-bit Windows as well windows-curses; sys_platform == "win32"