JingsongLi commented on PR #1322:
URL: https://github.com/apache/paimon-rust/pull/1322#issuecomment-6654875101

   Thanks for working on this. For the workflows in #1205, the supported Python 
installation already exposes the exact installed version via 
`importlib.metadata.version("pypaimon-rust")`.
   
   I built and installed both a regular wheel and a release-candidate wheel 
using the release workflow's version settings. The regular wheel exposes 
`0.6.0` through both paths. For the `0.6.0rc1` wheel, the distribution metadata 
reports `0.6.0rc1`, while this attribute reports `0.6.0`. A feature gate 
comparing the attribute to the final version would therefore accept the RC as 
final. The added test passes on both wheels because it removes the RC suffix.
   
   I'm closing this PR because the existing metadata API covers the version 
reporting and gating use cases and preserves the identity of release 
candidates. If a concrete downstream integration needs a module-level 
attribute, we can revisit it with an exact-version contract covering RC wheels.
   


-- 
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