rok opened a new issue, #55596:
URL: https://github.com/apache/arrow/issues/55596

   Replace `python/scripts/update_stub_docstrings.py` (libcst codemod) with 
[docstring-adder](https://github.com/astral-sh/docstring-adder) for inserting 
runtime docstrings into the type stubs at wheel-build time.
   
   - Small wrapper: stage an importable pyarrow, run docstring-adder, then 
`ruff format`.
   - Build Cython with `embedsignature.format=clinic` so `__doc__` carries no 
signature line.
   - Drop libcst from the build requirements; docstring-adder (git-only) goes 
in `requirements-wheel-build.txt`.
   - docstring-adder skips `name = _clone_signature(other)` assignments in 
`compute.pyi`; needs an upstream change or a small post-pass.
   


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