Skip to content

Commit

Permalink
Merge pull request #150 from bayesmix-dev/dependabot/pip/python/proto…
Browse files Browse the repository at this point in the history
…buf-3.18.3

Bump protobuf from 3.16.0 to 3.18.3 in /python
  • Loading branch information
TeoGiane authored Oct 5, 2023
2 parents c28443a + 2d99dc7 commit 1ccbe28
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion cmake/protobuf.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand Down
2 changes: 1 addition & 1 deletion python/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
2to3
matplotlib>=2.0.1
numpy>=1.18.4
protobuf==3.16.0
protobuf==3.19.0
python-dotenv>=0.20.0
3 changes: 2 additions & 1 deletion python/tests/test_run.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 1ccbe28

Please sign in to comment.