arrow icon indicating copy to clipboard operation
arrow copied to clipboard

[Docs][Python] PyCapsule protocol implementation status

Open AlenkaF opened this issue 1 year ago • 13 comments

Describe the enhancement requested

We have a part in the Python docs that adds a bit more explanation about the PyCapsule protocol (see python/extending_types). We could also add a status of the implementations in a form of a table from the issue here: https://github.com/apache/arrow/issues/39195#issuecomment-2245718008

Component(s)

Documentation, Python

AlenkaF avatar Oct 03 '25 16:10 AlenkaF

cc @kylebarron @jorisvandenbossche

AlenkaF avatar Oct 03 '25 16:10 AlenkaF

Hi @AlenkaF I would like to work on this issue. I plan to extract the PyCapsule implementation details from issue #39195 and add a status table to the extending types documentation. Please let me know if this approach sounds good.

Bhupendra-glitch avatar Jan 01 '26 05:01 Bhupendra-glitch

Hi @kylebarron @jorisvandenbossche , is someone working on it? If not, If not, I'd be happy to submit the fix!

rahulmansharamani14 avatar Feb 04 '26 03:02 rahulmansharamani14

@Bhupendra-glitch are you still planning to work on this issue? Sorry I haven't responded yet, it slipped under my radar. The suggested approach sounds good.

In case the planes changed, @rahulmansharamani14 could give it a shot (I do not see any open PRs already linked to this issue).

AlenkaF avatar Feb 04 '26 07:02 AlenkaF

Hi @AlenkaF
I'd like to work on this issue.

My understanding: Add a table to the Python docs showing PyCapsule protocol implementation status across libraries, based on the tracking in #39195.

I'll review the existing docs and implementation status, then submit a PR within a week. Please let me know if there are any specific requirements!

Thanks!

vanshaj2023 avatar Feb 04 '26 19:02 vanshaj2023

Hi @AlenkaF, is this issue still valid? If so, I can work on it and submit a fix within two days.

Daedalus-Icarus avatar Mar 18 '26 02:03 Daedalus-Icarus

@Desel72 I still see no linked PR so go ahead 👍

AlenkaF avatar Mar 18 '26 07:03 AlenkaF

@AlenkaF can I work on other sub-issues in #46601?

Daedalus-Icarus avatar Mar 19 '26 13:03 Daedalus-Icarus

@AlenkaF can I work on other sub-issues in #46601?

Yes, please!

AlenkaF avatar Mar 19 '26 14:03 AlenkaF

Since #49550 is closed, I'm unassigning the current assignee so that anyone interested can pick it up. :)

Reranko05 avatar Oct 30 '26 17:10 Reranko05

Hi @AlenkaF @Reranko05,

I would like to take this on. I will extract the PyCapsule implementation matrix from #39195 and add the implementation status table to the Python extending types documentation (docs/source/python/extending_types.rst).

Could you please assign this issue to me?

sundeep8967 avatar Nov 05 '26 07:11 sundeep8967

Hi @sundeep8967, the extraction of the matrix is only one part of the work needed here. The other is to check in each of the implementations if anything changed and if there is any new project implementing the protocol. It would be super nice to see this being done but it needs a bit more human effort to do the checking, see https://github.com/apache/arrow/pull/49550#issuecomment-4124901460.

Happy to review a PR if you have the bandwidth for the above.

AlenkaF avatar Nov 05 '26 09:11 AlenkaF

Hi @AlenkaF,

Thank you for the guidance! I went through all 33 libraries tracked across #39195, audited their current implementation status against their respective upstream repositories/PRs, updated statuses that have changed (e.g. Daft, Vortex, Xarray, Streamlit, PySpark), included community additions (such as jupyter-scatter, pyfru, minarrow, and streamlit), and linked directly to documentation / merged PRs where available.

I have submitted the PR here: https://github.com/apache/arrow/pull/55413

Looking forward to your review!

sundeep8967 avatar Nov 05 '26 09:11 sundeep8967