You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@opendal.apache.org by "Xuanwo (via GitHub)" <gi...@apache.org> on 2023/03/25 10:55:21 UTC

[GitHub] [incubator-opendal] Xuanwo opened a new issue, #1766: research: How to provide support for services that require feature in bindings?

Xuanwo opened a new issue, #1766:
URL: https://github.com/apache/incubator-opendal/issues/1766

   For example, If I want to visit `rocksdb` in python binding? How to archive that?
   
   Hey @messense, has anyone in the `pyo3` community had any experience with this?


-- 
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: commits-unsubscribe@opendal.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [incubator-opendal] Xuanwo commented on issue #1766: research: How to provide support for services that require feature in bindings?

Posted by "Xuanwo (via GitHub)" <gi...@apache.org>.
Xuanwo commented on issue #1766:
URL: https://github.com/apache/incubator-opendal/issues/1766#issuecomment-1483796761

   > But the user experience is poor.
   
   Yes. It must be very *poor* experience for python users to compile a rust project :rofl: 


-- 
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: commits-unsubscribe@opendal.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [incubator-opendal] messense commented on issue #1766: research: How to provide support for services that require feature in bindings?

Posted by "messense (via GitHub)" <gi...@apache.org>.
messense commented on issue #1766:
URL: https://github.com/apache/incubator-opendal/issues/1766#issuecomment-1483795878

   It depends on how do you want to distribute the packages:
   
   1. One big wheel with all required features, makes the build process complicated.
   2. A core package `opendal` and some plugin packages like `opendal-rocksdb` that utilize some [plugin interface](https://packaging.python.org/en/latest/guides/creating-and-discovering-plugins/) to register them so `opendal.Operator()` can look it up.


-- 
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: commits-unsubscribe@opendal.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [incubator-opendal] Xuanwo commented on issue #1766: research: How to provide support for services that require feature in bindings?

Posted by "Xuanwo (via GitHub)" <gi...@apache.org>.
Xuanwo commented on issue #1766:
URL: https://github.com/apache/incubator-opendal/issues/1766#issuecomment-1483796972

   By the, if we take the second way, we need to build wheel for every service on every platform and every python version?


-- 
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: commits-unsubscribe@opendal.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [incubator-opendal] Xuanwo commented on issue #1766: research: How to provide support for services that require feature in bindings?

Posted by "Xuanwo (via GitHub)" <gi...@apache.org>.
Xuanwo commented on issue #1766:
URL: https://github.com/apache/incubator-opendal/issues/1766#issuecomment-1483796585

   > 2\. A core package `opendal` and some plugin packages like `opendal-rocksdb` that utilize some [plugin interface](https://packaging.python.org/en/latest/guides/creating-and-discovering-plugins/) to register them so `opendal.Operator()` can look it up.
   
   The second way seems much better for us.


-- 
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: commits-unsubscribe@opendal.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [incubator-opendal] messense commented on issue #1766: research: How to provide support for services that require feature in bindings?

Posted by "messense (via GitHub)" <gi...@apache.org>.
messense commented on issue #1766:
URL: https://github.com/apache/incubator-opendal/issues/1766#issuecomment-1483797248

   That's right, you can bundle some of them together to reduce the build matrix.


-- 
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: commits-unsubscribe@opendal.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [incubator-opendal] suyanhanx commented on issue #1766: research: How to provide support for services that require feature in bindings?

Posted by "suyanhanx (via GitHub)" <gi...@apache.org>.
suyanhanx commented on issue #1766:
URL: https://github.com/apache/incubator-opendal/issues/1766#issuecomment-1483853222

   When we distribute bindings, their content is already a binary file. If want to split it, we can only create multiple packages...


-- 
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: commits-unsubscribe@opendal.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [incubator-opendal] Xuanwo closed issue #1766: research: How to provide support for services that require feature in bindings?

Posted by "Xuanwo (via GitHub)" <gi...@apache.org>.
Xuanwo closed issue #1766: research: How to provide support for services that require feature in bindings?
URL: https://github.com/apache/incubator-opendal/issues/1766


-- 
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: commits-unsubscribe@opendal.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [incubator-opendal] messense commented on issue #1766: research: How to provide support for services that require feature in bindings?

Posted by "messense (via GitHub)" <gi...@apache.org>.
messense commented on issue #1766:
URL: https://github.com/apache/incubator-opendal/issues/1766#issuecomment-1483796604

   It'd be easier if we just expose them as optional cargo features in `bindings/python`, people who want it can compile from source with `maturin build --features xxx` or `MATURIN_PEP517_ARGS="--features xxx" pip install opendal`.
   
   But the user experience is poor.


-- 
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: commits-unsubscribe@opendal.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [incubator-opendal] Xuanwo commented on issue #1766: research: How to provide support for services that require feature in bindings?

Posted by "Xuanwo (via GitHub)" <gi...@apache.org>.
Xuanwo commented on issue #1766:
URL: https://github.com/apache/incubator-opendal/issues/1766#issuecomment-1483854904

   > When we distribute bindings, their content is already a binary file. If want to split it, we can only create multiple packages...
   
   Thanks for replying! This is a research and no users request for such feature do far. So no actions need to take for now. We still have time to figure out the best way🤩


-- 
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: commits-unsubscribe@opendal.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org