From fee759236023853cee1632b0ceb263a33f847cc3 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Wed, 4 Oct 2023 09:16:44 +0000 Subject: [PATCH 1/3] Bump protobuf from 3.16.0 to 3.18.3 in /python Bumps [protobuf](https://github.com/protocolbuffers/protobuf) from 3.16.0 to 3.18.3. - [Release notes](https://github.com/protocolbuffers/protobuf/releases) - [Changelog](https://github.com/protocolbuffers/protobuf/blob/main/protobuf_release.bzl) - [Commits](https://github.com/protocolbuffers/protobuf/compare/v3.16.0...v3.18.3) --- updated-dependencies: - dependency-name: protobuf dependency-type: direct:production ... Signed-off-by: dependabot[bot] --- python/requirements.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python/requirements.txt b/python/requirements.txt index f330a8ce4..f9abb9375 100644 --- a/python/requirements.txt +++ b/python/requirements.txt @@ -1,5 +1,5 @@ 2to3 matplotlib>=2.0.1 numpy>=1.18.4 -protobuf==3.16.0 +protobuf==3.18.3 python-dotenv>=0.20.0 From 0473b913f57e007cadc1cd972f391bbc20416df3 Mon Sep 17 00:00:00 2001 From: TeoGiane Date: Thu, 5 Oct 2023 10:08:56 +0200 Subject: [PATCH 2/3] Fix python test --- python/tests/test_run.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/python/tests/test_run.py b/python/tests/test_run.py index 5bb76ce89..eb56b7ec3 100644 --- a/python/tests/test_run.py +++ b/python/tests/test_run.py @@ -95,7 +95,8 @@ def test_run_mcmc(): eval_dens, nclus, clus, best_clus, chains = run_mcmc( "NNIG", "DP", data, GO_PARAMS, DP_PARAMS, ALGO_PARAMS, None, return_clusters=False, - return_num_clusters=False, return_best_clus=False) + return_num_clusters=False, return_best_clus=False, + return_chains=True) assert eval_dens is None assert nclus is None assert clus is None From 2d99dc7f1ef96d610a84f656b8d8bd37e5ce3113 Mon Sep 17 00:00:00 2001 From: TeoGiane Date: Thu, 5 Oct 2023 10:09:35 +0200 Subject: [PATCH 3/3] Update to protobuf 3.19.0 --- cmake/protobuf.cmake | 2 +- python/requirements.txt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/cmake/protobuf.cmake b/cmake/protobuf.cmake index 0b046e7ad..0e5ce87d8 100644 --- a/cmake/protobuf.cmake +++ b/cmake/protobuf.cmake @@ -11,7 +11,7 @@ message(STATUS "") message(STATUS "Fetching protocolbuffers/protobuf") FetchContent_Declare(protobuf DOWNLOAD_EXTRACT_TIMESTAMP TRUE - URL "https://github.com/protocolbuffers/protobuf/archive/refs/tags/v3.16.0.tar.gz" + URL "https://github.com/protocolbuffers/protobuf/archive/refs/tags/v3.19.0.tar.gz" ) FetchContent_MakeAvailable(protobuf) diff --git a/python/requirements.txt b/python/requirements.txt index f9abb9375..775b80d13 100644 --- a/python/requirements.txt +++ b/python/requirements.txt @@ -1,5 +1,5 @@ 2to3 matplotlib>=2.0.1 numpy>=1.18.4 -protobuf==3.18.3 +protobuf==3.19.0 python-dotenv>=0.20.0