Skip to content

Commit

Permalink
get the value from the list
Browse files Browse the repository at this point in the history
  • Loading branch information
mikealfare committed Jun 6, 2024
1 parent dbfa07d commit 1e97224
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion hatch_hooks.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 1e97224

Please sign in to comment.