mirror of
https://github.com/capnproto/pycapnp.git
synced 2025-03-04 08:24:43 +01:00
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:
parent
928dd13652
commit
56ef658e46
3 changed files with 3 additions and 3 deletions
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
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)
|
||||
try:
|
||||
if pkgconfig.installed("capnp", ">= 0.8.0"):
|
||||
if pkgconfig.installed("capnp", ">= 0.7.0"):
|
||||
need_build = False
|
||||
else:
|
||||
need_build = True
|
||||
|
|
Loading…
Add table
Reference in a new issue