yihua opened a new issue, #761:
URL: https://github.com/apache/hudi-rs/issues/761

   The published package has no description on pypi.org from 0.5.0-rc.2 onward. 
Compare https://pypi.org/project/hudi/0.4.0/ with 
https://pypi.org/project/hudi/0.5.0rc2/: the latter renders an empty page.
   
   The metadata is missing in the built artifact, not lost during upload. The 
wheel's `METADATA` is 27 lines for 0.5.0rc2 against 366 for 0.4.0, and carries 
no `Description-Content-Type`.
   
   `python/pyproject.toml` has never declared a `readme`. maturin 1.9.0, which 
built 0.4.0, fell back to the crate's `readme` field, which resolves through 
`readme.workspace = true` to the repository README. maturin 1.15.0, which built 
0.5.0rc2, no longer applies that fallback, so the description silently 
disappeared. The CI workflow pins no maturin version; it resolves the 
requirement in `pyproject.toml` at build time, so this arrived without any 
change to the repository.
   
   Declaring `readme = "../README.md"` under `[project]` restores it: the sdist 
`PKG-INFO` goes from 27 lines to 525 with `Description-Content-Type: 
text/markdown; charset=UTF-8; variant=GFM`.
   
   PyPI takes the description from the uploaded metadata and offers no way to 
edit it afterwards, and a version's files cannot be replaced, so 0.5.0-rc.2 
keeps its empty page. This only needs to be fixed before the final 0.5.0.
   
   Note that the missing `License :: OSI Approved :: Apache Software License` 
classifier is unrelated and intended: #467 moved to the PEP 639 SPDX form, so 
the metadata now carries `License-Expression: Apache-2.0`.
   


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