Skip to content

Commit 97f7ef7

Browse files
committed
default to psycopg2-binary everywhere
1 parent d93fbba commit 97f7ef7

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

pyproject.toml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -23,10 +23,7 @@ classifiers = [
2323
"Programming Language :: Python :: 3.11",
2424
]
2525
dependencies = [
26-
# install `psycopg2` on linux (assumed production)
27-
'psycopg2>=2.9,<3.0; platform_system == "Linux"',
28-
# install `psycopg2-binary` on macos/windows (assumed development)
29-
'psycopg2-binary>=2.9,<3.0; platform_system != "Linux"',
26+
"psycopg2-binary>=2.9,<3.0",
3027
"dbt-adapters>=0.1.0a1,<2.0",
3128
# add dbt-core to ensure backwards compatibility of installation, this is not a functional dependency
3229
"dbt-core>=1.8.0a1",
@@ -46,6 +43,9 @@ Changelog = "https://github.com/dbt-labs/dbt-postgres/blob/main/CHANGELOG.md"
4643
requires = ["hatchling"]
4744
build-backend = "hatchling.build"
4845

46+
[tool.hatch.build.hooks.custom]
47+
path = "./hatch_hooks.py"
48+
4949
[tool.hatch.build.targets.sdist]
5050
include = ["dbt"]
5151

0 commit comments

Comments
 (0)