https://opendal.apache.org/ logo
opendal python size
# general
b
Hi all, I was looking into the Python wheels of OpenDAL and noticed a sharp increase in size over the past few releases (according to the PyPI page) -
opendal-0.44.0-pp310-pypy310_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (7.0 MB view hashes)
-
opendal-0.44.1-pp310-pypy310_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (19.5 MB view hashes)
-
opendal-0.44.2-pp310-pypy310_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (68.4 MB view hashes)
-
opendal-0.45.0-pp310-pypy310_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (69.0 MB view hashes)
I'm not sure if there is a logical reasoning behind the sudden increase? if it looks odd I can make an issue on it on GitHub
x
Yep, in our newer releases, we tend to bundle as much services as possible in the release.
Will this be a trouble to you?
We also enabled the debug info for release. This may also add up the size.
b
Not an issue for me personally, but I imagine it might be the case for something like a lambda. I'm wondering if installing services as optional dependencies makes more sense. Something like
pip install opendal[gdrive]
?
x
It’s bit hard for us since we will have a matrix that os * arch * python version * service
b
Makes sense. I believe 0.44.0 contains all services, right? if so, I guess most of the increase is due to debug info
x
Debug info is included in the very first release
The only PR I feel like related is sftp related change: https://github.com/apache/opendal/pull/4006
Would you like submit a pr for this? It seems worth us to dig more information.
b
I can try and take a look. Will try and do a git bisect to pinpoint where the increase might be coming from