Skip to content

Commit

Permalink
Fix auto-merger error merging branch 23.11 into 24.03
Browse files Browse the repository at this point in the history
Merge pull request #419 from mdemoret-nv/branch-24.03-merge-23.11
  • Loading branch information
mdemoret-nv authored Dec 6, 2023
2 parents b152175 + 960b8d1 commit 5d9bd22
Show file tree
Hide file tree
Showing 31 changed files with 45 additions and 63 deletions.
34 changes: 34 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,37 @@
# MRC 23.11.00 (30 Nov 2023)

## 🐛 Bug Fixes

- Use a traditional semaphore in AsyncioRunnable ([#412](https://github.com/nv-morpheus/MRC/pull/412)) [@cwharris](https://github.com/cwharris)
- Fix libhwloc & stubgen versions to match dev yaml ([#405](https://github.com/nv-morpheus/MRC/pull/405)) [@dagardner-nv](https://github.com/dagardner-nv)
- Update boost versions to match version used in dev env ([#404](https://github.com/nv-morpheus/MRC/pull/404)) [@dagardner-nv](https://github.com/dagardner-nv)
- Fix EdgeHolder from incorrectly reporting an active connection ([#402](https://github.com/nv-morpheus/MRC/pull/402)) [@dagardner-nv](https://github.com/dagardner-nv)
- Safe handling of control plane promises & fix CI ([#391](https://github.com/nv-morpheus/MRC/pull/391)) [@dagardner-nv](https://github.com/dagardner-nv)
- Revert boost upgrade, and update clang to v16 ([#382](https://github.com/nv-morpheus/MRC/pull/382)) [@dagardner-nv](https://github.com/dagardner-nv)
- Fixing an issue with `update-versions.sh` which always blocked CI ([#377](https://github.com/nv-morpheus/MRC/pull/377)) [@mdemoret-nv](https://github.com/mdemoret-nv)
- Add test for gc being invoked in a thread finalizer ([#365](https://github.com/nv-morpheus/MRC/pull/365)) [@dagardner-nv](https://github.com/dagardner-nv)
- Adopt patched pybind11 ([#364](https://github.com/nv-morpheus/MRC/pull/364)) [@dagardner-nv](https://github.com/dagardner-nv)

## 📖 Documentation

- Add missing flags to docker command to mount the working dir and set -cap-add=sys_nice ([#383](https://github.com/nv-morpheus/MRC/pull/383)) [@dagardner-nv](https://github.com/dagardner-nv)
- Make Quick Start Guide not use `make_node_full` ([#376](https://github.com/nv-morpheus/MRC/pull/376)) [@cwharris](https://github.com/cwharris)

## 🚀 New Features

- Add AsyncioRunnable ([#411](https://github.com/nv-morpheus/MRC/pull/411)) [@cwharris](https://github.com/cwharris)
- Adding more coroutine components to support async generators and task containers ([#408](https://github.com/nv-morpheus/MRC/pull/408)) [@mdemoret-nv](https://github.com/mdemoret-nv)
- Update ObservableProxy::pipe to support any number of operators ([#387](https://github.com/nv-morpheus/MRC/pull/387)) [@cwharris](https://github.com/cwharris)
- Updates for MRC/Morpheus to build in the same RAPIDS devcontainer environment ([#375](https://github.com/nv-morpheus/MRC/pull/375)) [@cwharris](https://github.com/cwharris)

## 🛠️ Improvements

- Move Pycoro from Morpheus to MRC ([#409](https://github.com/nv-morpheus/MRC/pull/409)) [@cwharris](https://github.com/cwharris)
- update rapidsai/ci to rapidsai/ci-conda ([#396](https://github.com/nv-morpheus/MRC/pull/396)) [@AyodeAwe](https://github.com/AyodeAwe)
- Add local CI scripts & rebase docker image ([#394](https://github.com/nv-morpheus/MRC/pull/394)) [@dagardner-nv](https://github.com/dagardner-nv)
- Use `copy-pr-bot` ([#369](https://github.com/nv-morpheus/MRC/pull/369)) [@ajschmidt8](https://github.com/ajschmidt8)
- Update Versions for v23.11.00 ([#357](https://github.com/nv-morpheus/MRC/pull/357)) [@mdemoret-nv](https://github.com/mdemoret-nv)

# MRC 23.07.00 (19 Jul 2023)

## 🚨 Breaking Changes
Expand Down
2 changes: 1 addition & 1 deletion ci/conda/environments/dev_env.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ dependencies:
- benchmark=1.6.0
- boost-cpp=1.82
- ccache
- cmake=3.24
- cmake=3.25
- cuda-toolkit # Version comes from the channel above
- cxx-compiler # Sets up the distro versions of our compilers
- doxygen=1.9.2
Expand Down
2 changes: 1 addition & 1 deletion external/utilities
Submodule utilities updated 1 files
+15 −0 CHANGELOG.md
2 changes: 1 addition & 1 deletion python/mrc/_pymrc/include/pymrc/asyncio_runnable.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -212,7 +212,7 @@ class AsyncioRunnable : public AsyncSink<InputT>,
/**
* @brief A semaphore used to control the number of outstanding operations. Acquire one before
* beginning a task, and release it when finished.
*/
*/
std::counting_semaphore<8> m_task_tickets{8};
};

Expand Down
4 changes: 3 additions & 1 deletion python/mrc/_pymrc/include/pymrc/coro.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,9 @@
#include <coroutine>
#include <exception>
#include <memory>
#include <ostream>
#include <sstream> // for operator<<, basic_ostringstream
#include <stdexcept> // for runtime_error
#include <string> // for string
#include <utility>

// Dont directly include python headers
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@
#include <pybind11/pybind11.h>
#include <pybind11/pytypes.h>

#include <array>
#include <exception>
#include <functional>
#include <sstream>
Expand Down
1 change: 0 additions & 1 deletion python/mrc/_pymrc/src/executor.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@
#include "mrc/types.hpp"

#include <boost/fiber/future/async.hpp>
#include <boost/fiber/future/future.hpp>
#include <boost/fiber/future/future_status.hpp>
#include <glog/logging.h>
#include <pybind11/cast.h>
Expand Down
1 change: 0 additions & 1 deletion python/mrc/_pymrc/src/module_registry.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@
#include <pybind11/pybind11.h>
#include <pybind11/pytypes.h>

#include <array>
#include <memory>
#include <ostream>
#include <utility>
Expand Down
1 change: 0 additions & 1 deletion python/mrc/_pymrc/src/module_wrappers/pickle.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@
#include <pybind11/pybind11.h>
#include <pybind11/pytypes.h>

#include <array>
#include <memory>
#include <ostream>

Expand Down
3 changes: 1 addition & 2 deletions python/mrc/_pymrc/src/module_wrappers/shared_memory.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,9 @@
#include "pymrc/utilities/object_cache.hpp"

#include <pybind11/cast.h>
#include <pybind11/pybind11.h>
#include <pybind11/pybind11.h> // IWYU pragma: keep
#include <pybind11/pytypes.h>

#include <array>
#include <cstddef>
#include <stdexcept>
#include <string>
Expand Down
5 changes: 0 additions & 5 deletions python/mrc/_pymrc/src/segment.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -28,12 +28,9 @@
#include "mrc/channel/status.hpp"
#include "mrc/edge/edge_builder.hpp"
#include "mrc/node/port_registry.hpp"
#include "mrc/node/rx_sink_base.hpp"
#include "mrc/node/rx_source_base.hpp"
#include "mrc/runnable/context.hpp"
#include "mrc/segment/builder.hpp"
#include "mrc/segment/object.hpp"
#include "mrc/types.hpp"

#include <glog/logging.h>
#include <pybind11/cast.h>
Expand All @@ -44,15 +41,13 @@
#include <exception>
#include <fstream>
#include <functional>
#include <future>
#include <iterator>
#include <map>
#include <stdexcept>
#include <string>
#include <type_traits>
#include <typeindex>
#include <utility>
#include <vector>

// IWYU thinks we need array for py::print
// IWYU pragma: no_include <array>
Expand Down
1 change: 0 additions & 1 deletion python/mrc/_pymrc/src/subscriber.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@
#include <pybind11/pytypes.h>
#include <rxcpp/rx.hpp>

#include <array>
#include <exception>
#include <functional>
#include <stdexcept>
Expand Down
1 change: 0 additions & 1 deletion python/mrc/_pymrc/src/utilities/object_cache.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@
#include <pybind11/pytypes.h>
#include <pylifecycle.h>

#include <array>
#include <mutex>
#include <ostream>
#include <stdexcept>
Expand Down
4 changes: 1 addition & 3 deletions python/mrc/_pymrc/src/watchers.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,8 @@
#include "mrc/benchmarking/tracer.hpp"
#include "mrc/node/rx_node.hpp"
#include "mrc/node/rx_sink.hpp"
#include "mrc/node/rx_source.hpp"
#include "mrc/segment/builder.hpp"
#include "mrc/segment/object.hpp"

#include <nlohmann/json.hpp>
#include <pybind11/gil.h>
Expand All @@ -34,11 +34,9 @@

#include <cstddef>
#include <functional>
#include <map>
#include <memory>
#include <string>
#include <utility>
#include <vector>

namespace mrc::pymrc {

Expand Down
2 changes: 1 addition & 1 deletion python/mrc/_pymrc/tests/test_asyncio_runnable.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ class __attribute__((visibility("default"))) TestAsyncioRunnable : public ::test

std::unique_ptr<pybind11::scoped_interpreter> TestAsyncioRunnable::m_interpreter;

class PythonCallbackAsyncioRunnable : public pymrc::AsyncioRunnable<int, int>
class __attribute__((visibility("default"))) PythonCallbackAsyncioRunnable : public pymrc::AsyncioRunnable<int, int>
{
public:
PythonCallbackAsyncioRunnable(pymrc::PyObjectHolder operation) : m_operation(std::move(operation)) {}
Expand Down
2 changes: 0 additions & 2 deletions python/mrc/_pymrc/tests/test_executor.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -33,11 +33,9 @@
#include <rxcpp/rx.hpp>

#include <atomic>
#include <map>
#include <memory>
#include <string>
#include <utility>
#include <vector>

namespace py = pybind11;
namespace pymrc = mrc::pymrc;
Expand Down
3 changes: 0 additions & 3 deletions python/mrc/_pymrc/tests/test_pipeline.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -31,9 +31,7 @@
#include "mrc/options/topology.hpp"
#include "mrc/segment/builder.hpp"
#include "mrc/segment/object.hpp"
#include "mrc/types.hpp"

#include <boost/fiber/future/future.hpp>
#include <glog/logging.h>
#include <gtest/gtest.h>
#include <pybind11/cast.h>
Expand All @@ -46,7 +44,6 @@
#include <cstddef>
#include <functional>
#include <iostream>
#include <map>
#include <memory>
#include <stdexcept>
#include <string>
Expand Down
1 change: 0 additions & 1 deletion python/mrc/_pymrc/tests/test_serializers.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@
#include <pybind11/pytypes.h>
#include <pybind11/stl.h> // IWYU pragma: keep

#include <array>
#include <ostream>
#include <stdexcept>
#include <string>
Expand Down
1 change: 0 additions & 1 deletion python/mrc/_pymrc/tests/test_utils.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,6 @@
#include <climits>
#include <map>
#include <memory>
#include <stdexcept>
#include <string>
#include <utility>
#include <vector>
Expand Down
2 changes: 0 additions & 2 deletions python/mrc/benchmarking/watchers.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -26,11 +26,9 @@
#include <pybind11/gil.h> // IWYU pragma: keep
#include <pybind11/pybind11.h>

#include <array>
#include <cstddef>
#include <functional>
#include <memory>
#include <vector>

namespace mrc::pymrc {
namespace py = pybind11;
Expand Down
6 changes: 0 additions & 6 deletions python/mrc/core/common.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -18,21 +18,15 @@
#include "pymrc/port_builders.hpp"
#include "pymrc/types.hpp"

#include "mrc/node/rx_sink_base.hpp"
#include "mrc/node/rx_source_base.hpp"
#include "mrc/types.hpp"
#include "mrc/utils/string_utils.hpp"
#include "mrc/version.hpp"

#include <boost/fiber/future/future.hpp>
#include <pybind11/pybind11.h>
#include <pybind11/pytypes.h>
#include <rxcpp/rx.hpp>

#include <map>
#include <memory>
#include <sstream>
#include <vector>

namespace mrc::pymrc {

Expand Down
1 change: 0 additions & 1 deletion python/mrc/core/coro.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@

#include <coroutine>
#include <memory>
#include <ostream>
#include <string>
#include <vector>

Expand Down
1 change: 0 additions & 1 deletion python/mrc/core/operators.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@
#include <pybind11/pytypes.h>
#include <pybind11/stl.h> // IWYU pragma: keep

#include <array>
#include <sstream>

namespace mrc::pymrc {
Expand Down
1 change: 0 additions & 1 deletion python/mrc/core/pipeline.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@
#include <pybind11/pybind11.h>
#include <pybind11/stl.h> // IWYU pragma: keep

#include <array>
#include <sstream>

namespace mrc::pymrc {
Expand Down
3 changes: 0 additions & 3 deletions python/mrc/core/segment.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -38,12 +38,9 @@
#include <pybind11/pybind11.h>
#include <pybind11/pytypes.h>

#include <array>
#include <cstddef>
#include <cstdint>
#include <memory>
#include <sstream>
#include <vector>

namespace mrc::pymrc {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,18 +26,14 @@
#include "mrc/experimental/modules/stream_buffer/stream_buffer_module.hpp"
#include "mrc/modules/module_registry.hpp"
#include "mrc/modules/module_registry_util.hpp"
#include "mrc/node/operators/broadcast.hpp"
#include "mrc/node/rx_sink.hpp"
#include "mrc/node/rx_source.hpp"
#include "mrc/version.hpp"

#include <pybind11/cast.h>
#include <pybind11/functional.h> // IWYU pragma: keep
#include <pybind11/pybind11.h>
#include <pybind11/pytypes.h>
#include <rxcpp/rx.hpp>

#include <array>
#include <map>
#include <memory>
#include <string>
#include <vector>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,12 +25,9 @@
#include <pybind11/cast.h>
#include <pybind11/functional.h> // IWYU pragma: keep
#include <pybind11/pybind11.h>
#include <pybind11/pytypes.h>
#include <pybind11/stl.h> // IWYU pragma: keep

#include <array>
#include <functional>
#include <map>
#include <string>
#include <vector>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,7 @@
#include <pybind11/cast.h>
#include <pybind11/pybind11.h>

#include <map>
#include <memory>
#include <vector>

namespace mrc::pymrc {

Expand Down
2 changes: 1 addition & 1 deletion python/mrc/core/subscriber.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,8 @@
#include <pybind11/functional.h> // IWYU pragma: keep
#include <pybind11/gil.h> // IWYU pragma: keep(for call_guard)
#include <pybind11/pybind11.h>
#include <rxcpp/rx.hpp>

#include <array>
#include <memory>
#include <sstream>

Expand Down
3 changes: 0 additions & 3 deletions python/mrc/tests/sample_modules.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -20,15 +20,12 @@
#include "pymrc/utils.hpp"

#include "mrc/modules/module_registry_util.hpp"
#include "mrc/node/rx_source.hpp"
#include "mrc/utils/string_utils.hpp"
#include "mrc/version.hpp"

#include <pybind11/pybind11.h>
#include <pybind11/pytypes.h>

#include <map>
#include <memory>
#include <sstream>
#include <vector>

Expand Down
Loading

0 comments on commit 5d9bd22

Please sign in to comment.