GEOS-DEV / thirdPartyLibs

Repository to build the GEOSX third party libraries
3 stars 12 forks source link

Cannot upload TPLs for mac osx #199

Closed TotoGaz closed 1 year ago

TotoGaz commented 2 years ago

google-cloud-storage seems to have changed the version of its protobuf requirement. protobuf must now be >=3.20.1. protobuf 3.17.3 is uninstalled and protobuf-4.21.6 is installed.

This leads to the following error message when uploading the TPL tarball to GCP.

$ python3 macosx_TPL_mngt.py ${GEOSX_TPL_DIR} geosx-key.json ${BREW_OPENMPI_VERSION}
Traceback (most recent call last):
  File "/Users/travis/build/GEOSX/thirdPartyLibs/macosx_TPL_mngt.py", line 9, in <module>
    from google.cloud import storage
  File "/usr/local/lib/python3.9/site-packages/google/cloud/storage/__init__.py", line 35, in <module>
    from google.cloud.storage.batch import Batch
  File "/usr/local/lib/python3.9/site-packages/google/cloud/storage/batch.py", line 28, in <module>
    from google.cloud import _helpers
  File "/usr/local/lib/python3.9/site-packages/google/cloud/_helpers/__init__.py", line 32, in <module>
    from google.protobuf import duration_pb2
  File "/usr/local/lib/python3.9/site-packages/google/protobuf/duration_pb2.py", line 5, in <module>
    from google.protobuf.internal import builder as _builder
  File "/usr/local/lib/python3.9/site-packages/google/protobuf/internal/builder.py", line 42, in <module>
    from google.protobuf import reflection as _reflection
  File "/usr/local/lib/python3.9/site-packages/google/protobuf/reflection.py", line 51, in <module>
    from google.protobuf import message_factory
  File "/usr/local/lib/python3.9/site-packages/google/protobuf/message_factory.py", line 42, in <module>
    from google.protobuf.internal import api_implementation
  File "/usr/local/lib/python3.9/site-packages/google/protobuf/internal/api_implementation.py", line 104, in <module>
    from google.protobuf.pyext import _message
TypeError: bases must be types

This therefore blocks the CI/CD.