You will need to install uv.
Install dev dependencies
uv syncBy default these come with the group chdb also, but not the docs group - to install with these use the --group flag.
Manually update dev dependency versions with:
uv lockCheck package (with ruff and mypy):
./scripts/check_package.shRun all pytest tests:
uv run python -m pytest -vx testsYou can run just the tests with chdb (for instance if you do not have clickhouse), or just clickhouse, by passing the -m flag
uv run python -m pytest -vxm chdb tests
# or the clickhouse tests:
uv run python -m pytest -vxm clickhouse testsFor clickhouse tests you will need to have docker container running.
Run test scripts
uv run python scripts/getting_started_chdb.py
uv run python scripts/getting_started_clickhouse.pyFrom root of repo:
./scripts/bump_version.sh X.X.XBuild package to dist/
uv build --package splinkclickhouseInspect package contents:
# replace version as appropriate
mkdir -p tmp && tar -xzvf dist/splinkclickhouse-0.4.1.tar.gz -C tmp/