MagicStack / uvloop

Ultra fast asyncio event loop.
Apache License 2.0
10.27k stars 535 forks source link

Current version of libuv #589

Open MaximKiselev opened 7 months ago

MaximKiselev commented 7 months ago

Hi, how i can get current version of libuv? I tried uvloop.__version__ but this property shows only uvloop version? On the system - all are clean. apt does not show any libuv version but script works...

import ctypes
libuv = ctypes.CDLL("oop.cpython-312-x86_64-linux-gnu.so")
libuv.uv_version_string()
#2111514146 - ???????

thanks

alex-eri commented 7 months ago

libuv embeded into https://github.com/MagicStack/uvloop/tree/master/vendor as git submodule. Version v1.46.0 for now.

You can use system libuv if build uvloop with option https://github.com/MagicStack/uvloop/blob/6c770dc3fbdd281d15c2ad46588c139696f9269c/setup.py#L74-L75