Build dependency in Windows GitHub worfklow #1878
Unanswered
JPHutchins
asked this question in
Q&A
Replies: 3 comments 1 reply
-
Narrowing in on this being a problem introduced by the Poetry 2.x rollout. ... Nope, downgrading to 1.8.5 did not resolve it. I do see that the Windows runner is installing poetry with python 3.9 whereas the Ubuntu and macOS runners are using 3.12 or 3.13. The package being built uses 3.12.
|
Beta Was this translation helpful? Give feedback.
0 replies
-
Now leaning toward it being a poetry issue since the build always works with |
Beta Was this translation helpful? Give feedback.
0 replies
-
That's very odd; perhaps show the |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I have a bit of a weird one!
One of my dependencies is another package that has protoc as a build dependency. Linux/macOS, and Windows locally, are correctly installing that build dependency at build time.
But the error produced on the Windows runner is that python can't find
grpc_tools
:The source of that error message is in hatch_build.py:
Mysterious that it works in every environment other than "Windows GitHub Runner". It makes me wonder if the runner is somehow installing the build dependency to the wrong interpreter? The error is generated by this interpreter:
C:\hostedtoolcache\windows\Python\3.12.8\x64\python.exe
.I can fix it by installing the build dependency before the build, but this is not preferred!
Thanks for looking, it's totally a long shot to see if anyone has seen something like this!
JP
Beta Was this translation helpful? Give feedback.
All reactions