-
Notifications
You must be signed in to change notification settings - Fork 138
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
Allow using pydevd as a regular dependency. #1586
base: main
Are you sure you want to change the base?
Allow using pydevd as a regular dependency. #1586
Conversation
@nicolas-graves please read the following Contributor License Agreement(CLA). If you agree with the CLA, please reply with the following information.
Contributor License AgreementContribution License AgreementThis Contribution License Agreement (“Agreement”) is agreed to by the party signing below (“You”),
|
7709b5d
to
9543d56
Compare
Hi, what's the status on this? |
I suppose it should be okay as long as all of the tests pass. |
/azp run |
Azure Pipelines successfully started running 1 pipeline(s). |
Tests are flakey right now so it's rather hard to tell. |
This change may not be necessary anymore as well as we've updated our pydevd rather recently |
I think we could actually just switch to use a git submodule and then pydevd changes would just end up here automatically. |
Looks like a new dependency was added? I'm not sure why tox is failing. |
That would be great. :) Sounds like the way to go. @nicolas-graves Would you like to update your branch adding that git submodule? |
@rchiodo pydevd can be built as a distinct package. This pull request is about using that distinctly packaged pydevd, instead of bundling its sources directly within debugpy. Using a git submodule would not address the use case here; it would simply change the way pydevd is bundled within the project (still better than checking in source code from another project, but not the same as what is proposed here). |
I thought the reason for this was because pydevd wasn't being kept up to date. Are you saying you'd also want other versions of pydevd? |
No, the reason was to have a single pydevd package offered by the distribution that can be used by other users (software), as a normal library would. The policy of using the least amount of bundled libraries is used for example in Debian and GNU Guix, among other GNU/Linux distributions, as it means updates and bug fixes can be applied to a single place. It's also more efficient (disk and compute wise). |
This reopens #902
The new commit is rebased, builds on @Apteryks commit, and addresses the points in the review.