jscheffl opened a new issue, #54427:
URL: https://github.com/apache/airflow/issues/54427

   ### Apache Airflow version
   
   3.0.4
   
   ### If "Other Airflow 2 version" selected, which one?
   
   _No response_
   
   ### What happened?
   
   Canary run https://github.com/apache/airflow/actions/runs/16918892385 showed 
that weaviate-client==4.16.7 breaks weaviate provider tests.
   
   Error trace:
   ```
   ___________________________________________________________ ERROR collecting 
providers/weaviate/tests/unit/weaviate/operators/test_weaviate.py 
___________________________________________________________
   providers/weaviate/tests/unit/weaviate/operators/test_weaviate.py:25: in 
<module>
       pytest.importorskip("weaviate")
   /usr/local/lib/python3.13/site-packages/weaviate/__init__.py:13: in <module>
       from . import (
   /usr/local/lib/python3.13/site-packages/weaviate/backup/__init__.py:3: in 
<module>
       from .async_ import _BackupAsync
   /usr/local/lib/python3.13/site-packages/weaviate/backup/async_.py:1: in 
<module>
       from weaviate.backup.executor import _BackupExecutor
   /usr/local/lib/python3.13/site-packages/weaviate/backup/executor.py:19: in 
<module>
       from weaviate.connect import executor
   /usr/local/lib/python3.13/site-packages/weaviate/connect/__init__.py:4: in 
<module>
       from .v4 import ConnectionV4
   /usr/local/lib/python3.13/site-packages/weaviate/connect/v4.py:81: in 
<module>
       from weaviate.proto.v1 import (
   /usr/local/lib/python3.13/site-packages/weaviate/proto/v1/__init__.py:23: in 
<module>
       from weaviate.proto.v1.v1721.v1 import weaviate_pb2_grpc, aggregate_pb2, 
base_pb2, base_search_pb2, batch_delete_pb2, batch_pb2, generative_pb2, 
properties_pb2, search_get_pb2, tenants_pb2
   
/usr/local/lib/python3.13/site-packages/weaviate/proto/v1/v1721/v1/weaviate_pb2_grpc.py:6:
 in <module>
       from weaviate.proto.v1.v1721.v1 import aggregate_pb2 as 
v1_dot_aggregate__pb2
   
/usr/local/lib/python3.13/site-packages/weaviate/proto/v1/v1721/v1/aggregate_pb2.py:12:
 in <module>
       _runtime_version.ValidateProtobufRuntimeVersion(
   
/usr/local/lib/python3.13/site-packages/google/protobuf/runtime_version.py:106: 
in ValidateProtobufRuntimeVersion
       _ReportVersionError(
   
/usr/local/lib/python3.13/site-packages/google/protobuf/runtime_version.py:50: 
in _ReportVersionError
       raise VersionError(msg)
   E   google.protobuf.runtime_version.VersionError: Detected mismatched 
Protobuf Gencode/Runtime major versions when loading v1/aggregate.proto: 
gencode 6.30.0 runtime 5.29.5. Same major version is required. See Protobuf 
version guarantees at 
https://protobuf.dev/support/cross-version-runtime-guarantee.
   ```
   
   See also as interim fix: https://github.com/apache/airflow/pull/54424
   
   Changelog of weaviate-client in 
https://weaviate-python-client.readthedocs.io/en/stable/changelog.html says:
   
   ### Version 4.16.7
   
   This patch version includes:
   
   - Fixes compatability issues between the built gRPC stubs and differing 
protobuf versions depending on the version of grpcio used to build the stubs
   
   
   ### What you think should happen instead?
   
   Newer client should not break provider
   
   ### How to reproduce
   
   run provider tests with the reported problematic version
   
   ### Operating System
   
   Github CI on Linux
   
   ### Versions of Apache Airflow Providers
   
   _No response_
   
   ### Deployment
   
   Official Apache Airflow Helm Chart
   
   ### Deployment details
   
   _No response_
   
   ### Anything else?
   
   _No response_
   
   ### Are you willing to submit PR?
   
   - [ ] Yes I am willing to submit a PR!
   
   ### Code of Conduct
   
   - [x] I agree to follow this project's [Code of 
Conduct](https://github.com/apache/airflow/blob/main/CODE_OF_CONDUCT.md)
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to