-
-
Notifications
You must be signed in to change notification settings - Fork 44
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
Error with rules_python-0.13.0 #69
Comments
you can add this after loading the repo: pip_parse(
name = "mypy_integration_pip_deps",
python_interpreter_target = python_interpreter,
requirements_lock = "//path/to/local/lock_file/mypy:requirements3.lock.txt",
)
load("@mypy_integration_pip_deps//:requirements.bzl", install_deps_mypy="install_deps")
install_deps_mypy() |
Works great, thanks! Only additional step that was missing was adding additional dependencies of mypy, e.g.,
to the requirements lock file (I was only using |
We've got a couple open PRs now that are upgrading the Python rules, so I'm going to close this in favor of those: |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Upgrading to
rules_python-0.13.0
results inwhich is likely due to bazelbuild/rules_python#807 which suggest to change to
pip_parse
instead ofpip_install
.The text was updated successfully, but these errors were encountered: