Update pybind11-stubgen to v2.4.2#89
Open
dagardner-nv wants to merge 6 commits intonv-morpheus:branch-25.02from
Open
Update pybind11-stubgen to v2.4.2#89dagardner-nv wants to merge 6 commits intonv-morpheus:branch-25.02from
dagardner-nv wants to merge 6 commits intonv-morpheus:branch-25.02from
Conversation
…nore-invalid-identifiers flag avoids issue where not all symbols are loaded into the current Python env
3 tasks
…hon modules which we call from Python, and newer versions of stubgen cause unique stubs to be built with each build even in the absense of changes ref: pybind/pybind11-stubgen#235
…om value reprs instead of the ... values stubgen will use
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
pybind11-stubgen0.10.5and1.0the tool underwent a complete re-write which removed/changed several command line flagspybind11-stubgenwrites stub files, we now first write the stub then move it to the correct location/name.--ignore-invalid-identifiersflag is needed since at build-time the python extensions are built but not yet installed into the Python env.pybind11-stubgenincludes thereproutput forPyCapsulewhich includes the memory location of the object, thus causing the stub output to change with each build ref: Optionally disable the# value = ...inPrinterpybind/pybind11-stubgen#235. In addition to this we don't expose any Cython functions to Python, thus removing the need for building stubs of Cython modules.Needed for nv-morpheus/Morpheus#2074
Checklist