Skip to content

Commit

Permalink
Install requests in Hatch build environment correctly
Browse files Browse the repository at this point in the history
Not sure why this is suddenly failing. I think this was never
correct.
  • Loading branch information
unflxw committed Mar 18, 2024
1 parent 256b455 commit df70c6e
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -142,9 +142,11 @@ all = "python src/scripts/build_all.py"
me = "_APPSIGNAL_BUILD_AGENT_PATH=\"{args}\" hatch build -t wheel"
for = "_APPSIGNAL_BUILD_TRIPLE=\"{args}\" hatch build -t wheel"

[tool.hatch.envs.build]
dependencies = ["requests"]

[tool.hatch.build.targets.wheel.hooks.custom]
path = "src/scripts/build_hook.py"
dependencies = ["requests"]

[tool.hatch.build.targets.sdist.hooks.custom]
path = "src/scripts/sdist_hook.py"
Expand Down

0 comments on commit df70c6e

Please sign in to comment.