Update bundled bundled capnp to 0.8.1 due to CVE-2022-46149

- This only affects pycapnp if you're using bundled capnp (otherwise
  just update libcapnp)
  * pypi packages are affected
This commit is contained in:
Jacob Alexander 2022-11-30 10:18:06 -08:00
parent 928dd13652
commit 56ef658e46
3 changed files with 3 additions and 3 deletions

View file

@ -19,7 +19,7 @@
* cmake (needed for bundled capnproto)
- ninja (macOS + Linux)
- Visual Studio 2017+
* capnproto-0.8.0 (0.7.0 will also work if linking to system libraries)
* capnproto-0.8.0 (>=0.7.0 will also work if linking to system libraries)
- Not necessary if using bundled capnproto
* Python development headers (i.e. Python.h)
- Distributables from python.org include these, however they are usually in a separate package on Linux distributions

View file

@ -26,7 +26,7 @@ pjoin = os.path.join
#
bundled_version = (0, 8, 0)
bundled_version = (0, 8, 1)
libcapnp_name = "capnproto-c++-%i.%i.%i.tar.gz" % (bundled_version)
libcapnp_url = "https://capnproto.org/" + libcapnp_name

View file

@ -136,7 +136,7 @@ class build_libcapnp_ext(build_ext_c):
# Look for capnproto using pkg-config (and minimum version)
try:
if pkgconfig.installed("capnp", ">= 0.8.0"):
if pkgconfig.installed("capnp", ">= 0.7.0"):
need_build = False
else:
need_build = True