RFE: unvendor pydevd module or update it to latest version
#1611
Replies: 7 comments 1 reply
|
I believe the reason it's bundled is so we can ship debugpy with Visual Studio and VS code without having the user install any packages. Karthik Nadig (@karthiknadig) or Pavel Minaev (@int19h) may know more. Transferring this to a discussion. |
|
I see that |
|
Lastly there is some deviation from pydevd, at least back when DAP (debug adapter protocol) support was not yet fully in |
|
You can still use older unvendored |
|
Tomasz Kłoczko (@kloczek) It does not address all the problem I mentioned above. We cannot sign a binary if it wasn't built using a trusted c-runtime. Additionally, there are customizations to vendored pydevd that don't exist outside of the vendored code (from what I remember Pavel Minaev (@int19h) might know the state better). Lastly, |
|
So it is not vendorisation but forking .. so why not clean that code? 🤔 You cannot as well sign any python script. |
|
I believe it was all upstreamed eventually. However, debugpy still reaches out into what is technically pydevd internals in some places (attach to process, and I think some stuff around settrace), so depending on arbitrary new versions of pydevd is still potentially dangerous. However, it was not supposed to be a fork. It is supposed to be updated regularly from upstream. |
Uh oh!
There was an error while loading. Please reload this page.
Looks like
pydevdis well maintained and has regilar new releases.Is it any reason why this module is bundled in
debugpytree?All reactions