Build error related to os.getcwd() on linux. Only works with --no-build-id #205
Labels
source::community
catch-all for issues filed by community members
stale
[bot] marked as stale due to inactivity
type::bug
describes erroneous operation, use severity::* to classify the type
Checklist
What happened?
When trying to build and upload pre-releases of my noarch python package ada-py on linux to my personal conda channel I keep seeing a repeating failure related to
os.getcwd()
in theconda_package_handling/interface.py
. The same issue occurs when running locally on my WSL2 linux and on github actions. However, the issue disappears when adding the--no-build-id
flag. There is no issue when running this on windows.Before trying the
--no-build-id
option I tried a lot of different things (but without success):0.0.38
,0.0.38a1
and0.0.38alpha.1
which all produces the same issue--build-id-pat ''
instead of--no-build-id
.3.23.3
instead of3.23.4
As mentioned, I did finally get around the os.getcwd() issue by adding the
--no-build-id
flag, so my pipeline works for now. However I noticed in the docs that--no-build-id
is deprecated and I should use--build-id-pat
instead. Any suggestions of how I should use--build-id-pat
to get the same effect as--no-build-id
?Any help with this would be greatly appreciated!
Let me know if you need more information and I'll happily oblige,
Best Regards
Kristoffer
Conda Info
Conda Config
Conda list
Additional Context
Here are a few samples from my github action runs:
A failing run without --no-build-id -> here
A working run with --no-build-id -> here
Here are the two main files for my ci workflow
Here is the output from the failing job
And here is the output from a working job
The text was updated successfully, but these errors were encountered: