fosslight-dependency 4.1.10__py3-none-any.whl → 4.1.11__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- fosslight_dependency/package_manager/Pypi.py +4 -4
- {fosslight_dependency-4.1.10.dist-info → fosslight_dependency-4.1.11.dist-info}/METADATA +1 -1
- {fosslight_dependency-4.1.10.dist-info → fosslight_dependency-4.1.11.dist-info}/RECORD +10 -10
- {fosslight_dependency-4.1.10.dist-info → fosslight_dependency-4.1.11.dist-info}/Apache-2.0.txt +0 -0
- {fosslight_dependency-4.1.10.dist-info → fosslight_dependency-4.1.11.dist-info}/LICENSE +0 -0
- {fosslight_dependency-4.1.10.dist-info → fosslight_dependency-4.1.11.dist-info}/LicenseRef-3rd_party_licenses.txt +0 -0
- {fosslight_dependency-4.1.10.dist-info → fosslight_dependency-4.1.11.dist-info}/MIT.txt +0 -0
- {fosslight_dependency-4.1.10.dist-info → fosslight_dependency-4.1.11.dist-info}/WHEEL +0 -0
- {fosslight_dependency-4.1.10.dist-info → fosslight_dependency-4.1.11.dist-info}/entry_points.txt +0 -0
- {fosslight_dependency-4.1.10.dist-info → fosslight_dependency-4.1.11.dist-info}/top_level.txt +0 -0
@@ -129,7 +129,7 @@ class Pypi(PackageManager):
|
|
129
129
|
if cmd_ret.returncode != 0:
|
130
130
|
ret = False
|
131
131
|
err_msg = f"return code({cmd_ret.returncode})"
|
132
|
-
elif cmd_ret.stderr.decode('utf-8').
|
132
|
+
elif cmd_ret.stderr.decode('utf-8').strip().lower().startswith('error:'):
|
133
133
|
ret = False
|
134
134
|
err_msg = f"stderr msg({cmd_ret.stderr})"
|
135
135
|
except Exception as e:
|
@@ -137,7 +137,7 @@ class Pypi(PackageManager):
|
|
137
137
|
err_msg = e
|
138
138
|
finally:
|
139
139
|
try:
|
140
|
-
if self.platform != const.WINDOWS:
|
140
|
+
if (not ret) and (self.platform != const.WINDOWS):
|
141
141
|
ret = True
|
142
142
|
create_venv_cmd = f"virtualenv -p python3 {self.venv_tmp_dir}"
|
143
143
|
|
@@ -147,14 +147,14 @@ class Pypi(PackageManager):
|
|
147
147
|
if cmd_ret.returncode != 0:
|
148
148
|
ret = False
|
149
149
|
err_msg = f"return code({cmd_ret.returncode})"
|
150
|
-
elif cmd_ret.stderr.decode('utf-8').
|
150
|
+
elif cmd_ret.stderr.decode('utf-8').strip().lower().startswith('error:'):
|
151
151
|
ret = False
|
152
152
|
err_msg = f"stderr msg({cmd_ret.stderr})"
|
153
153
|
except Exception as e:
|
154
154
|
ret = False
|
155
155
|
err_msg = e
|
156
156
|
if ret:
|
157
|
-
logger.info(f"
|
157
|
+
logger.info(f"Created the temporary virtualenv({venv_path}).")
|
158
158
|
else:
|
159
159
|
logger.error(f"Failed to create virtualenv: {err_msg}")
|
160
160
|
|
@@ -20,16 +20,16 @@ fosslight_dependency/package_manager/Npm.py,sha256=EvXXJUJ3-4cyvGNQU2cXPGkOcOQPr
|
|
20
20
|
fosslight_dependency/package_manager/Nuget.py,sha256=x1SPdxwXS2Oyi1RnLasvJJL-IFJl45VI2CXt3wReW24,8884
|
21
21
|
fosslight_dependency/package_manager/Pnpm.py,sha256=LDKooFGQHui_Q5U7XqSJ8KcCPiLVndXf5oGKTJExh5w,7056
|
22
22
|
fosslight_dependency/package_manager/Pub.py,sha256=Rrz8_6wdrmMU6f3vbbuAwyMbODBauXNnBbI619OQgDk,10184
|
23
|
-
fosslight_dependency/package_manager/Pypi.py,sha256=
|
23
|
+
fosslight_dependency/package_manager/Pypi.py,sha256=LPeI7amFXKxhXMSRwiVaKfhHL_D7IGUy5j0F9HBoVmE,16709
|
24
24
|
fosslight_dependency/package_manager/Swift.py,sha256=8fdbdAXTNlp2NDoSqQXm48JGAg9UhxA91M1-NhHkT40,6752
|
25
25
|
fosslight_dependency/package_manager/Unity.py,sha256=n1006GZ6Qrk8wAdO6wla1Q-JD7Evin7REVj-HDeTARc,5142
|
26
26
|
fosslight_dependency/package_manager/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
27
|
-
fosslight_dependency-4.1.
|
28
|
-
fosslight_dependency-4.1.
|
29
|
-
fosslight_dependency-4.1.
|
30
|
-
fosslight_dependency-4.1.
|
31
|
-
fosslight_dependency-4.1.
|
32
|
-
fosslight_dependency-4.1.
|
33
|
-
fosslight_dependency-4.1.
|
34
|
-
fosslight_dependency-4.1.
|
35
|
-
fosslight_dependency-4.1.
|
27
|
+
fosslight_dependency-4.1.11.dist-info/Apache-2.0.txt,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
|
28
|
+
fosslight_dependency-4.1.11.dist-info/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
|
29
|
+
fosslight_dependency-4.1.11.dist-info/LicenseRef-3rd_party_licenses.txt,sha256=EcsFt7aE1rp3OXAdJgmXayfOZdpRdBMcmRnyoqWMCsw,95687
|
30
|
+
fosslight_dependency-4.1.11.dist-info/METADATA,sha256=JISBXkWlFao4FSg3zHDcER45_tvRIWHN_I0eAouymKw,5103
|
31
|
+
fosslight_dependency-4.1.11.dist-info/MIT.txt,sha256=9cx4CbArgByWvkoEZNqpzbpJgA9TUe2D62rMocQpgfs,1082
|
32
|
+
fosslight_dependency-4.1.11.dist-info/WHEEL,sha256=tZoeGjtWxWRfdplE7E3d45VPlLNQnvbKiYnx7gwAy8A,92
|
33
|
+
fosslight_dependency-4.1.11.dist-info/entry_points.txt,sha256=e1QZbnCrQvfbwe9L6PxXnkRZMhl-PSo0QyUes0dGjU8,91
|
34
|
+
fosslight_dependency-4.1.11.dist-info/top_level.txt,sha256=Jc0V7VcVCH0TEM8ksb8dwroTYz4AmRaQnlr3FB71Hcs,21
|
35
|
+
fosslight_dependency-4.1.11.dist-info/RECORD,,
|
{fosslight_dependency-4.1.10.dist-info → fosslight_dependency-4.1.11.dist-info}/Apache-2.0.txt
RENAMED
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
{fosslight_dependency-4.1.10.dist-info → fosslight_dependency-4.1.11.dist-info}/entry_points.txt
RENAMED
File without changes
|
{fosslight_dependency-4.1.10.dist-info → fosslight_dependency-4.1.11.dist-info}/top_level.txt
RENAMED
File without changes
|