Browse Source

Merge "Fix Editable Git install package name parsing"

changes/49/639649/1
Zuul 2 months ago
parent
commit
2428945c21
1 changed files with 2 additions and 1 deletions
  1. 2
    1
      roles/tox/library/tox_install_sibling_packages.py

+ 2
- 1
roles/tox/library/tox_install_sibling_packages.py View File

@@ -106,7 +106,8 @@ def get_installed_packages(tox_python):
106 106
     frozen_pkgs = subprocess.check_output(
107 107
         [tox_python, '-m', 'pip', '-qqq', 'freeze']
108 108
     )
109
-    return [x.split('==')[0] for x in frozen_pkgs.split('\n') if '==' in x]
109
+    return [x[x.find('(') + 1:].split('==')[0]
110
+            for x in frozen_pkgs.split('\n') if '==' in x]
110 111
 
111 112
 
112 113
 def write_new_constraints_file(constraints, packages):

Loading…
Cancel
Save