-
-
Notifications
You must be signed in to change notification settings - Fork 642
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
Debugpy subsystem doesn't use interpreter constraints #17672
Labels
Comments
I can reproduce this in Pants' codebase by installing Py3.8 and Py3.9. Then:
|
thejcannon
added a commit
that referenced
this issue
Dec 8, 2022
Fixes #17672 and fixes #17692 Added new test-code which tests the `DebugAdapterRequest` by running it without `--wait-for-client`. This wouldn't catch issues like #17540 which require a client, but would catches issues like #17672 and #17692. Fixes: - Bad debugpy ICs - Untracked issue where the process would always return 0 - The config wouldn't be used if provided - Removes the reliance on `importlib_metadata` to load the entrypoint, instead re-enters the already executing pex in-process
thejcannon
added a commit
to thejcannon/pants
that referenced
this issue
Dec 9, 2022
Fixes pantsbuild#17672 and fixes pantsbuild#17692 Added new test-code which tests the `DebugAdapterRequest` by running it without `--wait-for-client`. This wouldn't catch issues like pantsbuild#17540 which require a client, but would catches issues like pantsbuild#17672 and pantsbuild#17692. Fixes: - Bad debugpy ICs - Untracked issue where the process would always return 0 - The config wouldn't be used if provided - Removes the reliance on `importlib_metadata` to load the entrypoint, instead re-enters the already executing pex in-process
thejcannon
added a commit
that referenced
this issue
Dec 10, 2022
…17768) Fixes #17672 and fixes #17692 Added new test-code which tests the `DebugAdapterRequest` by running it without `--wait-for-client`. This wouldn't catch issues like #17540 which require a client, but would catches issues like #17672 and #17692. Fixes: - Bad debugpy ICs - Untracked issue where the process would always return 0 - The config wouldn't be used if provided - Removes the reliance on `importlib_metadata` to load the entrypoint, instead re-enters the already executing pex in-process
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Describe the bug
I’m trying to set up debugging (for the test and run goals) in VSCode. I’m running pants 2.14 on an M1 mac with Python 3.9. When I try to run
./pants test --debug-adapter <path to test file>
I get the following error:@jsirois suggest on the slack the following:
Pants version
2.14
OS
MacOS - M1
Additional info
n/a
The text was updated successfully, but these errors were encountered: