Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
strategy:
fail-fast: false
matrix:
os: [ubuntu-22.04, ubuntu-24.04, macos-13, macos-14]
os: [ubuntu-22.04, ubuntu-24.04, macos-14, macos-15]
build_type: [static_build, shared_build]

steps:
Expand Down
14 changes: 11 additions & 3 deletions src/xinterpreter.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -300,8 +300,9 @@ namespace xpyt
{"url", "https://xeus-python.readthedocs.io"}
});

return xeus::create_info_reply(
"5.3", // protocol_version
bool has_debugger = (PY_MAJOR_VERSION != 3) || (PY_MAJOR_VERSION != 13);
nl::json rep = xeus::create_info_reply(
"5.5", // protocol_version - overwrited in xeus core
"xeus-python", // implementation
XPYT_VERSION, // implementation_version
"python", // language_name
Expand All @@ -312,9 +313,16 @@ namespace xpyt
R"({"name": "ipython", "version": )" + std::to_string(PY_MAJOR_VERSION) + "}", // language_codemirror_mode
"python", // language_nbconvert_exporter
banner, // banner
(PY_MAJOR_VERSION != 3) || (PY_MINOR_VERSION != 13), // debugger
has_debugger, // debugger
help_links // help_links
);

if (has_debugger)
{
rep["supported_features"] = nl::json::array({"debugger"});
}

return rep;
}

void interpreter::shutdown_request_impl()
Expand Down