https://pantsbuild.org/ logo
#general
Title
# general
c

curved-manchester-66006

04/28/2023, 4:35 PM
I admit this is somewhat vague, but we run into a lot of problems with M1 pants and python, and thus M1 macs and pants. Many of our M1 mac users are also VSCode users, so I tried to setup a VSCode amd64 "DevContainer" Docker image. The DevContainer image ironically worked on Linux but not Mac :-/ (failure was
pants.pantsd.process_manager.ProcessManager.Timeout: exceeded timeout of 60 seconds while waiting for pantsd to start
). Does anyone have any best practices or examples for running pants from within a vscode DevContainer? (I use neither Macs nor vscode nor arm, so there is a lot of otherwise obvious context I'm probably missing.)
w

witty-crayon-22786

04/28/2023, 5:16 PM
Is anything reported in
.pants.d/pants.log
?
c

curved-manchester-66006

04/28/2023, 5:40 PM
Unclear; the college who had that specific problem is out today. The "remote" debugging of Macs is a lot of my frustration.
(If this was a problem on my machine I think I could figure it out, or at least find the pertinent error message. I'm trying to start my colleagues with good first impressions instead of a debugging session.)
💯 1
e

enough-analyst-54434

04/28/2023, 6:38 PM
It would be awesome if Apple would lend a hand to devs and allow running the OS in a vm legally (on non macOS hardware + host or even just on Apple hardware but not under their OS as host).
I consider them hostile for not doing so.