DataDesigner/pyproject.toml
Andre Manoel b6de38d894
Some checks failed
CI / Validate dispatched SHA (push) Waiting to run
CI / Test Config (Python 3.10 on macos-latest) (push) Blocked by required conditions
CI / Test Config (Python 3.11 on macos-latest) (push) Blocked by required conditions
CI / Test Config (Python 3.12 on macos-latest) (push) Blocked by required conditions
CI / Test Config (Python 3.13 on macos-latest) (push) Blocked by required conditions
CI / End to end test (Python 3.10 on ubuntu-latest) (push) Blocked by required conditions
CI / Test Config (Python 3.10 on ubuntu-latest) (push) Blocked by required conditions
CI / Test Config (Python 3.11 on ubuntu-latest) (push) Blocked by required conditions
CI / Test Config (Python 3.12 on ubuntu-latest) (push) Blocked by required conditions
CI / Test Config (Python 3.13 on ubuntu-latest) (push) Blocked by required conditions
CI / End to end test (Python 3.11 on ubuntu-latest) (push) Blocked by required conditions
CI / Test Engine (Python 3.10 on macos-latest) (push) Blocked by required conditions
CI / Test Engine (Python 3.11 on macos-latest) (push) Blocked by required conditions
CI / Test Engine (Python 3.12 on macos-latest) (push) Blocked by required conditions
CI / Test Engine (Python 3.13 on macos-latest) (push) Blocked by required conditions
CI / Test Engine (Python 3.10 on ubuntu-latest) (push) Blocked by required conditions
CI / Test Engine (Python 3.11 on ubuntu-latest) (push) Blocked by required conditions
CI / Test Engine (Python 3.12 on ubuntu-latest) (push) Blocked by required conditions
CI / Test Engine (Python 3.13 on ubuntu-latest) (push) Blocked by required conditions
CI / Test Interface (Python 3.10 on macos-latest) (push) Blocked by required conditions
CI / Test Interface (Python 3.11 on macos-latest) (push) Blocked by required conditions
CI / Test Interface (Python 3.12 on macos-latest) (push) Blocked by required conditions
CI / Test Interface (Python 3.13 on macos-latest) (push) Blocked by required conditions
CI / Test Interface (Python 3.10 on ubuntu-latest) (push) Blocked by required conditions
CI / Test Interface (Python 3.11 on ubuntu-latest) (push) Blocked by required conditions
CI / Test Interface (Python 3.12 on ubuntu-latest) (push) Blocked by required conditions
CI / Test Interface (Python 3.13 on ubuntu-latest) (push) Blocked by required conditions
CI / End to end test (Python 3.12 on ubuntu-latest) (push) Blocked by required conditions
CI / End to end test (Python 3.13 on ubuntu-latest) (push) Blocked by required conditions
CI / Lint and Format Check (push) Blocked by required conditions
CI / Check License Headers (push) Blocked by required conditions
CI / Test (Python 3.10 on macos-latest) (push) Blocked by required conditions
CI / Test (Python 3.11 on macos-latest) (push) Blocked by required conditions
CI / Test (Python 3.12 on macos-latest) (push) Blocked by required conditions
CI / Test (Python 3.10 on ubuntu-latest) (push) Blocked by required conditions
CI / Coverage Check (Python 3.11) (push) Blocked by required conditions
CI / End to end test (Python 3.10 on macos-latest) (push) Blocked by required conditions
CI / End to end test (Python 3.11 on macos-latest) (push) Blocked by required conditions
CI / End to end test (Python 3.12 on macos-latest) (push) Blocked by required conditions
CI / End to end test (Python 3.13 on macos-latest) (push) Blocked by required conditions
CI / Test (Python 3.13 on macos-latest) (push) Blocked by required conditions
CI / Test (Python 3.11 on ubuntu-latest) (push) Blocked by required conditions
CI / Test (Python 3.12 on ubuntu-latest) (push) Blocked by required conditions
CI / Test (Python 3.13 on ubuntu-latest) (push) Blocked by required conditions
Publish Fern devnotes / deploy (push) Has been cancelled
docs: remove docs code reference (#674)
2026-05-21 18:29:18 -04:00

111 lines
3.5 KiB
TOML

# =============================================================================
# WORKSPACE CONFIGURATION (not a publishable package)
# =============================================================================
# This pyproject.toml defines the uv workspace for the DataDesigner monorepo.
# It is NOT a package itself—see `package = false` below. The [project] section
# exists only to satisfy pyproject.toml structural requirements.
#
# Subpackages are located in packages/ and each has its own pyproject.toml.
# See WORKSPACE.md for full documentation on the namespace package structure.
# =============================================================================
[project]
name = "data-designer-workspace"
version = "0.0.0" # Placeholder, never used since package = false
description = "DataDesigner monorepo workspace"
requires-python = ">=3.10"
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
# Workspace members - each package contributes to the `data_designer` namespace
[tool.uv.workspace]
members = [
"packages/data-designer-config",
"packages/data-designer-engine",
"packages/data-designer",
]
[tool.uv]
# IMPORTANT: This root is NOT a package. It only defines workspace configuration.
package = false
required-version = ">=0.7.10"
[dependency-groups]
dev = [
"jsonpath-ng>=1.5.3,<2",
"pre-commit>=4.0.0,<5",
"pytest>=9.0.3,<10",
"pytest-asyncio>=1.3.0,<2",
"pytest-cov>=7.0.0,<8",
"pytest-env>=1.2.0,<2",
"pytest-httpx>=0.36.0,<1",
"ruff>=0.14.10,<1",
]
docs = [
"jupytext>=1.16.0,<2",
"mistune>=3.2.1,<4", # 3.2.1 fixes security advisory pulled in by nbconvert
"mike>=2.1.3,<3",
"mkdocs-jupyter>=0.25.1,<1",
"mkdocs-material>=9.6.22,<10",
"mkdocs-redirects>=1.2.2,<2",
"mkdocs>=1.6.1,<2",
"nbconvert>=7.17.1,<8", # 7.17.1 fixes security advisory pulled in by mkdocs-jupyter
"pymdown-extensions>=10.21.2,<11",
]
notebooks = [
"aiohttp>=3.13.5,<4", # 3.13.5 fixes CVE-2026-22815 and CVE-2026-34513 through CVE-2026-34525
"datasets>=4.0.0,<5",
"ipykernel>=6.29.0,<7",
"jupyter>=1.0.0,<2",
"jupyter-server>=2.18.2,<3", # 2.18.2 fixes security advisory pulled in by jupyter
"jupyterlab>=4.6.0a5,<5", # 4.6.0a5 fixes security advisory pulled in by jupyter
"mistune>=3.2.1,<4", # 3.2.1 fixes security advisory pulled in by nbconvert
"nbconvert>=7.17.1,<8", # 7.17.1 fixes security advisory pulled in by jupyter
"notebook>=7.6.0a5,<8", # 7.6.0a5 fixes security advisory pulled in by jupyter
]
recipes = [
"bm25s>=0.2.0,<1",
"pymupdf>=1.24.0,<2",
]
[tool.pytest.ini_options]
asyncio_default_fixture_loop_scope = "session"
env = ["DISABLE_DATA_DESIGNER_PLUGINS=true"]
[tool.coverage.run]
omit = ["**/engine/models/telemetry.py"]
[tool.ruff]
line-length = 120
indent-width = 4
target-version = "py310"
[tool.ruff.lint]
select = [
"W", # pycodestyle warnings
"F", # pyflakes
"I", # isort (import sorting)
"ICN", # flake8-import-conventions
"PIE", # flake8-pie (misc lints)
"TID", # flake8-tidy-imports (ban relative imports)
"UP006", # List[A] -> list[A]
"UP007", # Union[A, B] -> A | B
"UP045", # Optional[A] -> A | None
]
ignore = [
"ANN401", # Dynamically typed expressions (Any)
]
[tool.ruff.lint.isort]
known-first-party = ["data_designer", "data_designer_e2e_tests"]
[tool.ruff.lint.flake8-tidy-imports]
ban-relative-imports = "all"
[tool.ruff.format]
quote-style = "double"
indent-style = "space"
skip-magic-trailing-comma = false
line-ending = "auto"