Skip to content

Commit

Permalink
Merge pull request #1819 from camptocamp/fix-publish-15
Browse files Browse the repository at this point in the history
Used twine version is incompatible with importlib-metadata 8
  • Loading branch information
sbrunner authored Jul 8, 2024
2 parents 80a517a + 8b88426 commit a45d785
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion c2cciutils/publish.py
Original file line number Diff line number Diff line change
Expand Up @@ -301,7 +301,13 @@ def pip(
use_poetry = True
break
subprocess.run(
["pip", "install", *pyproject.get("build-system", {}).get("requires", [])], check=True
[
"pip",
"install",
"importlib-metadata<8.0.0",
*pyproject.get("build-system", {}).get("requires", []),
],
check=True,
)
if use_poetry:
freeze = subprocess.run(["pip", "freeze"], check=True, stdout=subprocess.PIPE)
Expand Down

0 comments on commit a45d785

Please sign in to comment.