Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Blackduck test fails #80

Closed
randomir opened this issue Jul 9, 2020 · 0 comments · Fixed by #81
Closed

Blackduck test fails #80

randomir opened this issue Jul 9, 2020 · 0 comments · Fixed by #81

Comments

@randomir
Copy link
Member

randomir commented Jul 9, 2020

Seemingly "pip inspector" is now deprecated, and obviously not working with the latest pip (internals changes). From latest nightly run:

...
2020-07-09 00:05:57 WARN  [main] --- ------------------------------------------------------------------------------------------------------
2020-07-09 00:05:57 WARN  [main] --- The Pip inspector has been deprecated. Please use pipenv and the Pipenv Graph inspector in the future.
2020-07-09 00:05:57 WARN  [main] --- ------------------------------------------------------------------------------------------------------
...
2020-07-09 00:05:59 INFO  [main] --- ------------------------------------------------------------------------------------------------------
2020-07-09 00:05:59 INFO  [main] --- Starting extraction: PIP - Pip Inspector
2020-07-09 00:05:59 INFO  [main] --- Identifier: PIP-0
2020-07-09 00:05:59 INFO  [main] --- requirementFilePath: 
2020-07-09 00:05:59 INFO  [main] --- setupFile: /home/circleci/repo/setup.py
2020-07-09 00:05:59 INFO  [main] --- pipInspector: /home/circleci/blackduck/runs/2020-07-09-00-05-54-149/shared/pip/pip-inspector.py
2020-07-09 00:05:59 INFO  [main] --- pythonExe: /home/circleci/repo/env/bin/python
2020-07-09 00:05:59 INFO  [main] --- ------------------------------------------------------------------------------------------------------
2020-07-09 00:05:59 INFO  [main] --- Running executable >/home/circleci/repo/env/bin/python /home/circleci/repo/setup.py --name
2020-07-09 00:05:59 INFO  [main-Executable_Stream_Thread] --- dwave-ocean-sdk
2020-07-09 00:05:59 INFO  [main] --- Executable finished: 0
2020-07-09 00:05:59 INFO  [main] --- Running executable >/home/circleci/repo/env/bin/python /home/circleci/blackduck/runs/2020-07-09-00-05-54-149/shared/pip/pip-inspector.py --projectname=dwave-ocean-sdk
2020-07-09 00:06:00 INFO  [main-Executable_Stream_Thread] --- Traceback (most recent call last):
2020-07-09 00:06:00 INFO  [main-Executable_Stream_Thread] ---   File "/home/circleci/blackduck/runs/2020-07-09-00-05-54-149/shared/pip/pip-inspector.py", line 33, in <module>
2020-07-09 00:06:00 INFO  [main-Executable_Stream_Thread] ---     from pip._internal.download import PipSession
2020-07-09 00:06:00 INFO  [main-Executable_Stream_Thread] --- ModuleNotFoundError: No module named 'pip._internal.download'
2020-07-09 00:06:00 INFO  [main] --- Executable finished: 1
2020-07-09 00:06:00 INFO  [main] --- ------------------------------------------------------------------------------------------------------
2020-07-09 00:06:00 INFO  [main] --- Finished extraction: FAILURE
2020-07-09 00:06:00 INFO  [main] --- Code locations found: 0
2020-07-09 00:06:00 INFO  [main] --- The Pip Inspector tree parser failed to produce output
2020-07-09 00:06:00 INFO  [main] --- ------------------------------------------------------------------------------------------------------
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant