Repository navigation
Comparing changes
Open a pull request
base repository: microsoft/debugpy
base: v1.8.21
head repository: microsoft/debugpy
compare: v1.8.22
- 19 commits
- 82 files changed
- 11 contributors
Commits on Jun 10, 2026
-
Fix invalid type annotation in test_pydev_monkey comprehension (#2033)
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.
Configuration menu - View commit details
-
Copy full SHA for 504e23c - Browse repository at this point
Copy the full SHA 504e23cView commit details
Commits on Jun 15, 2026
-
Fix PEP 768 code injection SyntaxError when temp path contains backsl…
…ashes (#2038) * Initial plan * Fix PEP 768 code injection failing with backslash in temp path When attaching using PEP 768 style code injection, the os.remove() call written to the temp file embedded the raw temp file path. On Windows, backslashes in the path (e.g. C:\Users\...\Temp\tmpXXX) were interpreted as Python escape sequences, causing a SyntaxError. Fix by replacing backslashes with forward slashes in the temp file path before embedding it in the Python code string. Windows accepts forward slashes as path separators, so this is safe on all platforms. Also add a regression test that confirms the unfixed code raises SyntaxError and the fixed code compiles correctly. Closes #2037 * Address code review: rename test function and variable for clarity * Add test verifying sys.remote_exec is called with valid injected code on Windows paths Add test_pep_768_remote_exec_called_with_backslash_path which mocks sys.remote_exec, tempfile.NamedTemporaryFile (using a Windows-style backslash path), and calls attach_to_pid() directly. It asserts that: - sys.remote_exec is called with the correct path - The bytes written to the temp file compile as valid Python - The os.remove() call uses forward slashes (no raw backslash escapes) * Remove tautological test; use exact assertion in remote_exec test * Fix POSIX regression: use repr() instead of replace for path embedding * Use {tmp_file_path!r} format per PR #2039 style --------- Co-authored-by: copilot-swe-agent[bot] <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 51f0f80 - Browse repository at this point
Copy the full SHA 51f0f80View commit details
Commits on Jun 24, 2026
-
Add Dependabot configuration for pip and GitHub Actions (#2041)
* Add Dependabot configuration for pip and GitHub Actions Enables automated dependency and security (CVE) update PRs for the pip test requirements and the GitHub Actions used in workflows. Co-authored-by: Copilot <[email protected]> * Address review feedback on dependabot config - Clarify header comment: this file enables version updates only; CVE security updates require the separate repo Settings toggle. - Drop custom 'python' and 'github-actions' labels that Dependabot would silently ignore; keep only the auto-created 'dependencies' label. Co-authored-by: Copilot <[email protected]> --------- Co-authored-by: Copilot <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for e61c04e - Browse repository at this point
Copy the full SHA e61c04eView commit details -
git subrepo commit (merge) src/debugpy/_vendored/pydevd (#2044)
subrepo: subdir: "src/debugpy/_vendored/pydevd" merged: "517195ea" upstream: origin: "https://github.com/fabioz/PyDev.Debugger.git" branch: "main" commit: "d6bc5f50" git-subrepo: version: "0.4.1" origin: "???" commit: "???"
Configuration menu - View commit details
-
Copy full SHA for 29e2d94 - Browse repository at this point
Copy the full SHA 29e2d94View commit details -
Pin secure test dependency floors and drop EOL Python 3.9/3.8 (#2045)
* Drop Python 3.9/3.8 support and pin secure test dependency floors pytest>=9.0.3, requests>=2.33.0 and urllib3>=2.7.0 all require Python >=3.10, so they have no installable candidate on Python 3.9. Since Python 3.9 and 3.8 are EOL, drop them from the test matrix and bump the minimum supported version to 3.10, and add the CVE-driven dependency floors (supersedes #2043). Co-authored-by: Copilot <[email protected]> * ci: restore x86 Windows leg on Python 3.10 * ci: drop x86 Windows leg (gevent has no cp310-win32 wheel) The previously re-added py310_32 (32-bit Windows) leg runs `pip install -r tests/requirements.txt` on win32 CPython 3.10. gevent publishes no cp310-win32 wheel (only win_amd64), so pip would fall back to a source build of gevent/greenlet/libev/c-ares and risk failing the leg at install -- the same install-failure class this PR removes. numpy and Cython do ship cp310-win32 wheels, but there is no reliable PEP 508 marker to drop only gevent for a 32-bit interpreter on 64-bit Windows, so the leg is removed to keep CI green and consistent with the PR intent. Co-authored-by: Copilot <[email protected]> * Align pyproject.toml lint/type targets with Python 3.10 floor Bump [tool.pyright] pythonVersion and [tool.ruff] target-version from 3.8/py38 to 3.10/py310 (and update the comment) so the Lint stage and pyright validate against the supported floor this PR converges on. Co-authored-by: Copilot <[email protected]> --------- Co-authored-by: Copilot <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for cd699b4 - Browse repository at this point
Copy the full SHA cd699b4View commit details
Commits on Jul 20, 2026
-
Add trigger_exception_handler() for post-mortem debugging of caught e…
…xceptions (#1996) * Add trigger_exception_handler function and tracing suspend/resume support * Regenerate cython files. * Add post_mortem unit tests. * Add an example to the README * Ensure __exception__ is always removed from frame after breakpoint evaluation * Remove unused frames_byid construction in trigger_exception_handler * pydev_log.warn for rare no user frame case * Restore __exception__ frame local instead of deleting it pydevd injects __exception__ into the stopped frame's locals for the Locals view, then removed it unconditionally. On Python 3.14 deleting a real frame local raises ValueError (FrameLocalsProxy), so if the user's own code has a variable named __exception__, the stop crashes; on any version the user's value was silently clobbered. Add an exception_on_frame context manager that saves the prior binding and restores it by assignment (never deleting), and use it in the two trigger_exception_handler stop paths. Regression test covers both as_uncaught modes with an __exception__ local in the stopped frame. Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]> * Attach the exception to the innermost non-pydev frame. * Suppress ruff on test_trigger_exception_handler_preserves_frame_local --------- Co-authored-by: Claude Opus 4.8 (1M context) <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 6e74e90 - Browse repository at this point
Copy the full SHA 6e74e90View commit details
Commits on Jul 24, 2026
-
Fix race between adapter connection publication and session attachment (
#2049) * Fix race between adapter connection publication and session attachment `Connection.__init__` publishes a new connection to `_connections` under `_lock`, then releases the lock before classifying it. In that window another thread can attach the connection to a session (via an `attach` request or the launch flow), which sets `conn.server` and the session's `pid`. When the constructor resumes, `sessions.get(self.pid)` returns that just-attached session, and because it is not a process replacement the old code logged "is not expecting replacement" and closed the channel, dropping a session that was already live. This shows up with subprocess debugging and in-place process replacement. Fix it by re-checking under `_lock` whether the connection was already attached (`self.server is not None`) before treating it as an unexpected replacement. Closing the channel under `_lock` is deadlock-free: `JsonMessageChannel.close()` only takes the channel's own lock and the disconnect handler runs on the parser thread. Add a regression test that overlaps publication and attachment. * Make the adapter race regression test behavioral
Configuration menu - View commit details
-
Copy full SHA for 89855c3 - Browse repository at this point
Copy the full SHA 89855c3View commit details
Commits on Aug 5, 2026
-
Add lldb attach-to-PID option for debugpy on Linux (#2052)
* Add lldb attach-to-PID option for debugpy on Linux Add an option to prefer lldb (falling back to gdb) when attaching to a process by PID on Linux. debugpy's attach-by-PID flow injects the debug server into a target process. On Linux it has always shelled out to gdb; on macOS it uses lldb. In some environments lldb is the available/preferred injector on Linux. This adds an opt-in preference, surfaced as a VS Code launch configuration option "linuxAttachPreferLldb". The selector flows end to end: adapter/clients.py reads linuxAttachPreferLldb from the attach request and forwards --linux-attach-prefer-lldb to the injector subprocess; server/cli.py parses that switch and sets the PYDEVD_ATTACH_PREFER_LLDB environment variable; add_code_to_python_process.py reads it at call time in the new run_python_code_linux dispatcher, which uses lldb when it is preferred and present on PATH, and otherwise transparently falls back to gdb. Implementation notes: - run_python_code_linux_lldb mirrors the existing run_python_code_mac lldb invocation but resolves the Linux .so via get_target_filename() and reuses the shared linux_and_mac/lldb_prepare.py driver. No native code changes are needed: both paths call the same exported DoAttach entry point. - The PEP 768 sys.remote_exec fast path (Python 3.14+) runs first and is unaffected; the lldb preference only applies on the gdb/lldb fallback path. * Address review feedback on the Linux lldb attach option Extract the shared lldb injector, and fix a test that could fail spuriously depending on the ambient environment. run_python_code_linux_lldb duplicated run_python_code_mac in full: command construction, quoting, environment scrubbing, and subprocess execution were byte-identical apart from the .so/.dylib error message. Both are now thin wrappers over a shared _run_python_code_lldb(), which takes the library-not-found message as its only platform-specific input. Command generation and error text were verified unchanged against the previous implementation for both platforms. test_attach_to_pid_propagates_lldb_preference asserted show_debug_info=0, but attach_to_pid() derives that from DEBUGPY_ATTACH_BY_PID_DEBUG_INFO, which the test did not isolate. The variable is now cleared alongside PYDEVD_ATTACH_PREFER_LLDB, so the assertion stays exact and additionally pins the default. Tests are restructured to match: the shared flow is covered once against _run_python_code_lldb, and the platform wrappers are covered only for what they contribute - the error message and argument forwarding. They pass show_debug_info=7 rather than 0 so the assertions can distinguish a forwarded value from the default (is_debug is also 0 in the same command).
Configuration menu - View commit details
-
Copy full SHA for 70a9e8f - Browse repository at this point
Copy the full SHA 70a9e8fView commit details
Commits on Aug 6, 2026
-
Fix debugger hang when expanding objects with blocking property gette…
…rs (#2053) (#2055) * Fix debugger hang when expanding objects with blocking property getters (#2053) Inspecting an object whose property getters block on a background thread (e.g. lancedb's LanceDBConnection, which dispatches to a daemon event-loop thread) hung the debugger. At a breakpoint all threads are suspended, so expanding the variable evaluated a property that waited forever on the suspended background thread -> deadlock. repr() was unaffected because it never touches the properties. Fixes: - Add PYDEVD_UNBLOCK_THREADS_ON_VARIABLES_TIMEOUT (default 3.0s). When resolving a variable's children takes too long, resume the other threads until it finishes, then re-suspend -- so the debugger recovers instead of hanging. Reuses the existing evaluate-path unblock machinery, extracted into a shared unblock_threads_on_timeout context manager. - DefaultResolver._get_py_dictionary now calls getattr a single time (try/except AttributeError) instead of hasattr + getattr, which evaluated every property/descriptor twice. Adds a regression test reproducing the deadlock via the variables request. Co-authored-by: Copilot App <[email protected]> * Address review: serialize unblock resume/re-suspend under lock; drop inline issue URLs Co-authored-by: Copilot <[email protected]> --------- Co-authored-by: Copilot App <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 0bb292c - Browse repository at this point
Copy the full SHA 0bb292cView commit details -
Fix duplicate stopped event when two threads hit a breakpoint at once (…
…#2056) * Fix duplicate stopped event when two threads hit a breakpoint at once A breakpoint hit suspends every other thread. `pydevd_frame` folds `pydev_state != STATE_SUSPEND` into its line breakpoint condition, so the legacy tracer never reports a breakpoint on a thread that another thread has already suspended. `_internal_line_event` had no such condition and evaluated breakpoints before checking for a pending suspend, so a thread suspended while blocked still reported its own breakpoint on waking, producing a second stopped event for what is a single all-threads stop. Mirror that condition in the sys.monitoring backend. The test parks a second thread inside a timed `Lock.acquire`, which runs no traced line, so it is reliably suspended by the main thread's breakpoint while its next traced line is still its own. It asserts that exactly one stopped event was sent, and that the second thread did reach its breakpoint so it cannot pass vacuously. * Regenerate the sys.monitoring Cython sources Generated output only, no hand edits. Produced by `build_tools/build.py` with Cython 3.2.4, the version stamped in the existing generated sources. Kept as its own commit so the one line change can be read and blamed without the generated files mixed in.
Configuration menu - View commit details
-
Copy full SHA for f77d448 - Browse repository at this point
Copy the full SHA f77d448View commit details
Commits on Aug 7, 2026
-
Avoid exceptions in environment diagnostics (#2059)
* Avoid exceptions in environment diagnostics Co-authored-by: Copilot App <[email protected]> * Narrow real_prefix regression test to targeted exception Co-authored-by: Copilot <[email protected]> --------- Co-authored-by: Copilot App <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 7d3f861 - Browse repository at this point
Copy the full SHA 7d3f861View commit details -
Populate hitBreakpointIds in the DAP stopped event (#2060)
* Populate hitBreakpointIds in the DAP stopped event The DAP stopped event declares hitBreakpointIds so clients can show which breakpoint caused a stop, but debugpy never filled it in, so the field was permanently absent and a stop could not be attributed when a file had more than one breakpoint. Both backends now record the id of the breakpoint being waited on, covering line, function, and plugin (template) breakpoints. The id is recorded immediately before the thread waits, so it is set only when the thread really suspends, and cleared on resume so a later stop cannot inherit it. It is attached only to breakpoint and function breakpoint stops, because the pause timeout can re-report a thread that is still parked at a breakpoint. Function breakpoints carried no id at all, so `FunctionBreakpoint` now takes `breakpoint_id` as its first parameter, matching `LineBreakpoint`. The list only ever holds one id. pydevd keeps at most one breakpoint per resolved line (`consolidate_breakpoints`) and discards the rest, so their conditions never run and naming them would be misleading. Making the list meaningful needs one-to-many breakpoint storage, which is separate work. * Regenerate the Cython sources for hitBreakpointIds Regenerated with Cython 3.2.4 to match the existing generated sources, and with PYDEVD_FORCE_BUILD_ALL so the frame evaluator is regenerated too: it cimports the additional thread info, so it goes stale when a field is added. * Omit hitBreakpointIds when several breakpoints share the hit line VS Code reads the field in one place, to arm triggered breakpoints, and branches on its presence: when it is set it matches by id and skips the fallback that matches every breakpoint at the stop position. A partial value is therefore worse than no value, because it suppresses the fallback that would otherwise have found the breakpoints left out. That is reachable here. Breakpoints are consolidated per resolved line, so two that adjust onto the same line leave one survivor, and reporting it alone would hide the other from the fallback. Both emission sites now go through a helper that omits the field in that case, which restores the previous behaviour exactly when the line is ambiguous and keeps the precise id otherwise. Template breakpoints consolidate the same way and are covered. Function breakpoints consolidate by name rather than by line, so duplicate names collapse in the same fashion; that case is not detected here.
Configuration menu - View commit details
-
Copy full SHA for 2f73444 - Browse repository at this point
Copy the full SHA 2f73444View commit details
Commits on Aug 10, 2026
-
Add more typing to debugpy and switch to 'standard' type checking mode (
#1637) * Make typing even more restrictive and start fixing some more errors * More typing * Finish typing debupy python code * Rest of the API typed * Put back wait_for_client variable * Update test requirements * Fix converter * Fix linter * Fix messaging error * Review feedback and fixup more types * fix request_options * Fix debug output and put wait back the way it was * Skip importing sessions unless type checking * Hide types to prevent runtime issue * Fix linter * Remove inappropriate static method * Fix linux failures * Fix type errors * Cannot reference socket even in types * Fix linter again * Address review feedback: fix runtime bugs and add tests - messaging.Message.__call__: fix dead no-arg fast path (args.count -> len(args)) - messaging.OutgoingRequest.wait_for_response: honor raise_if_failed=False by returning the error body instead of asserting; return type now MessageDict|Exception - messaging: complete AssociableMessageDict migration; associate_with is now a real method backed by a shared associated_dicts list instead of a setattr closure - server/api._settrace: only latch called on success so a failed settrace no longer permanently blocks configure(); drop no-op except/finally - adapter/servers.authenticate: fail closed when authorize result is an Exception - common/util.Observable.observers: revert class default to immutable tuple to avoid shared-mutable footgun; typed and callers reassign instead of in-place += - common/json._converter: document the int/float narrowing from numbers.Number - add unit tests for wait_for_response(raise_if_failed=False), Message.__call__() no-arg, and the configure() already-running guard incl. the settrace-failure case Co-authored-by: Copilot <[email protected]> * Fail fast on missing server listener for debug launch Restore fail-fast behavior in spawn_debuggee: for a real debug launch, assert servers.listener is not None instead of silently skipping the port/adapterAccessToken setup, which would spawn a debuggee unable to connect back. Co-authored-by: Copilot <[email protected]> * Fail fast on None invariants instead of degraded fallbacks Address review feedback on the typing pass: replace silently-degraded None fallbacks with fail-fast asserts, and make ThreadSafeSingleton.assert_locked side-effect-free. - singleton.py: assert_locked now checks lock._is_owned() instead of acquire()/release(), avoiding RLock recursion-count mutation and an unbalanced release() under python -O. - servers.py: assert pydevdSystemInfo result is non-exception (pid/ppid always assigned before use); assert listener in inject() rather than connecting to an empty address. - clients.py: assert servers.listener in attach_request and the client listener in notify_of_subprocess instead of substituting ("", 0)/None. - debuggee.py: assert process in wait_for_exit rather than reporting a bogus clean exit (code 0). Co-authored-by: Copilot <[email protected]> * Fix messaging response test race Co-authored-by: Copilot <[email protected]> * Address latest review feedback Co-authored-by: Copilot <[email protected]> * Fix standard-mode type errors in components.missing and log package enumeration - components.py: cast to the TypeVar T instead of the runtime ype parameter (reportInvalidTypeForm). - log.py: extend the protocol/guard to require both name and version so pkg.version is valid. Co-authored-by: Copilot <[email protected]> * Handle exception/empty payloads explicitly in messaging Message.__call__ and Response - Message.__call__ now raises exception payloads explicitly instead of relying on an assert, so behavior is consistent when assertions are stripped under python -O. - Request.respond normalizes a None body for successful empty responses to an empty payload, so Response.body is always a MessageDict or Exception (fixes standard type checking and matches how incoming empty responses are parsed). Co-authored-by: Copilot <[email protected]> * Add regression test for out-of-order configurationDone guard The configurationDone_request guard was changed from a silently ineffective request.cant_handle(...) into a fail-fast raise. Add targeted coverage for receiving configurationDone before a start request and after startup has already begun, verifying a failure response is sent and startup side effects do not run. Co-authored-by: Copilot <[email protected]> * Type launch/attach handler as messaging.Request and drop redundant guards The _start_message_handler handle() only ever receives launch/attach requests (enforced by the assert on entry). Typing it as messaging.Message forced isinstance(request, messaging.Request) fallbacks that, with assertions disabled (python -O), could let a non-request message skip initialization/response and leave the client waiting. Type the parameter as messaging.Request and remove the now-redundant guards. Co-authored-by: Copilot <[email protected]> * Fix EOF guard in listen(): treat empty read as EOF sock_io.read() returns b'' at EOF, not None, so the previous is None guard never fired and an empty adapter handshake fell through to json.loads producing a JSONDecodeError. Use a non-shadowing name and check ot data. Co-authored-by: Copilot <[email protected]> * ci: fix pytest-retry tmp_path teardown KeyError on pytest 9 pytest-retry re-runs flaky tests' setup/call phases directly without firing pytest_runtest_makereport, so pytest 9's tmp_path finalizer never repopulates its tmppath_result_key stash entry after the first attempt's teardown deletes it, raising KeyError at teardown (seen on py314 when test_attach_pid_client was retried). Re-seed the stash key in a pytest_runtest_setup hook, which pytest-retry runs on each retry. Co-authored-by: Copilot <[email protected]> * Add focused test coverage for ThreadSafeSingleton.assert_locked Address review feedback: cover the owned-vs-unlocked invariant that assert_locked now enforces (_is_owned() check). Verifies attribute access succeeds when the current thread owns the lock and fails fast (AssertionError) on read/write when unlocked. Co-authored-by: Copilot <[email protected]> * Address review feedback: OutgoingRequest typing, tests, and docs - messaging.py: replace setattr-based _parse/_handle override on OutgoingRequest with explicit class-level typed optional attributes so the override stays statically visible to Pyright. - test_messaging.py: pin the respond(None) contract (Response.body is an empty MessageDict, never None), matching incoming empty responses. - test_json.py: add focused regression coverage pinning _converter to int/float and rejecting Decimal/complex/Fraction. - CONTRIBUTING.md: document the standard Pyright mode and the repository-wide prohibition on '# type: ignore' (use targeted '# pyright: ignore[...]'). Co-authored-by: Copilot <[email protected]> * Add test coverage for empty adapter-read EOFError path in listen() Restores tests/debugpy/server/test_api.py (referenced by the PR description) with focused coverage for the empty-read -> EOFError path in debugpy.server.api.listen(): an empty read (b'') from the adapter endpoints socket must surface an EOFError rather than falling through to json.loads. Co-authored-by: Copilot <[email protected]> * Reject evaluate requests that cannot be propagated Co-authored-by: Copilot <[email protected]> * Remove broad decorator type suppression Mark the class-local decorator helper static so Pyright no longer treats its wrapped callable as an instance-method self parameter. Co-authored-by: Copilot <[email protected]> --------- Co-authored-by: Copilot <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 9832f3f - Browse repository at this point
Copy the full SHA 9832f3fView commit details -
Return the endpoint from listen() with the in-process adapter (#2051)
* Return the endpoint from listen() with the in-process adapter debugpy.listen(..., in_process_debug_adapter=True) returned None, while the out-of-process path and the documented API both return the (host, port) tuple. That's a problem when you pass port 0, since there's then no way to find out which port was actually chosen. Return the endpoint and set listen.called so the in-process path matches the out-of-process one. Fixes #1656. Signed-off-by: Karan Dhaodiyal <[email protected]> * FIX: return actual bound port for in-process adapter in debugpy.listen() --------- Signed-off-by: Karan Dhaodiyal <[email protected]> Co-authored-by: Karan Dhaodiyal <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 7ca4578 - Browse repository at this point
Copy the full SHA 7ca4578View commit details -
Fix thread identity when the first traced call is another thread's is…
…_alive() (#2061) * Fix thread identity when the first traced call is another thread's is_alive() To learn which `threading.Thread` a running thread is, pydevd walks up its stack to the frame that started it and reads the `Thread` out of that frame's locals. `is_alive` counts as such a frame, and its `self` is taken to be the running thread. But `is_alive` is public and normally asks about a different thread, so `other.is_alive()` yields `other`, not the caller. The result is cached for the thread's lifetime, so its breakpoints, suspends and steps are then all reported under another thread's id, and once two threads share an id pydevd logs "Something is wrong. Tracker being added twice to the same thread id." Reject the candidate when its `ident` is not the running thread's, which falls back to `threading`'s own id-to-thread table. The check is on identity rather than on the frame's name because `is_alive` is not the only way a wrong `self` can be read: frames are matched by file basename, so a `_bootstrap_inner` in any user module named `threading.py` qualifies too. The test mirrors what an IDE user hits: a poller thread watching a worker's `is_alive()`, with the breakpoint set while the program is already running. The poller waits on a plain lock, which runs no Python, so `worker.is_alive()` is reliably its first traced call once the breakpoint turns tracing on. Without the fix the stop is reported on `worker` rather than `poller`. The generated `.c` follows in the next commit. * Regenerate _pydevd_sys_monitoring_cython.c Generated output only, no hand edits. Produced by `build_tools/build.py` with Cython 3.2.4, the version stamped in the existing generated sources, so the diff stays confined to the change itself: `_create_thread_info` picks up the new `getattr(t, "ident", None) != thread_ident` branch (plus the temp and label renumbering that follows from it) and the compressed string table shifts because it embeds the source line. Kept as its own commit so the hand-written change can be read, blamed and cherry-picked without the generated file mixed in.
Configuration menu - View commit details
-
Copy full SHA for d98001c - Browse repository at this point
Copy the full SHA d98001cView commit details
Commits on Aug 11, 2026
-
Add debugpy release agent (#2062)
* Add debugpy release agent Automate the guarded tag, signed build, PyPI publication, and GitHub release workflow without committing internal infrastructure details. Co-authored-by: Copilot <[email protected]> Copilot-Session: eaf32286-5971-44a3-ad1e-5fdbb2a89f8d * Address release agent review feedback Add deterministic state reconciliation, resumable releases, required-check discovery, exact build pinning, bounded PyPI verification, and backport-aware latest handling. Allow private pipeline URLs through environment variables. Co-authored-by: Copilot <[email protected]> Copilot-Session: eaf32286-5971-44a3-ad1e-5fdbb2a89f8d * Address remaining release agent feedback Co-authored-by: Copilot <[email protected]> * Harden release resume state handling Make local-only tag recovery re-derivable, prevent republishing after PyPI succeeds, and preserve the Phase 1 latest-selection baseline across resumed runs. Co-authored-by: Copilot <[email protected]> Copilot-Session: eaf32286-5971-44a3-ad1e-5fdbb2a89f8d * Clarify release baseline lifecycle Keep local-tag recovery within the full preflight and recompute the latest-selection baseline deterministically for each invocation, with a final release-set recheck. Co-authored-by: Copilot <[email protected]> Copilot-Session: eaf32286-5971-44a3-ad1e-5fdbb2a89f8d * Disambiguate release recovery inventory Separate local and remote tag state during recovery and exclude the verified in-flight PyPI version from final concurrency reconciliation. Co-authored-by: Copilot <[email protected]> Copilot-Session: eaf32286-5971-44a3-ad1e-5fdbb2a89f8d * Tighten release agent execution contract Use host-provided tools, centralize recovery inventory, define backports, unify in-flight PyPI state, and clean temporary artifacts on all exit paths. Co-authored-by: Copilot <[email protected]> Copilot-Session: eaf32286-5971-44a3-ad1e-5fdbb2a89f8d --------- Co-authored-by: Copilot <[email protected]> Copilot-Session: eaf32286-5971-44a3-ad1e-5fdbb2a89f8d
Configuration menu - View commit details
-
Copy full SHA for 6dd019a - Browse repository at this point
Copy the full SHA 6dd019aView commit details
Commits on Aug 12, 2026
-
Respect isolated mode when patching sys.path (#2050)
* Respect isolated mode when patching sys.path * Also respect safe path mode (-P/PYTHONSAFEPATH) when patching sys.path * tests: harden test_safe_sys_path_modes subprocess handling - Add explicit timeout=30 to fail fast on Windows py312 hangs. - Capture stderr (was DEVNULL) so failures are diagnosable. - Add explicit pytest.fail messages on TimeoutExpired / CalledProcessError and on the equality assertion. * refactor(cli): rename local dir variable to target_dir --------- Co-authored-by: Karan Dhaodiyal <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 7959635 - Browse repository at this point
Copy the full SHA 7959635View commit details
Commits on Aug 17, 2026
-
Configuration menu - View commit details
-
Copy full SHA for e5743d3 - Browse repository at this point
Copy the full SHA e5743d3View commit details
Commits on Sep 1, 2026
-
Add python 3.15 to tests (#2069)
* add 3.15rc1 to pipelines, update 3.14rc2->3.14 * add 3.15 to classifiers list in setup.py * Add 315 to tox.ini * add minor number to 3.15rc1 version number * add 3.15 support to py_version.hpp * Test nested exception handling during unhandled exception reporting Verify that an exception already reported as unhandled remains recognized after a nested exception replaces the transient exception state. This prevents the original exception from being reported twice. * Preserve reported unhandled exceptions across nested exceptions Track the identity of an exception once it has been reported as unhandled so that nested exceptions cannot cause it to be reported again. Clear the transient exception state before stopping while retaining the reported exception tag for the remainder of its unwind. This fixes duplicate SystemExit stops exposed by Python 3.15, where traceback formatting can trigger a nested monitored exception while resolving its lazy _colorize import. * Regenerate sys.monitoring Cython sources Regenerate the .pyx and .c files from the modified _pydevd_sys_monitoring.py implementation. * Ignore multithreaded fork warning in multiprocessing tests Python 3.15 propagates the multithreaded os.fork() DeprecationWarning as an exception when warnings are configured as errors. Debuggee test sessions set PYTHONWARNINGS=error, and debugpy's worker threads cause CPython to emit this warning during the multiprocessing fork tests. The child process has already been created when the warning is raised in the parent. This terminates the parent while the child is attaching, resulting in premature terminated events or test timeouts. Ignore only this specific warning when the test intentionally uses the fork start method. Other warnings remain errors, and spawn-based tests are unaffected.
Configuration menu - View commit details
-
Copy full SHA for e220805 - Browse repository at this point
Copy the full SHA e220805View commit details
This comparison is taking too long to generate.
Unfortunately it looks like we can’t render this comparison for you right now. It might be too big, or there might be something weird with your repository.
You can try running this command locally to see the comparison on your machine:
git diff v1.8.21...v1.8.22