googleapis / google-api-python-client

🐍 The official Python client library for Google's discovery based APIs.
https://googleapis.github.io/google-api-python-client/docs/
Apache License 2.0
7.63k stars 2.39k forks source link

pypi source distribution name changed dashes to underscores with 2.137.0 #2437

Open akrherz opened 1 month ago

akrherz commented 1 month ago

I apologize if this something that changed with pypi, but I'm noticing that the source distribution name on pypi changed

Release Filename
2.136.0 google-api-python-client-2.136.0.tar.gz
2.137.0 google_api_python_client-2.137.0.tar.gz
parthea commented 1 month ago

In https://github.com/googleapis/google-api-python-client/pull/2430/files, we updated the dependencies of packages used in the release script.

setuptools 69.2.0 -> setuptools 70.2.0 twine 4.0.2 -> twine 5.1.1

It's likely related to the upgrade in #2430. There was likely a change upstream in twine or setuptools. We expect to see dashes, rather than underscores as that is what we have in setup.py

https://github.com/googleapis/google-api-python-client/blob/7cb6f0b71b9ecde8144b0fab3ea8d36c5dd94441/setup.py#L63

akrherz commented 3 weeks ago

2.138.0 used underscores as well, I am fine with closing this if this is how it will remain going forward :)