["//:__subpackages__"], ) # Reexport of all bzl files used to allow downstream rules to generate docs # without shipping with a dependency on Skylib filegroup( name = "bzl", srcs = [ "//python/pip_install:bzl", "//python:bzl", # Requires Bazel 0.29 onward for public visibility ...
gh repo fork bazelbuild/rules_python --clone --remote Next, make sure you have a new enough version of Python installed that supports the various code formatters and other devtools. For a quick start, install pyenv and at least Python 3.9.15: curl https://pyenv.run | bash pyenv install...
aimo-ctools/bazel_rules_python 加入Gitee 与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :) 免费加入 已有帐号?立即登录 master 克隆/下载 git config --global user.name userName git config --global user.email userEmail
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive") http_archive( name = "rules_python_gazelle_plugin", sha256 = "690e0141724abb568267e003c7b6d9a54925df40c275a870a4d934161dc9dd53", strip_prefix = "rules_python-0.40.0/gazelle", url = "https://github.com/bazelbu...
BCR config for rules_python and rules_python_gazelle_plugin 0.39.0 This is #3171, but with presubmit changes to remove Bazel 6 from the test matrix.
Neither Google, nor the Bazel team, provides support for the code. However, this repository is part of the test suite used to vet new Bazel releases. See the How to contribute page for information on our development workflow. Getting started To import rules_python in your project, you first...
pytest support in rules_python is not provided out of the box, see bazelbuild/rules_python#240 and bazelbuild/rules_python#464. Progress on the feature request seems to have stagnated so I've gone ahead and put at least something in the public domain until rules_python offers it. Features...
bazel_dep(name="rules_python",version="0.37.0")pip=use_extension("@rules_python//python/extensions:pip.bzl","pip")pip.parse(hub_name="pip",python_version="3.11",requirements_lock="//:requirements_lock.txt", )use_repo(pip,"pip") ...
2 changes: 1 addition & 1 deletion 2 ...n/pip_install/extract_wheels/lib/bazel.py → python/pip_install/extract_wheels/bazel.py Original file line numberDiff line numberDiff line change @@ -6,7 +6,7 @@ from pathlib import Path from typing import Dict, Iterable, List, Optional, Set...
aspect_rules_py is a layer on top of rules_python, the standard Python ruleset hosted at https://github.com/bazelbuild/rules_python. The lower layer of rules_python is currently reused, dealing with the toolchain and dependencies. However, this ruleset introduces a new implementation of py_li...