rules_pygen
rules_pygen copied to clipboard
Rules for generating native Bazel Python libraries from requirements.txt
We do an airgapped build where the CI server has no internet access. We check in the whl files into SCM. When specifying a `requirements.txt` with local file references the...
[pip_install](https://github.com/bazelbuild/rules_python#importing-pip-dependencies)
#### Description I can see for [this line in the source](https://github.com/tubular/rules_pygen/blob/master/src/rules_pygen/rules_generator.py#L82) that you're aware of the problem of handling packages that provide only a `.tar.gz`. I just ran into this...
Thanks for making and sharing these rules ❤️ I've tried to follow the directions, but I'm having trouble with numpy, and I wonder if I missed something in the setup....
Ran this within our Bazel repo and it failed at the following place: https://github.com/tubular/rules_pygen/blob/bdbf28f4bc9fe52010e28fd8d1cc919fdf569dda/src/rules_pygen/rules_generator.py#L364. The error message was saying `Failed to build wheel X` for a number of packages listed...
Sometimes, a package is not packaged correctly upstream. Then, when we install it under the bazel environment, the package cannot be found when we run our code. We want the...