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
How should I run bazel tests ? #40
Comments
Hi, The package published on PyPI doesn't include tests nor bazel BUILD files. If you are interested in running tests, you can clone the repo then run git clone git@github.com:abseil/abseil-py.git
cd abseil-py
bazel test absl/... I'll update the README.md files so it's more clear. |
Any reason why this is excluded from pypi release ? |
We don't want to pollute the PyPI library with the tests, since they are not part of the API we provide. Plus, the tests require |
Fair enough, but distributions integrating absl could be interested in running the testsuite (my case) |
Right now our tests aren't structured to be run without I think it's technically possible to run at least some of the tests without |
It's fine to run them through bazel, this is only required to build the original package and provide a proof that the code it's working fine. It won't be required when installing the binary package (exactly the same as Sphinx and various "heavy" documentation system). |
git-tags are indeed useful. We'd like to create tags named like We want to emphasize that these are for mapping PyPI releases only, and de-emphasize the concept of versions for users who directly depend on source code. Hence the prefix |
A git-tag is created for the latest PyPI release. Future releases will also include such tags. |
rpm packaging is done within a VM without internet access. When I try testing with bazel, it attempts to fetch lots of packages from the internet. Is there any way to use bazel without internet ? Pre-fetching all of the dependencies and including them in the rpm SOURCES? |
Hi John,
Please open a separate issue to discuss that
… |
Hi there,
I added the WORKSPACE file from GitHub into the package published on pypi, but when I run
It says:
Thanks
The text was updated successfully, but these errors were encountered: