From 7504b56928de0af2ea937efae6dc91fa82a2a31a Mon Sep 17 00:00:00 2001 From: Mike Alfare Date: Thu, 6 Jun 2024 00:35:01 -0400 Subject: [PATCH] typo in the env var --- hatch_hooks.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/hatch_hooks.py b/hatch_hooks.py index ae9c4f15..8f443d74 100644 --- a/hatch_hooks.py +++ b/hatch_hooks.py @@ -18,7 +18,8 @@ def initialize(self, version, build_data) -> None: package for package in build_data["dependencies"] if package.startswith("psycopg2-binary") - ].pop() + ] + build_data["depenndencies"].pop(psycopg2_binary_pinned) psycopg2_pinned = psycopg2_binary_pinned.replace("-binary", "") build_data["dependencies"].append(psycopg2_pinned)