Skip to content

Commit 5c353b2

Browse files
authored
Bump Protobuf to version 22.0 and gpb to 4.19.8 (#199)
This PR advances Google Protobuf and gpb to the latest versions that can be handled with the Erlang/OTP releases we support.
1 parent be91d88 commit 5c353b2

File tree

6 files changed

+9
-9
lines changed

6 files changed

+9
-9
lines changed

.github/workflows/ci.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ jobs:
3939
key: ${{ runner.os }}-otp-${{ matrix.otp }}
4040
- name: Build submodules
4141
run: |
42-
bash -c "echo 4.19.5 > lib/gpb/gpb.vsn"
42+
bash -c "echo 4.19.8 > lib/gpb/gpb.vsn"
4343
git submodule foreach make
4444
- name: Install Z3
4545
run: bash -x fetch_z3.sh
@@ -53,7 +53,7 @@ jobs:
5353
- name: Build CutEr
5454
run: |
5555
autoconf
56-
./configure --with-protoc=$PWD/lib/protoc-3.20.2/bin/protoc
56+
./configure --with-protoc=$PWD/lib/protoc-22.0/bin/protoc
5757
make depend
5858
make -j 2
5959
- name: Run Dialyzer

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ This is the source tree for CutEr, a concolic unit testing tool for Erlang.
1717
License
1818
-------
1919

20-
Copyright 2014-2022 by Aggelos Giantsios, Nikolaos Papaspyrou and Kostis Sagonas.
20+
Copyright 2014-2025 by Aggelos Giantsios, Nikolaos Papaspyrou and Kostis Sagonas.
2121

2222
This program is distributed under the GPL, version 3 or later. Please see the COPYING file for details.
2323

@@ -77,7 +77,7 @@ In order to use CutEr, you need the following programs:
7777

7878
If you have a Linux or an OSX system then you can skip this step and, after you have downloaded or cloned this repository, you can run the provided `fetch_protoc.sh` script and follow the instructions.
7979

80-
If you are running on some other OS, download the [3.20.2 version](https://github.com/google/protobuf/releases/tag/v3.20.2) of **protoc** for your OS
80+
If you are running on some other OS, download the [22.0 version](https://github.com/google/protobuf/releases/tag/v22.0) of **protoc** for your OS
8181
and follow the instructions in *readme.txt*.
8282

8383
Installation
@@ -108,7 +108,7 @@ Installation
108108
then you need to specify the path of *protoc* to the configure script using a
109109
command like the following:
110110

111-
./configure --with-protoc=$PWD/lib/protoc-3.20.2/bin/protoc
111+
./configure --with-protoc=$PWD/lib/protoc-22.0/bin/protoc
112112

113113
* **[Optional]** You can run the unit and functional tests with `make test`
114114

configure.ac

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -167,7 +167,7 @@ fi
167167
rm -f person.proto
168168

169169
if test "$HAS_PROTOC" = "0"; then
170-
AC_MSG_ERROR([protoc is missing. Please download version 3.11.0 of the package at https://github.com/google/protobuf/releases/tag/v3.11.0 and follow the instructions in the README. If you have a linux installation, then you can run ./fetch_protoc.sh and follow the instructions.])
170+
AC_MSG_ERROR([protoc is missing. Please download version 22.0 of the package at https://github.com/google/protobuf/releases/tag/v22.0 and follow the instructions in the README. If you have a linux installation, then you can run ./fetch_protoc.sh and follow the instructions.])
171171
fi
172172

173173
###############################################

fetch_protoc.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
set -e
44

55
DL="lib"
6-
VER="3.20.2"
6+
VER="22.0"
77
PROTOC_DIR="$DL/protoc-$VER"
88
rm -rf $PROTOC_DIR
99

requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,5 @@ attrs==19.3.0
22
mypy==0.780
33
mypy-protobuf==1.20
44
parsimonious==0.8.1
5-
protobuf==3.20.2
5+
protobuf==4.22.0
66
typing==3.7.4.1

0 commit comments

Comments
 (0)