Find your next open-source project

Search by name, purpose, or keyword — or paste a GitHub repository URL
All skills

setup-web-tests

Install the pinned Python version and run PostHog backend tests in Claude Code for web.

  • Part of PostHog/posthog
  • 252 installs
  • Developer Tools · Testing and debugging

When to use it

You're in Claude Code for web with a PostHog checkout and `uv sync` fails because the system Python doesn't match `requires-python`.

For example

You say

Use setup-web-tests to get PostHog backend tests running here — uv sync keeps failing on the Python version. Then run posthog/hogql/test/test_parser.py.

You get
  • Working Python install
  • Synced .venv
  • Test run output

How it works

  • Auto-detects the required Python version from pyproject.toml and fetches a matching standalone build.
  • Adds hostnames like kafka and clickhouse to /etc/hosts and creates placeholder frontend dist files some tests expect.

Before installing

Needs GitHub access to download Python from python-build-standalone; tests needing backend services also require Docker.