Skip to content

Fix invalid type annotation in test_pydev_monkey comprehension - #2033

Merged
Rich Chiodo (rchiodo) merged 1 commit into
microsoft:mainfrom
pdepetro:fix-test-pydev-monkey-syntax
Jun 10, 2026
Merged

Rich Chiodo (rchiodo) merged 1 commit into
microsoft:mainfrom
pdepetro:fix-test-pydev-monkey-syntax

Conversation

@pdepetro

Copy link
Copy Markdown
Contributor

The list comprehension in test_monkey_patch_c_program_arg used an illegal annotated target (for c: bytes in check), which is not valid Python. Replace it with a plain target and clean up trailing whitespace in test_monkey_patch_args_c_with_bytes.

The list comprehension in test_monkey_patch_c_program_arg used an illegal
annotated target (`for c: bytes in check`), which is not valid Python.
Replace it with a plain target and clean up trailing whitespace in
test_monkey_patch_args_c_with_bytes.
@pdepetro
Philip DePetro (pdepetro) requested a review from a team as a code owner June 9, 2026 21:46
@rchiodo

Copy link
Copy Markdown
Contributor

/azp run

@azure-pipelines

Copy link
Copy Markdown
Azure Pipelines successfully started running 1 pipeline(s).

@rchiodo
Rich Chiodo (rchiodo) merged commit 504e23c into microsoft:main Jun 10, 2026
25 of 27 checks passed
@pdepetro
Philip DePetro (pdepetro) deleted the fix-test-pydev-monkey-syntax branch June 11, 2026 04:00
shrewd-laidback palace (736-c41-2c1-e464fc974) pushed a commit to Swiss-Armed-Forces/Loom that referenced this pull request Sep 20, 2026
This MR contains the following updates:

| Package | Type | Update | Change | OpenSSF |
|---|---|---|---|---|
| [debugpy](https://aka.ms/debugpy) ([source](https://github.com/microsoft/debugpy)) | dev | patch | `1.8.21` → `1.8.22` | [![OpenSSF Scorecard](https://api.securityscorecards.dev/projects/github.com/microsoft/debugpy/badge)](https://securityscorecards.dev/viewer/?uri=github.com/microsoft/debugpy) |

---

### Release Notes

<details>
<summary>microsoft/debugpy (debugpy)</summary>

### [`v1.8.22`](https://github.com/microsoft/debugpy/releases/tag/v1.8.22): debugpy v1.8.22

[Compare Source](microsoft/debugpy@v1.8.21...v1.8.22)

##### Fixes

- Fix invalid type annotation in test\_pydev\_monkey comprehension by [@&#8203;pdepetro](https://github.com/pdepetro) in [#&#8203;2033](microsoft/debugpy#2033)
- Fix PEP 768 code injection SyntaxError when temp path contains backslashes by [@&#8203;rchiodo](https://github.com/rchiodo) with [@&#8203;Copilot](https://github.com/Copilot) in [#&#8203;2038](microsoft/debugpy#2038)
- Fix race between adapter connection publication and session attachment by [@&#8203;aperez](https://github.com/aperez) in [#&#8203;2049](microsoft/debugpy#2049)
- Fix debugger hang when expanding objects with blocking property getters ([#&#8203;2053](microsoft/debugpy#2053)) by [@&#8203;rchiodo](https://github.com/rchiodo) in [#&#8203;2055](microsoft/debugpy#2055)
- Fix duplicate stopped event when two threads hit a breakpoint at once by [@&#8203;aperez](https://github.com/aperez) in [#&#8203;2056](microsoft/debugpy#2056)
- Avoid exceptions in environment diagnostics by [@&#8203;rchiodo](https://github.com/rchiodo) in [#&#8203;2059](microsoft/debugpy#2059)
- Fix thread identity when the first traced call is another thread's is\_alive() by [@&#8203;aperez](https://github.com/aperez) in [#&#8203;2061](microsoft/debugpy#2061)
- Respect isolated mode when patching sys.path by [@&#8203;karandhaodiyal28-hash](https://github.com/karandhaodiyal28-hash) in [#&#8203;2050](microsoft/debugpy#2050)

##### Enhancements

- Add trigger\_exception\_handler() for post-mortem debugging of caught exceptions by [@&#8203;nshepperd](https://github.com/nshepperd) in [#&#8203;1996](microsoft/debugpy#1996)
- Add lldb attach-to-PID option for debugpy on Linux by [@&#8203;pdepetro](https://github.com/pdepetro) in [#&#8203;2052](microsoft/debugpy#2052)
- Populate hitBreakpointIds in the DAP stopped event by [@&#8203;aperez](https://github.com/aperez) in [#&#8203;2060](microsoft/debugpy#2060)
- Return the endpoint from listen() with the in-process adapter by [@&#8203;karandhaodiyal28-hash](https://github.com/karandhaodiyal28-hash) in [#&#8203;2051](microsoft/debugpy#2051)

##### Infrastructure work

- Add Dependabot configuration for pip and GitHub Actions by [@&#8203;rchiodo](https://github.com/rchiodo) in [#&#8203;2041](microsoft/debugpy#2041)
- Update vendored pydevd 3.4.1 -> 3.5.0 (maintenance refresh) by [@&#8203;rchiodo](https://github.com/rchiodo) in [#&#8203;2044](microsoft/debugpy#2044)
- Pin secure test dependency floors and drop EOL Python 3.9/3.8 by [@&#8203;rchiodo](https://github.com/rchiodo) in [#&#8203;2045](microsoft/debugpy#2045)
- Add more typing to debugpy and switch to 'standard' type checking mode by [@&#8203;rchiodo](https://github.com/rchiodo) in [#&#8203;1637](microsoft/debugpy#1637)
- Add debugpy release agent by [@&#8203;rchiodo](https://github.com/rchiodo) in [#&#8203;2062](microsoft/debugpy#2062)
- Pin GitHub Actions to full-length commit SHAs by [@&#8203;danfiedler-msft](https://github.com/danfiedler-msft) in [#&#8203;2063](microsoft/debugpy#2063)
- Add python 3.15 to tests by [@&#8203;finnagin](https://github.com/finnagin) in [#&#8203;2069](microsoft/debugpy#2069)

Thanks to [@&#8203;pdepetro](https://github.com/pdepetro), [@&#8203;rchiodo](https://github.com/rchiodo), [@&#8203;nshepperd](https://github.com/nshepperd), [@&#8203;aperez](https://github.com/aperez), [@&#8203;karandhaodiyal28-hash](https://github.com/karandhaodiyal28-hash), [@&#8203;danfiedler-msft](https://github.com/danfiedler-msft), and [@&#8203;finnagin](https://github.com/finnagin) for the commits.

**Full Changelog**: <microsoft/debugpy@v1.8.21...v1.8.22>

</details>

---

 - [ ] <!-- rebase-check -->If you want to rebase/retry this MR, check this box

---

This MR has been generated by [Mend Renovate CLI](https://github.com/renovatebot/renovate).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0NC4xMDMuNSIsInVwZGF0ZWRJblZlciI6IjQ0LjEwMy41IiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6WyJkZXBlbmRlbmNpZXMiLCJyZW5vdmF0ZSJdfQ==-->

See merge request swiss-armed-forces/cyber-command/cea/loom!814
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants