tadeja commented on PR #55264:
URL: https://github.com/apache/arrow/pull/55264#issuecomment-6547081054

   > * I propose to use `typing_extensions.CapsuleType` instead of `Any` in 
`__arrow_c_schema__`.
   >   Claude added a test for this case, I have reviewed and changed it a bit. 
`typing_extensions` dependency had to be added.
   
   Ok! I've added 'typing_extensions>=4.12.0' to dependency-groups with commit 
110511a as without it or with version before ['CapsuleType' in 
4.12.0](https://typing-extensions.readthedocs.io/en/latest/#) this test would 
fail:
   ```
   python -m pytest -q python/pyarrow-stubs/tests/test_types.py
   ```
   `python/pyarrow-stubs/tests/test_types.py:24: in <module>`
   `    from typing_extensions import CapsuleType`
   `E   ImportError: cannot import name 'CapsuleType' from 'typing_extensions'`


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