Bump Miniforge patch number to the latest released

Fix the CondaPackageHelper to handle cases when conda spec is expressed with two `=` signs instead of a single one.
This commit is contained in:
romainx
2020-11-25 21:35:05 +01:00
parent 1d2581b4f8
commit 5f140e6972
2 changed files with 4 additions and 4 deletions

View File

@@ -93,11 +93,11 @@ class CondaPackageHelper:
# Since we only manage packages installed through conda here
dependencies = filter(lambda x: isinstance(x, str), dependencies)
packages_dict = dict()
for split in map(lambda x: x.split("=", 1), dependencies):
for split in map(lambda x: re.split("=?=", x), dependencies):
# default values
package = split[0]
version = set()
# cheking if it's a proper version by testing if the first char is a digit
# checking if it's a proper version by testing if the first char is a digit
if len(split) > 1:
if split[1][0].isdigit():
# package + version case