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:
@@ -19,7 +19,7 @@
|
|||||||
* cmake (needed for bundled capnproto)
|
* cmake (needed for bundled capnproto)
|
||||||
- ninja (macOS + Linux)
|
- ninja (macOS + Linux)
|
||||||
- Visual Studio 2017+
|
- 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
|
- Not necessary if using bundled capnproto
|
||||||
* Python development headers (i.e. Python.h)
|
* Python development headers (i.e. Python.h)
|
||||||
- Distributables from python.org include these, however they are usually in a separate package on Linux distributions
|
- Distributables from python.org include these, however they are usually in a separate package on Linux distributions
|
||||||
|
|||||||
@@ -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_name = "capnproto-c++-%i.%i.%i.tar.gz" % (bundled_version)
|
||||||
libcapnp_url = "https://capnproto.org/" + libcapnp_name
|
libcapnp_url = "https://capnproto.org/" + libcapnp_name
|
||||||
|
|
||||||
|
|||||||
2
setup.py
2
setup.py
@@ -136,7 +136,7 @@ class build_libcapnp_ext(build_ext_c):
|
|||||||
|
|
||||||
# Look for capnproto using pkg-config (and minimum version)
|
# Look for capnproto using pkg-config (and minimum version)
|
||||||
try:
|
try:
|
||||||
if pkgconfig.installed("capnp", ">= 0.8.0"):
|
if pkgconfig.installed("capnp", ">= 0.7.0"):
|
||||||
need_build = False
|
need_build = False
|
||||||
else:
|
else:
|
||||||
need_build = True
|
need_build = True
|
||||||
|
|||||||
Reference in New Issue
Block a user