Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Are debug builds supported? #594

Closed
nikhilweee opened this issue Nov 7, 2022 · 3 comments · Fixed by #597
Closed

Are debug builds supported? #594

nikhilweee opened this issue Nov 7, 2022 · 3 comments · Fixed by #597
Labels

Comments

@nikhilweee
Copy link
Contributor

nikhilweee commented Nov 7, 2022

Comment:

I see a --with-pydebug option specified in the recipe folder. I wonder what's it for?

declare -a _dbg_opts
if [[ ${DEBUG_PY} == yes ]]; then
# This Python will not be usable with non-debug Python modules.
_dbg_opts+=(--with-pydebug)
DBG=d
else
DBG=
fi

Me along with a few others have been on the lookout for a debug build (conda-forge/staged-recipes#4812) and I wonder if this is the way to go?

@jakirkham
Copy link
Member

It's possible to build locally (as seen above), but we do not currently publish debug packages

@nikhilweee
Copy link
Contributor Author

nikhilweee commented Nov 8, 2022

Is the community interested in reviving #86? Although I don't have much experience writing conda recipes, I am eager to take a shot at it. What comes to my mind right now is to add another output named python-debug in meta.yaml but I think there might be cleaner ways to do it. Happy to discuss further.

@jakirkham
Copy link
Member

jakirkham commented Nov 15, 2022

Idk when I've asked other developers about whether a debug Python is useful, have heard they may want to make additional changes to the python build itself, use other debug libraries in the build, and/or build other downstream dependencies with changes. Given this, it has been unclear (at least to me) that there is one debug build of Python that would be helpful for these different use cases. If we can find a single build that is generally useful, then it seems worthwhile to add. If not, maybe we focus our efforts on making it easy to build locally

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants