diff --git a/hatch_hooks.py b/hatch_hooks.py index b7cd9c77..95a78d70 100644 --- a/hatch_hooks.py +++ b/hatch_hooks.py @@ -18,7 +18,7 @@ def initialize(self, version, build_data) -> None: package for package in build_data["dependencies"] if package.startswith("psycopg2-binary") - ] + ].pop() build_data["dependencies"].pop(psycopg2_binary_pinned) psycopg2_pinned = psycopg2_binary_pinned.replace("-binary", "") build_data["dependencies"].append(psycopg2_pinned)