Skip to content

Commit d2b06c0

Browse files
committed
Fix protobuf version
1 parent e10f4ff commit d2b06c0

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

.github/workflows/ci.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ jobs:
6363
run: |
6464
python -m pip install --upgrade pip
6565
sudo apt-get update -y
66-
sudo apt-get install python3-pip protobuf-compiler lzma
66+
sudo apt-get install python3-pip protobuf-compiler liblzma-dev
6767
cd open-simulation-interface
6868
pip install .
6969
cd ..

osivalidator/osi_trace.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -320,7 +320,7 @@ def get_messages_in_index_range(self, begin, end):
320320
for rel_index, rel_message_offset in enumerate(rel_message_offsets):
321321
rel_begin = rel_message_offset + self._int_length
322322
rel_end = (
323-
rel_message_offsets[rel_index + 1] - self._int_length
323+
rel_message_offsets[rel_index + 1]
324324
if rel_index + 1 < len(rel_message_offsets)
325325
else message_sequence_len
326326
)

setup.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@
4949
"colorama",
5050
"tabulate",
5151
"progress",
52-
"protobuf==3.9.1",
52+
"protobuf",
5353
],
5454
dependency_links=[
5555
"git+https://github.com/OpenSimulationInterface/"

0 commit comments

Comments
 (0)