{"id":27298,"library":"pytest-bazel","title":"pytest-bazel","description":"A pytest plugin that collects and runs tests in Bazel workspaces. Currently at version 0.1.6 with no active maintenance; last release was in 2020. Works by integrating pytest with Bazel's test runner, enabling parallel execution and caching. Suitable for Python projects using Bazel as their build system.","status":"deprecated","version":"0.1.6","language":"python","source_language":"en","source_url":"https://github.com/aignas/pytest-bazel.git","tags":["pytest","bazel","testing"],"install":[{"cmd":"pip install pytest-bazel","lang":"bash","label":"Install via pip"}],"dependencies":[{"reason":"Required as the testing framework","package":"pytest","optional":false}],"imports":[{"note":"Do not import directly; plugin is auto-discovered when installed.","wrong":"import pytest_bazel","symbol":"pytest_bazel","correct":"pytest_bazel is a plugin; no direct import needed. Use `--bazel` flag with pytest."}],"quickstart":{"code":"# Ensure pytest-bazel is installed\n# Add to BUILD file or run:\npytest --bazel --bazel-python=$(which python) tests/\n","lang":"python","description":"Run pytest with Bazel support."},"warnings":[{"fix":"Switch to `rules_python` integration with native pytest support, or use `pip install bazel_pytest` for an alternative.","message":"pytest-bazel is no longer actively maintained. Consider migrating to `rules_python` or `bazel_pytest`.","severity":"deprecated","affected_versions":"all"},{"fix":"Ensure Bazel is installed and available in your shell environment.","message":"The plugin requires that Bazel and Python are on PATH. Misconfiguration may lead to 'Bazel not found' errors.","severity":"gotcha","affected_versions":"all"}],"env_vars":null,"search_vec":"'0.1.6':18 '2020':27 'activ':21 'bazel':3,13,33,47,53 'build':50 'cach':41 'collect':8 'current':15 'enabl':37 'execut':39 'integr':30 'last':23 'mainten':22 'parallel':38 'plugin':6 'project':45 'pytest':2,5,31,52 'pytest-bazel':1 'python':44 'releas':24 'run':10 'runner':36 'suitabl':42 'system':51 'test':11,35,54 'use':46 'version':17 'work':28 'workspac':14","created_at":"2026-05-01T17:45:32.067711+00:00","updated_at":"2026-05-01T17:45:32.067711+00:00","problems":{"verify_error":"no import statement found"},"ecosystem":"pypi","meta_description":null,"install_score":null,"quickstart_score":null,"quickstart_tag":null,"pypi_latest":null,"cli_name":"","cli_version":null,"type":"library","homepage":null,"github":"https://github.com/aignas/pytest-bazel","docs":"https://github.com/aignas/pytest-bazel","changelog":"https://github.com/aignas/pytest-bazel/blob/main/CHANGELOG.md","pypi":"https://pypi.org/project/pytest-bazel/","npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"categories":["testing","devops"],"base_url":null,"auth_type":null,"provenance":{"verified_status":"skip","verified_at":"2026-06-29","last_verified":"2026-06-29","next_check":"2026-07-06","install_tag":null}}