Skip to content

Commit

Permalink
Update cython (#903)
Browse files Browse the repository at this point in the history
* cython

* ref

* test

* Werror
  • Loading branch information
maxime-desroches authored Jul 18, 2023
1 parent 3ef35ed commit 4231b0f
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand Down
1 change: 1 addition & 0 deletions SConstruct
Original file line number Diff line number Diff line change
Expand Up @@ -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":
Expand Down
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Cython<3.0.0
Cython
flake8
Jinja2
numpy
Expand Down

0 comments on commit 4231b0f

Please sign in to comment.