Fix metadata to support Python 3.12
See #1993
Thanks for your pull request! It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA).
View this failed invocation of the CLA check for more information.
For the most up to date status, view the checks section at the bottom of the pull request.
@Di-Is, are you able to sign the CLA so this PR can move forward? My team is blocked from upgrading to python 3.12 until this gets resolved so I'm eager to see this land. Thanks for submitting a fix!
@maffoo I signed the CLA! Hopefully this PR will be reviewed and finally merged.
@yongtang Please review the changes and allow for CI.