mirror of
https://github.com/dbt-labs/dbt-core
synced 2025-12-17 19:31:34 +00:00
* convert setup.py to pyproject.toml * move dev requirements into pyproject.toml * with setup.py gone we can install from root * lint cleanrly state intention to remove * convert precommit to use dev deps * consolidate version to pyproject.toml * editable req get rid of editable-req * docs updates * tweak configs for builds * fix script * changelog * fixes to build * revert unnecesary changes more simplification revert linting more simplification fix don’t need it
111 lines
3.6 KiB
TOML
111 lines
3.6 KiB
TOML
[tool.setuptools]
|
|
package-dir = {"" = "."}
|
|
include-package-data = true
|
|
zip-safe = false
|
|
|
|
[tool.setuptools.packages.find]
|
|
where = ["."]
|
|
include = [
|
|
"dbt",
|
|
"dbt.*",
|
|
]
|
|
|
|
# this needs to match MANIFEST.in for the wheels
|
|
[tool.setuptools.package-data]
|
|
"dbt" = [
|
|
"include/**/*.py",
|
|
"include/**/*.sql",
|
|
"include/**/*.yml",
|
|
"include/**/*.html",
|
|
"include/**/*.md",
|
|
"include/**/.gitkeep",
|
|
"include/**/.gitignore",
|
|
"task/docs/**/*.html",
|
|
"jsonschemas/**/*.json",
|
|
"py.typed",
|
|
]
|
|
|
|
[project]
|
|
name = "dbt-core"
|
|
version = "1.11.0b4"
|
|
description = "With dbt, data analysts and engineers can build analytics the way engineers build applications."
|
|
readme = "README.md"
|
|
requires-python = ">=3.10"
|
|
license = "Apache-2.0"
|
|
license-files = ["License.md"] # License.md copied to core/ by build script even though it lives at the root by convention
|
|
keywords = []
|
|
authors = [
|
|
{ name = "dbt Labs", email = "info@dbtlabs.com" },
|
|
]
|
|
maintainers = [
|
|
{ name = "dbt Labs", email = "info@dbtlabs.com" },
|
|
]
|
|
classifiers = [
|
|
"Development Status :: 5 - Production/Stable",
|
|
"Operating System :: Microsoft :: Windows",
|
|
"Operating System :: MacOS :: MacOS X",
|
|
"Operating System :: POSIX :: Linux",
|
|
"Programming Language :: Python",
|
|
"Programming Language :: Python :: 3.10",
|
|
"Programming Language :: Python :: 3.11",
|
|
"Programming Language :: Python :: 3.12",
|
|
"Programming Language :: Python :: 3.13",
|
|
"Programming Language :: Python :: Implementation :: CPython",
|
|
"Programming Language :: Python :: Implementation :: PyPy",
|
|
]
|
|
dependencies = [
|
|
# ----
|
|
# dbt-core uses these packages deeply, throughout the codebase, and there have been breaking changes in past patch releases (even though these are major-version-one).
|
|
# Pin to the patch or minor version, and bump in each new minor version of dbt-core.
|
|
"agate>=1.7.0,<1.10",
|
|
"Jinja2>=3.1.3,<4",
|
|
"mashumaro[msgpack]>=3.9,<3.15",
|
|
# ----
|
|
# dbt-core uses these packages in standard ways. Pin to the major version, and check compatibility
|
|
# with major versions in each new minor version of dbt-core.
|
|
"click>=8.0.2,<9.0",
|
|
"jsonschema>=4.19.1,<5.0",
|
|
"networkx>=2.3,<4.0",
|
|
"protobuf>=6.0,<7.0",
|
|
"requests<3.0.0", # should match dbt-common
|
|
"snowplow-tracker>=1.0.2,<2.0",
|
|
# ----
|
|
# These packages are major-version-0. Keep upper bounds on upcoming minor versions (which could have breaking changes)
|
|
# and check compatibility / bump in each new minor version of dbt-core.
|
|
"pathspec>=0.9,<0.13",
|
|
"sqlparse>=0.5.0,<0.6.0",
|
|
# ----
|
|
# These are major-version-0 packages also maintained by dbt-labs.
|
|
# Accept patches but avoid automatically updating past a set minor version range.
|
|
"dbt-extractor>=0.5.0,<=0.6",
|
|
"dbt-semantic-interfaces>=0.9.0,<0.10",
|
|
# Minor versions for these are expected to be backwards-compatible
|
|
"dbt-common>=1.27.0,<2.0",
|
|
"dbt-adapters>=1.15.5,<2.0",
|
|
"dbt-protos>=1.0.375,<2.0",
|
|
"pydantic<3",
|
|
# ----
|
|
# Expect compatibility with all new versions of these packages, so lower bounds only.
|
|
"packaging>20.9",
|
|
"pytz>=2015.7",
|
|
"pyyaml>=6.0",
|
|
"daff>=1.3.46",
|
|
"typing-extensions>=4.4",
|
|
]
|
|
|
|
[project.urls]
|
|
Homepage = "https://github.com/dbt-labs/dbt-core"
|
|
Repository = "https://github.com/dbt-labs/dbt-core.git"
|
|
Issues = "https://github.com/dbt-labs/dbt-core/issues"
|
|
Changelog = "https://github.com/dbt-labs/dbt-core/blob/main/CHANGELOG.md"
|
|
|
|
[project.scripts]
|
|
dbt = "dbt.cli.main:cli"
|
|
|
|
[build-system]
|
|
requires = [
|
|
"setuptools>=61",
|
|
"wheel",
|
|
]
|
|
build-backend = "setuptools.build_meta"
|