Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
The protobuf compiler that is being installed in GitHub Actions has a different version than the library that is used by Karapace. To avoid further drift it is necessary to ensure that they stay aligned automatically. This patch adds some code to extract the actual Protobuf version from the `requirements.txt` file. Note that this approach is going to break with newer Protobuf versions. This is because Google decided to stop versioning all Protobuf dependencies alike. However, newer versions of Python Protobuf do not require the Protobuf Compiler to be installed anymore. Hence, if we upgrade, we can get rid of the Protobuf Compiler installation entirely.
- Loading branch information