Skip to content

Commit

Permalink
updated xeus
Browse files Browse the repository at this point in the history
  • Loading branch information
DerThorsten committed Jun 11, 2024
1 parent 05088e2 commit ff6a553
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 5 deletions.
6 changes: 3 additions & 3 deletions environment-dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,13 @@ dependencies:
- nlohmann_json
- cppzmq
- xeus>=5.0.0,<=6.0
- xeus-zmq
- xeus-zmq>=3.0.0,<=4.0
- sqlite
- sqlitecpp
- cpp-tabulate=1.5
- xvega
- xvega>=0.1.0
- xproperty>=0.12.0
- xvega-bindings=0.0.10
- xvega-bindings>=0.1.0
# Test dependencies
- pytest
- jupyter_kernel_test
6 changes: 4 additions & 2 deletions src/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,9 @@

#include "xeus/xkernel.hpp"
#include "xeus/xkernel_configuration.hpp"
#include "xeus-zmq/xserver_shell_main.hpp"

#include "xeus-zmq/xserver_zmq_split.hpp"
#include "xeus-zmq/xzmq_context.hpp"

#include "xeus-sqlite/xeus_sqlite_interpreter.hpp"
#include "xeus-sqlite/xeus_sqlite_config.hpp"
Expand Down Expand Up @@ -97,7 +99,7 @@ int main(int argc, char* argv[])
// Load configuration file
std::string file_name = extract_filename(argc, argv);

auto context = xeus::make_context<zmq::context_t>();
std::unique_ptr<xeus::xcontext> context = xeus::make_zmq_context();

// Create interpreter instance
using interpreter_ptr = std::unique_ptr<xeus_sqlite::interpreter>;
Expand Down

0 comments on commit ff6a553

Please sign in to comment.