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 <scott.little@windriver.com>
(cherry picked from commit 7bde482bcb)
Change-Id: Ibb700dadac300b4eb4c1c4cc58a29ff57767c26e
This commit is contained in:
Scott Little 2021-12-31 09:54:04 -05:00
parent 3005e1cc6b
commit 32f283894a
1 changed files with 3 additions and 1 deletions

View File

@ -1,2 +1,4 @@
more-itertools===5.0.0;python_version=='2.7' # Last version with official 2.7 support
pyparsing===2.4.7;python_version=='2.7'
pyparsing===2.4.7
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