Skip to content

Commit 44ef1d9

Browse files
committed
Merged in feature/PROTO-273-update-to-protoc-32.0 (pull request #192)
Feature/PROTO-273 update to protoc 32.0
2 parents 8752a12 + feb4e02 commit 44ef1d9

File tree

4 files changed

+11
-6
lines changed

4 files changed

+11
-6
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ jobs:
1212
strategy:
1313
matrix:
1414
os: [ubuntu-22.04]
15-
protoc-version: ["27.x"]
15+
protoc-version: ["32.x"]
1616
python-version: ["3.8", "3.11"]
1717
runs-on: ${{ matrix.os }}
1818
steps:

README.md

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,11 @@ This document details the following:
2626
# What is new
2727

2828
To stay up to date, signup for our [User Update](https://EmbeddedProto.com/signup).
29-
29+
30+
## 3.6.0
31+
* Update to Protobuf version 32.0.
32+
* Added EmbeddedProto options to allow setting the size of the string (or bytes) field in when it is also repeated, example: `repeated string str = 1 [(EmbeddedProto.options).maxLength = 3, (EmbeddedProto.options).nestedMaxLength = 10];`.
33+
3034
## 3.5.3
3135
* Fixed build problems in release 3.5.3.
3236

@@ -92,7 +96,7 @@ You can request more information about a commercial license on our [website](htt
9296
What is required to be able to generate source files based on .proto files:
9397
1. Python 3.8 and up
9498
2. Pip
95-
3. Protobuf v21.5 and up (tested with v27.1)
99+
3. Protobuf v32.0
96100
4. Git
97101

98102
After installing the requirements, continue by cloning the Embedded Proto repo. We advised using Embedded Proto as a submodule in your project. This way, you can track the version of Embedded Proto with the version of your project.
@@ -108,9 +112,9 @@ python setup.py
108112
```
109113
Did you install protoc in a custom folder, or is the include folder of protobuf not in your path? In these cases, you may get an error from the setup script. You have to provide the location of the include with the --include parameter:
110114
```bash
111-
python setup.py --include ~/protobuf/protoc-21.5/include
115+
python setup.py --include ~/protobuf/protoc-32.0/include
112116
```
113-
In this example, you have installed a specific version of protoc, and you named its installation folder `~/protobuf/protoc-21.5`.
117+
In this example, you have installed a specific version of protoc, and you named its installation folder `~/protobuf/protoc-32.0`.
114118

115119
You can check out latest the command line parameters of the setup script using the help parameter:
116120
```bash

generator/pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ classifiers = [ ]
1010
dependencies = [
1111
"Jinja2>=3,<4",
1212
"MarkupSafe>=2.0,<3",
13-
"protobuf>=5.27.1,<6",
13+
"protobuf>=6.32.0,<7",
1414
"six>=1.16.0,<2",
1515
"toposort>=1.7,<2",
1616
]

release_to_github.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@ else
3939
echo ' 1. Update the pyproject.toml file?'
4040
echo ' 2. Update the version in the README installation section?'
4141
echo ' 3. Update the release notes?'
42+
echo ' 4. Update the Github workflow to test with the new version?'
4243
read answer
4344

4445
if [ "$answer" != "${answer#[Yy]}" ] ;then

0 commit comments

Comments
 (0)