nextpnr/3rdparty/pybind11/pybind11/_version.py
gatecat a72f898ff4 3rdparty: Bump vendored pybind11 version for py3.11 support
Signed-off-by: gatecat <gatecat@ds0.me>
2022-09-14 09:28:47 +02:00

13 lines
233 B
Python

from typing import Union
def _to_int(s: str) -> Union[int, str]:
try:
return int(s)
except ValueError:
return s
__version__ = "2.11.0.dev1"
version_info = tuple(_to_int(s) for s in __version__.split("."))