rustberg 0.0.5

A production-grade, cross-platform, single-binary Apache Iceberg REST Catalog
Documentation
# =============================================================================
# Rustberg Python Integration Tests
# =============================================================================
# All Python tooling for Rustberg integration tests.
# Use `uv sync` to install dependencies.
# =============================================================================

[project]
name = "rustberg-tests"
version = "0.1.0"
description = "Integration tests for Rustberg Iceberg REST Catalog"
readme = "README.md"
requires-python = ">=3.12"
license = { text = "Apache-2.0" }

dependencies = [
    # PyIceberg for REST catalog testing
    "pyiceberg>=0.10.0",
    # DuckDB for embedded analytics
    "duckdb>=1.2.0",
    # PyArrow for data handling
    "pyarrow>=18.0.0",
    # Testing framework
    "pytest>=9.0.0",
    "pytest-asyncio>=1.0.0",
    "pytest-timeout>=2.4.0",
    # HTTP client
    "httpx>=0.28.0",
    # Testcontainers for Docker-based testing
    "testcontainers>=4.0.0",
]

[project.optional-dependencies]
dev = [
    "ruff>=0.14.0",
    "mypy>=1.15.0",
]

# =============================================================================
# Tool Configuration
# =============================================================================

[tool.pytest.ini_options]
testpaths = ["tests/python"]
asyncio_mode = "auto"
asyncio_default_fixture_loop_scope = "session"
timeout = 300  # 5 minute timeout per test
markers = [
    "slow: marks tests as slow (deselect with '-m \"not slow\"')",
    "integration: marks tests as integration tests",
    "pyiceberg: marks tests using PyIceberg client",
    "duckdb: marks tests using DuckDB client",
]

[tool.ruff]
line-length = 100
target-version = "py312"

[tool.ruff.lint]
select = ["E", "F", "I", "W", "B", "C4", "UP"]
ignore = ["E501"]  # Line length handled by formatter

[tool.ruff.format]
quote-style = "double"

[tool.mypy]
python_version = "3.12"
strict = true
warn_return_any = true
warn_unused_ignores = true

[dependency-groups]
dev = [
    "ruff>=0.14.0",
    "mypy>=1.15.0",
]