{"id":26222254,"url":"https://github.com/walles/bazel-test","last_synced_at":"2026-04-29T05:38:46.088Z","repository":{"id":149403315,"uuid":"138217422","full_name":"walles/bazel-test","owner":"walles","description":"Testing out Bazel for building px","archived":false,"fork":false,"pushed_at":"2019-01-23T14:44:55.000Z","size":8,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-12-28T22:57:39.748Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/walles.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2018-06-21T20:16:58.000Z","updated_at":"2019-01-23T14:44:56.000Z","dependencies_parsed_at":null,"dependency_job_id":"2e222f74-d9de-48b8-b47b-54b7d5314092","html_url":"https://github.com/walles/bazel-test","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/walles/bazel-test","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/walles%2Fbazel-test","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/walles%2Fbazel-test/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/walles%2Fbazel-test/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/walles%2Fbazel-test/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/walles","download_url":"https://codeload.github.com/walles/bazel-test/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/walles%2Fbazel-test/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32412890,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-29T05:20:56.964Z","status":"ssl_error","status_checked_at":"2026-04-29T05:19:54.749Z","response_time":110,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2025-03-12T16:51:39.749Z","updated_at":"2026-04-29T05:38:46.083Z","avatar_url":"https://github.com/walles.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"Developed on bazel 0.14.\n\n## Inspiration\n* https://il.pycon.org/2016/static/sessions/benjamin-peterson.pdf\n* https://github.com/bazelbuild/rules_python#experimental-bazel-python-rules\n\n# Instructions\n* Test and build using `./ci.sh`\n\n# TODO\n* Figure out how to generate a `py2.py3` `.whl` file\n* Verify `px --version` output on both Python 2 and Python 3\n* Make Bazel run `shellcheck` on all shell scripts\n* Make Bazel run `flake8` on all Python code, both in Python 2 and Python 3 mode\n* Make Bazel run `mypy` on all Python code, both in Python 2 and Python 3 mode\n* Make Bazel run `installtest.sh`\n* Make Bazel verify the shebang of the generated executable zip file\n* Make Bazel verify there are no `.so` file in the generated executable zip file\n* Make Bazel test run `px`, `px $SOMEPID`, `px --version`\n* Verify we haven't forgotten any validation we're already doing in `px`\n* Switch [`px`](https://github.com/walles/px) to use bazel\n* Create a unit test with `py.test`, make sure bazel runs that\n* Make sure test runs generate coverage data\n* Figure out how to get `bazel build` to build our stuff (without having to do\n  `bazel build bin`)\n* Improve naming in the WORKSPACE and BUILD files\n\n## DONE\n* Move sources into their own directory\n* Add a `requirements.txt` and make sure our code depends on that\n* Put tests in one directory and code in the other\n* Figure out how to turn everything into a pex-like zip file\n* Figure out how to test with both Python 2 and Python 3\n* Add flag `--test_output=errors` to get test output on errors\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwalles%2Fbazel-test","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwalles%2Fbazel-test","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwalles%2Fbazel-test/lists"}