From 4231b0f12d8cf10d0554c4eb513ac984defc1f90 Mon Sep 17 00:00:00 2001 From: Maxime Desroches Date: Tue, 18 Jul 2023 14:06:53 -0700 Subject: [PATCH] Update cython (#903) * cython * ref * test * Werror --- Dockerfile | 2 +- SConstruct | 1 + requirements.txt | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 69c851c49c..f1eecae1c4 100644 --- a/Dockerfile +++ b/Dockerfile @@ -49,7 +49,7 @@ RUN git config --global --add safe.directory '*' WORKDIR /project RUN git clone https://github.com/commaai/cereal.git /project/cereal && \ cd /project/cereal && \ - git checkout 959ff79963b80829be9902d146c31fda44dbbd20 && \ + git checkout aed9fd278a704816aba11f4473aafefc281ed2bc && \ rm -rf .git && \ scons -j$(nproc) diff --git a/SConstruct b/SConstruct index a9d2ba8536..d8f40740bf 100644 --- a/SConstruct +++ b/SConstruct @@ -61,6 +61,7 @@ Export('cereal', 'messaging') envCython = env.Clone() envCython["CPPPATH"] += [np.get_include()] envCython["CCFLAGS"] += ["-Wno-#warnings", "-Wno-shadow", "-Wno-deprecated-declarations"] +envCython["CCFLAGS"].remove("-Werror") python_libs = [] if arch == "Darwin": diff --git a/requirements.txt b/requirements.txt index f767d02670..a95489c44e 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,4 +1,4 @@ -Cython<3.0.0 +Cython flake8 Jinja2 numpy