-
Notifications
You must be signed in to change notification settings - Fork 37
test: verify json_name is respected #270
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Codecov Report
@@ Coverage Diff @@
## master #270 +/- ##
=========================================
Coverage 100.00% 100.00%
=========================================
Files 20 22 +2
Lines 862 961 +99
Branches 149 170 +21
=========================================
+ Hits 862 961 +99
Continue to review full report at Codecov.
|
Fields can customize their json name representation. Add a test to verify that this customization is respected by both Python and C++ runtimes. Boost protobuf requirement to gain required upstream bugfix.
c2d461a to
ff33235
Compare
| # | ||
| # e.g., if setup.py has "foo >= 1.14.0, < 2.0.0dev", | ||
| # Then this file should have foo==1.14.0 | ||
| protobuf==3.15.6 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This should have updated to the minimum supported version (so that we continue to support it even when future versions are released).
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
See #273.
| platforms="Posix; MacOS X", | ||
| include_package_data=True, | ||
| install_requires=("protobuf >= 3.12.0",), | ||
| install_requires=("protobuf >= 3.19.0",), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This should not have been included in a patch release. It's causing problems over in the conda ecosystem, where the version of libprotobuf is a bit slower to update as it require recompilation of many many packages. Currently the latest grcp-cpp package is compiled with libprotobuf==3.18.1.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Update: literally today is when they are rolling out changes to the build environment to support protobuf 3.19 conda-forge/grpc-cpp-feedstock#124
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
For future reference, this is the where pin for conda was updated: conda-forge/conda-forge-pinning-feedstock#2049
I recommend we don't update minimum protobuf beyond this in future
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do we need to add conda tests to verify that installation is possible?
Fields can customize their json name representation.
Add a test to verify that this customization is respected by both
Python and C++ runtimes.
Boost protobuf requirement to gain required upstream bugfix.