WillAyd commented on issue #764:
URL:
https://github.com/apache/arrow-nanoarrow/issues/764#issuecomment-2930868096
After some more research I think this might be resolved on main already, by
our switch to using meson-python from setuptools.
To illustrate, if I download the pypi wheel and check the top 10 file sizes,
I see this:
```
find . -type f -exec ls -alh {} \; | sort -hr -k5 | head
-rwxr-xr-x 1 willayd willayd 2.6M Oct 7 2024
./_schema.cpython-311-x86_64-linux-gnu.so
-rwxr-xr-x 1 willayd willayd 2.6M Oct 7 2024
./_buffer.cpython-311-x86_64-linux-gnu.so
-rwxr-xr-x 1 willayd willayd 2.5M Oct 7 2024
./_array.cpython-311-x86_64-linux-gnu.so
-rwxr-xr-x 1 willayd willayd 2.1M Oct 7 2024
./_ipc_lib.cpython-311-x86_64-linux-gnu.so
-rwxr-xr-x 1 willayd willayd 1.6M Oct 7 2024
./_types.cpython-311-x86_64-linux-gnu.so
-rwxr-xr-x 1 willayd willayd 1.5M Oct 7 2024
./_array_stream.cpython-311-x86_64-linux-gnu.so
-rwxr-xr-x 1 willayd willayd 926K Oct 7 2024
./_device.cpython-311-x86_64-linux-gnu.so
-rwxr-xr-x 1 willayd willayd 914K Oct 7 2024
./_utils.cpython-311-x86_64-linux-gnu.so
-rw-r--r-- 1 willayd willayd 39K Oct 7 2024 ./_buffer.pyx
-rw-r--r-- 1 willayd willayd 37K Oct 7 2024 ./schema.py
```
But with a local build my shared libraries clock in much smaller:
```
-rwxrwxr-x 1 willayd willayd 695K Jun 2 2025
./_ipc_lib.cpython-313-x86_64-linux-gnu.so
-rwxrwxr-x 1 willayd willayd 387K Jun 2 2025
./_array.cpython-313-x86_64-linux-gnu.so
-rwxrwxr-x 1 willayd willayd 363K Jun 2 2025
./_schema.cpython-313-x86_64-linux-gnu.so
-rwxrwxr-x 1 willayd willayd 338K Jun 2 2025
./_buffer.cpython-313-x86_64-linux-gnu.so
-rwxrwxr-x 1 willayd willayd 249K Jun 2 2025
./_array_stream.cpython-313-x86_64-linux-gnu.so
-rwxrwxr-x 1 willayd willayd 178K Jun 2 2025
./_device.cpython-313-x86_64-linux-gnu.so
-rwxrwxr-x 1 willayd willayd 164K Jun 2 2025
./_utils.cpython-313-x86_64-linux-gnu.so
-rwxrwxr-x 1 willayd willayd 149K Jun 2 2025
./_types.cpython-313-x86_64-linux-gnu.so
-rw-r--r-- 1 willayd willayd 40K Jun 1 04:06 ./schema.py
-rw-r--r-- 1 willayd willayd 23K Jun 1 04:06 ./c_array.py
```
I don't think auditwheel would drastically change the size of those
libraries, so I think we should monitor this as we go through building wheels
in the pre-release process
--
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]