Skip to content

Commit

Permalink
default to psycopg2-binary everywhere
Browse files Browse the repository at this point in the history
  • Loading branch information
mikealfare committed Jun 6, 2024
1 parent d93fbba commit 97f7ef7
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,7 @@ classifiers = [
"Programming Language :: Python :: 3.11",
]
dependencies = [
# install `psycopg2` on linux (assumed production)
'psycopg2>=2.9,<3.0; platform_system == "Linux"',
# install `psycopg2-binary` on macos/windows (assumed development)
'psycopg2-binary>=2.9,<3.0; platform_system != "Linux"',
"psycopg2-binary>=2.9,<3.0",
"dbt-adapters>=0.1.0a1,<2.0",
# add dbt-core to ensure backwards compatibility of installation, this is not a functional dependency
"dbt-core>=1.8.0a1",
Expand All @@ -46,6 +43,9 @@ Changelog = "https://github.com/dbt-labs/dbt-postgres/blob/main/CHANGELOG.md"
requires = ["hatchling"]
build-backend = "hatchling.build"

[tool.hatch.build.hooks.custom]
path = "./hatch_hooks.py"

[tool.hatch.build.targets.sdist]
include = ["dbt"]

Expand Down

0 comments on commit 97f7ef7

Please sign in to comment.