Skip to content

Commit 71a2d4b

Browse files
committed
scripts: requirements: Gate pygit2 and editdistance
The current releases of pygit2 and editdistance do not support Python 3.8, and so make the default installation instructions fail, since chocolatey now pulls Python 3.8 by default. Remove these dependencies for 3.8 until pygit2 has released 1.0.0, and edidistance whatever the new version is which will add compatibility for Python 3.8. This will cause the ncs-loot and ncs-compare west extensions not to work on Python 3.8, but that can be easily fixed by the user later by installing pygit2 and editdistance manually if they indeed wish to. Signed-off-by: Carles Cufi <[email protected]>
1 parent 023dbb3 commit 71a2d4b

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

scripts/requirements.txt

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,5 +3,7 @@ sphinxcontrib-mscgen>=0.5
33
ecdsa
44
intelhex
55
nrfutil
6-
pygit2>=0.26.0
7-
editdistance>=0.5.0
6+
# The following packages have not yet been rebuilt and published for
7+
# Python 3.8
8+
pygit2>=0.26.0;python_version<"3.8"
9+
editdistance>=0.5.0;python_version<"3.8"

0 commit comments

Comments
 (0)