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

Fix pip not installing dependencies for bfg #750

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from

Conversation

Sirozha1337
Copy link
Contributor

In the docs for Bfg, it says:

pip: Install python modules with pip install --user before the test. If you need multiple modules use multiline options

So, the yaml config like this should work:

bfg:
  pip: >
      dep1

      dep2

But when you specify dependencies in .yaml file, pip is throwing this exception:

AttributeError: 'thread._local' object has no attribute 'indentation'

Upgrading pip doesn't help as pip.main is not available in the recent versions. In the pip docs, they encourage you to use subprocess, so I've changed pip.main to subprocess.check_call and now it works.

When you specify dependencies in .yaml file, pip is throwing this exception: AttributeError: 'thread._local' object has no attribute 'indentation'
Also pip.main is not available on the recent versions of pip
@fomars
Copy link
Contributor

fomars commented Jun 5, 2019

@f2nd подтверди плиз

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 this pull request may close these issues.

None yet

2 participants