2021.4.1 #11
@ -92,11 +92,11 @@ class InstallService(CommandABC):
|
|||||||
if '==' in dependency:
|
if '==' in dependency:
|
||||||
dependency_version = dependency.split('==')[1]
|
dependency_version = dependency.split('==')[1]
|
||||||
|
|
||||||
|
if package in dependency:
|
||||||
if version.parse(package_version) != version.parse(dependency_version):
|
if version.parse(package_version) != version.parse(dependency_version):
|
||||||
to_remove_list.append(dependency)
|
to_remove_list.append(dependency)
|
||||||
break
|
break
|
||||||
|
else:
|
||||||
if package in dependency:
|
|
||||||
is_already_in_project = True
|
is_already_in_project = True
|
||||||
|
|
||||||
for to_remove in to_remove_list:
|
for to_remove in to_remove_list:
|
||||||
|
Loading…
Reference in New Issue
Block a user