From 7bde482bcbee0d740446d7484a59d312e73e769b Mon Sep 17 00:00:00 2001 From: Scott Little Date: Fri, 31 Dec 2021 09:54:04 -0500 Subject: [PATCH] Lock platformdirs to version 2.4.0 to retain python 2.7 support Platformdirs was upgraded to 2.4.1 from 2.4.0 over the holidays, and this breaks our build that requires python 2.7 compatibility. We'll stay with 2.4.0 which has worked for StarlingX for some time, rather than reverting to 2.0.2 which was the last with official python 2.7 support. Closes-Bug: 1956054 Signed-off-by: Scott Little Change-Id: I303429a744f4addf639f1ab88f03a06b52bc7144 --- toCOPY/builder-constraints.txt | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/toCOPY/builder-constraints.txt b/toCOPY/builder-constraints.txt index eaf5a0b8..15d78701 100644 --- a/toCOPY/builder-constraints.txt +++ b/toCOPY/builder-constraints.txt @@ -1,3 +1,5 @@ more-itertools===5.0.0;python_version=='2.7' # Last version with official 2.7 support pyparsing===2.4.7 -filelock===3.4.0 # Last version with official support was 3.2.1, but 3.4.0 is known to work +filelock===3.4.0 # Last version with official py2.7 support was 3.2.1, but 3.4.0 is known to work +platformdirs===2.4.0 # Last version with official py2.7 support was 2.0.2, but 2.4.0 is known to work +