diff options
author | bst-marge-bot <marge-bot@buildstream.build> | 2020-04-29 09:06:05 +0000 |
---|---|---|
committer | bst-marge-bot <marge-bot@buildstream.build> | 2020-04-29 09:06:05 +0000 |
commit | e70d77f997b7e94b4f7b8901fdec0973e2e9328c (patch) | |
tree | 5ebf22492da221cf0c606a56036cec39eb8ce450 /src/buildstream/plugins/elements/pip.py | |
parent | 82eb1d4271bb634f248bc9e1770119d2815d7cd6 (diff) | |
parent | 1339b0e56c5a685d5da0f617a0b6f205c03d1251 (diff) | |
download | buildstream-e70d77f997b7e94b4f7b8901fdec0973e2e9328c.tar.gz |
Merge branch 'tristan/plugin-versions-refactor' into 'master'
Plugin loading refactor, implement BST_MIN_VERSION
See merge request BuildStream/buildstream!1885
Diffstat (limited to 'src/buildstream/plugins/elements/pip.py')
-rw-r--r-- | src/buildstream/plugins/elements/pip.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/buildstream/plugins/elements/pip.py b/src/buildstream/plugins/elements/pip.py index 06e187b69..5f805f460 100644 --- a/src/buildstream/plugins/elements/pip.py +++ b/src/buildstream/plugins/elements/pip.py @@ -36,6 +36,10 @@ from buildstream import BuildElement, SandboxFlags # Element implementation for the 'pip' kind. class PipElement(BuildElement): + # pylint: disable=attribute-defined-outside-init + + BST_MIN_VERSION = "2.0" + # Enable command batching across prepare() and assemble() def configure_sandbox(self, sandbox): super().configure_sandbox(sandbox) |