Skip to content

feat(dolt): add dolt database service support#119

Open
cofin wants to merge 9 commits intomainfrom
feat/doltdb
Open

feat(dolt): add dolt database service support#119
cofin wants to merge 9 commits intomainfrom
feat/doltdb

Conversation

@cofin
Copy link
Copy Markdown
Member

@cofin cofin commented Apr 6, 2026

Description

This PR adds first-class support for Dolt, a MySQL-compatible database with Git-like versioning.

Key Changes

  • Clientless Core: Implemented src/pytest_databases/docker/dolt.py with 'oneshot' health checks via docker exec. No new Python client dependencies added to src/.
  • Xdist Support: Fully supports database and server isolation levels for parallel test execution.
  • Fixtures: Added dolt_service and xdist_dolt_isolation_level fixtures.
  • Testing: Comprehensive tests in tests/test_dolt.py verifying service availability and isolation.
  • Documentation: Added docs/supported-databases/dolt.rst and updated the index.
  • Metadata: Updated pyproject.toml keywords.

Verification

Ran uv run pytest tests/test_dolt.py tests/test_mysql.py tests/test_mariadb.py with all tests passing (16 passed).

@provinzkraut
Copy link
Copy Markdown
Member

This PR seems to include rustf support and changes to other DBs as well. I'm assuming this wasn't intentional?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants