File tree 3 files changed +7
-3
lines changed
Filter options
examples/legacy_pip_import 3 files changed +7
-3
lines changed
Original file line number Diff line number Diff line change 1
1
# LEGACY pip example
2
2
3
- This feature has been replaced by the pip_install rule, please see the latest release notes to migrate.
3
+ This feature has been replaced by the pip_install rule, please see the rules_python 0.1 release notes to migrate.
4
4
5
5
This shows how you can point Bazel at your requirements.txt file to get dependencies automatically installed.
6
6
Original file line number Diff line number Diff line change @@ -140,4 +140,4 @@ def pip3_import(**kwargs):
140
140
141
141
def pip_repositories ():
142
142
# buildifier: disable=print
143
- print ("DEPRECATED: the pip_import rule has been replaced with pip_install, please see release notes" )
143
+ print ("DEPRECATED: the pip_import rule has been replaced with pip_install, please see rules_python 0.1 release notes" )
Original file line number Diff line number Diff line change @@ -56,8 +56,12 @@ def pip_install(requirements, name = "pip", **kwargs):
56
56
** kwargs
57
57
)
58
58
59
+ def pip_repositories ():
60
+ # buildifier: disable=print
61
+ print ("DEPRECATED: the pip_repositories rule has been replaced with pip_install, please see rules_python 0.1 release notes" )
62
+
59
63
def pip_import (** kwargs ):
60
64
fail ("=" * 79 + """\n
61
- pip_import has been replaced with pip_install, please see the release notes.
65
+ pip_import has been replaced with pip_install, please see the rules_python 0.1 release notes.
62
66
To continue using it, you can load from "@rules_python//python/legacy_pip_import:pip.bzl"
63
67
""" )
You can’t perform that action at this time.
0 commit comments