apache / gravitino

World's most powerful open data catalog for building a high-performance, geo-distributed and federated metadata lake.
https://datastrato.ai/docs/
Apache License 2.0
681 stars 208 forks source link

[MINOR] Upgrade twine version to fix python client deploy task #4037

Closed xloya closed 4 days ago

xloya commented 4 days ago

What would you like to be improved?

The current twine 5.1.0 version fails when deploying the Python client:

Traceback (most recent call last):
  File "/builds/P6p6yuG-/0/gravitino/.gradle/python/Linux/Miniforge3/envs/python-3.8/bin/twine", line 5, in <module>
    from twine.__main__ import main
  File "/builds/P6p6yuG-/0/gravitino/.gradle/python/Linux/Miniforge3/envs/python-3.8/lib/python3.8/site-packages/twine/__init__.py", line 40, in <module>
    __uri__ = metadata["home-page"]
  File "/builds/P6p6yuG-/0/streaming/gravitino/.gradle/python/Linux/Miniforge3/envs/python-3.8/lib/python3.8/site-packages/importlib_metadata/_adapters.py", line 54, in __getitem__

And I found a related issue in the Twine community: https://github.com/pypa/twine/issues/1125. Twine has released version 5.1.1 to fix this problem. We should upgrade the Twine version to 5.1.1.

How should we improve?

No response