File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change 218218 # Unfortunately this is the smartest way of getting the latest available package version with pip as of now
219219 # Note: we DO need to repeat ourselves with "from version" in both grep and sed as on some systems pip returns
220220 # more than one line with paretheses.
221- $latest_version = join([
221+ $latest_version = join(
222+ [
222223 " ${pip_install} ${legacy_resolver} ${pypi_index} ${pypi_extra_index} ${proxy_flag} " ,
223224 " ${install_args} ${install_editable} '${real_pkgname} ==9!0dev0+x' 2>&1" ,
224225 " | sed -nE 's/.*\\ (from versions: (.*, )*(.*)\\ )/\\ 2/p'" ,
225226 ' | tr -d "[:space:]"' ,
226- ])
227+ ],
228+ )
227229
228230 # Packages with underscores in their names are listed with dashes in their place in `pip freeze` output
229231 $pkgname_with_dashes = regsubst($real_pkgname , ' _' , ' -' , ' G' )
You can’t perform that action at this time.
0 commit comments