Skip to content

Commit e2c12f4

Browse files
committed
chore: Upgrade to latest cython version (3.0.2).
1 parent 1c574ed commit e2c12f4

File tree

3 files changed

+5
-6
lines changed

3 files changed

+5
-6
lines changed

.circleci/config.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ jobs:
3030
pkg-config
3131
python3-dev
3232
python3-setuptools
33-
- run: git clone --depth=1 https://github.com/TokTok/c-toxcore
33+
- run: git clone --depth=1 --recursive https://github.com/TokTok/c-toxcore
3434
- run: cd c-toxcore;
3535
. .github/scripts/flags-gcc.sh;
3636
add_flag -fsanitize=address;

Dockerfile

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,10 @@
1-
FROM ubuntu:20.04
1+
FROM ubuntu:22.04
22
LABEL maintainer="[email protected]"
33

44
RUN apt-get update \
55
&& DEBIAN_FRONTEND="noninteractive" apt-get install --no-install-recommends -y \
66
ca-certificates \
77
cmake \
8-
cython \
98
gcc \
109
g++ \
1110
git \
@@ -19,10 +18,10 @@ RUN apt-get update \
1918
python3-pip \
2019
&& apt-get clean \
2120
&& rm -rf /var/lib/apt/lists/* \
22-
&& pip3 install mypy
21+
&& pip3 install cython mypy
2322

2423
WORKDIR /build
25-
RUN git clone --depth=1 https://github.com/TokTok/c-toxcore /build/c-toxcore \
24+
RUN git clone --depth=1 --recursive https://github.com/TokTok/c-toxcore /build/c-toxcore \
2625
&& cmake -GNinja -B/build/c-toxcore/_build -H/build/c-toxcore \
2726
-DBOOTSTRAP_DAEMON=OFF \
2827
-DENABLE_STATIC=OFF \

tools/gen_api.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ def parse_params(tokens: Tuple[str, ...]) -> List[Tuple[List[str], str]]:
7676

7777
def finalize_handler(type_prefix: str, handlers: List[str], event: str,
7878
params: List[str]) -> None:
79-
handlers[-1] += ":"
79+
handlers[-1] += " noexcept:"
8080
self = ""
8181
array = ""
8282
args = []

0 commit comments

Comments
 (0)