From 6ae8685e6798c2f41358901ac980d78c81af02d6 Mon Sep 17 00:00:00 2001 From: anutosh491 Date: Fri, 23 May 2025 13:44:37 +0530 Subject: [PATCH 1/2] Bump cppinterop to 1.7.0 --- CMakeLists.txt | 2 +- README.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 68b86cf9..f7789abc 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -91,7 +91,7 @@ endif() set(xeus_REQUIRED_VERSION 5.0.0) set(xeus_zmq_REQUIRED_VERSION 3.0.0) -set(CppInterOp_REQUIRED_VERSION 1.5.0) +set(CppInterOp_REQUIRED_VERSION 1.7.0) if (NOT TARGET xeus AND NOT TARGET xeus-static) find_package(xeus ${xeus_REQUIRED_VERSION} REQUIRED) diff --git a/README.md b/README.md index a3b88384..d3ca233f 100644 --- a/README.md +++ b/README.md @@ -138,7 +138,7 @@ http://xeus-cpp.readthedocs.io | `xeus-cpp` | `xeus-zmq` | `CppInterOp` | `pugixml` | `cpp-argparse`| `nlohmann_json` | |------------|-----------------|--------------|-----------|---------------|-----------------| -| main | >=3.0.0,<4.0.0 | >=1.5.0 | ~1.8.1 | >=3.0,<4.0 | >=3.11.3,<4.0 | +| main | >=3.0.0,<4.0.0 | >=1.7.0 | ~1.8.1 | >=3.0,<4.0 | >=3.12.0,<4.0 | | 0.6.0 | >=3.0.0,<4.0.0 | >=1.5.0 | ~1.8.1 | <3.1 | >=3.11.3,<4.0 | | 0.5.0 | >=3.0.0,<4.0.0 | >=1.3.0 | ~1.8.1 | <3.1 | >=3.11.3,<4.0 | From 042229f918c99c8ecc5c048281cb6a29dc1c5ef0 Mon Sep 17 00:00:00 2001 From: anutosh491 Date: Fri, 23 May 2025 14:01:59 +0530 Subject: [PATCH 2/2] fix ci --- test/test_xcpp_kernel.py | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/test/test_xcpp_kernel.py b/test/test_xcpp_kernel.py index b21375a3..09a0920b 100644 --- a/test/test_xcpp_kernel.py +++ b/test/test_xcpp_kernel.py @@ -35,10 +35,7 @@ def test_codecomplete(self) -> None: reply = self.get_non_kernel_info_reply(timeout=1) assert reply is not None self.assertEqual(reply["msg_type"], "complete_reply") - if platform.system() == 'Windows': - self.assertEqual(str(reply["content"]["matches"]), "['fabs', 'fabsf', 'fabsl', 'float', 'foo']") - else: - self.assertEqual(str(reply["content"]["matches"]), "['float', 'foo']") + self.assertEqual(reply["content"]["matches"], ['float', 'foo']) self.assertEqual(reply["content"]["status"], "ok") # Continuation