Support docarray 0.40.0

Author: onnyCreated Jun 4, 2024Updated Jun 4, 2024

Building clip-server module currently fails with

       > Checking runtime dependencies for clip_server-0.8.3-py3-none-any.whl
       >   - docarray==0.21.0 not satisfied by version 0.40.0
       >   - open-clip-torch<2.9.0,>=2.8.0 not satisfied by version 2.24.0

Please support latest docarray version 0.40 https://github.com/docarray/docarray/releases/tag/v0.40.0

Best regards Jonas