mirror of
https://github.com/jupyter/docker-stacks.git
synced 2025-10-10 03:23:00 +00:00
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:
@@ -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
|
||||
|
Reference in New Issue
Block a user