OWASP / OWASP/pytm

Devbox build issue on Mac | Build Fails

Open
#315 5 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Python
Stars
1.2k
Forks
229
PR merge metrics
No merged PRs in 30d

Description

When trying to setup the devbox environment on MacOS, the devbox shell command fails due to a dependency issue related to Poetry.
Here is the screenshot of the build error:-

Image In the image you can see that the error is due to a dependency called rapidfuzz, which is used by the latest poetry version. The rapidfuzz installation fails due to how Mac exposes the atomic library. I don't know the exact specifics of how this works, but just that it is known issue with rapiduzz on mac which was recently fixed. https://github.com/NixOS/nixpkgs/pull/490176

I am not sure if this issue needs to be fixed from our end or it will be updated by devbox eventually since the code change was very recent, just wanted the community know if someone else faces the issue.

The fix I have found for now is to change the devbox.json entry from poetry@latest to poetry@1.8.3

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with devbox.json and reproduce the devbox shell command on macOS using the reported Poetry dependency setup. Check whether the rapidfuzz installation failure is resolved upstream or requires pinning Poetry; done means the devbox environment builds successfully without the reported dependency error.

Written by the indexing model from the issue text.

Assessment

Tech stack
macos, python
Domain
build-system
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.