Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

issues with py 3.12.0a7 and cy 3.0.0b2 #70

Closed
ThomasWaldmann opened this issue May 14, 2023 · 1 comment
Closed

issues with py 3.12.0a7 and cy 3.0.0b2 #70

ThomasWaldmann opened this issue May 14, 2023 · 1 comment

Comments

@ThomasWaldmann
Copy link
Collaborator

2023-05-14T17:24:47.2404006Z Successfully installed Cython-3.0.0b2
2023-05-14T17:24:47.3118974Z 
2023-05-14T17:24:47.3119815Z [notice] A new release of pip is available: 23.0.1 -> 23.1.2
2023-05-14T17:24:47.3120334Z [notice] To update, run: pip install --upgrade pip
2023-05-14T17:24:47.4072289Z ##[group]Run cython --version
2023-05-14T17:24:47.4072570Z �[36;1mcython --version�[0m
2023-05-14T17:24:47.4072801Z �[36;1mtest/ci-test.sh�[0m
2023-05-14T17:24:47.4124583Z shell: /usr/bin/bash -e {0}
2023-05-14T17:24:47.4124813Z env:
2023-05-14T17:24:47.4124996Z   FORCE_COLOR: 1
2023-05-14T17:24:47.4125499Z   pythonLocation: /opt/hostedtoolcache/Python/3.12.0-alpha.7/x64
2023-05-14T17:24:47.4125864Z   LD_LIBRARY_PATH: /opt/hostedtoolcache/Python/3.12.0-alpha.7/x64/lib
2023-05-14T17:24:47.4126138Z ##[endgroup]
2023-05-14T17:24:47.4921892Z Cython version 3.0.0b2
2023-05-14T17:24:48.1590810Z running build_cython
2023-05-14T17:24:48.2479890Z /home/runner/work/pyfuse3/pyfuse3/setup.py:231: DeprecationWarning: distutils Version classes are deprecated. Use packaging.version instead.
2023-05-14T17:24:48.2480685Z   if not hit or LooseVersion(hit.group(1)) < "0.29":
2023-05-14T17:24:48.4482391Z Compiling /home/runner/work/pyfuse3/pyfuse3/src/pyfuse3.pyx
2023-05-14T17:24:50.6019353Z running build_ext
2023-05-14T17:24:50.6097275Z building 'pyfuse3' extension
2023-05-14T17:24:50.6097900Z creating build
2023-05-14T17:24:50.6099375Z creating build/temp.linux-x86_64-cpython-312
2023-05-14T17:24:50.6100059Z creating build/temp.linux-x86_64-cpython-312/src
2023-05-14T17:24:50.6101765Z gcc -pthread -fno-strict-overflow -Wsign-compare -DNDEBUG -g -O3 -Wall -fPIC -I/opt/hostedtoolcache/Python/3.12.0-alpha.7/x64/include/python3.12 -c src/pyfuse3.c -o build/temp.linux-x86_64-cpython-312/src/pyfuse3.o -I/usr/include/fuse3 -DFUSE_USE_VERSION=32 -Wall -Wextra -Wconversion -Wsign-compare -DPYFUSE3_VERSION=\"3.2.3\" -Wno-unused-function -Wno-implicit-fallthrough -Wno-unused-function -Wno-unused-parameter
2023-05-14T17:24:50.7458439Z src/pyfuse3.c: In function ‘__pyx_gb_7pyfuse3_20generator6’:
2023-05-14T17:24:50.7466112Z src/pyfuse3.c:2305:45: error: ‘PyThreadState’ {aka ‘struct _ts’} has no member named ‘curexc_type’
2023-05-14T17:24:50.7466660Z  2305 | #define __Pyx_PyErr_Occurred()  __pyx_tstate->curexc_type
2023-05-14T17:24:50.7466985Z       |                                             ^~
2023-05-14T17:24:50.7467383Z src/pyfuse3.c:11938:30: note: in expansion of macro ‘__Pyx_PyErr_Occurred’
2023-05-14T17:24:50.7467723Z 11938 |         PyObject* exc_type = __Pyx_PyErr_Occurred();
2023-05-14T17:24:50.7468005Z       |                              ^~~~~~~~~~~~~~~~~~~~
2023-05-14T17:24:50.7504473Z src/pyfuse3.c: In function ‘__pyx_gb_7pyfuse3_23generator7’:
2023-05-14T17:24:50.7511571Z src/pyfuse3.c:2305:45: error: ‘PyThreadState’ {aka ‘struct _ts’} has no member named ‘curexc_type’
2023-05-14T17:24:50.7512066Z  2305 | #define __Pyx_PyErr_Occurred()  __pyx_tstate->curexc_type
2023-05-14T17:24:50.7512358Z       |                                             ^~
2023-05-14T17:24:50.7512766Z src/pyfuse3.c:12535:30: note: in expansion of macro ‘__Pyx_PyErr_Occurred’
2023-05-14T17:24:50.7513091Z 12535 |         PyObject* exc_type = __Pyx_PyErr_Occurred();
2023-05-14T17:24:50.7513394Z       |                              ^~~~~~~~~~~~~~~~~~~~
2023-05-14T17:24:50.7593596Z src/pyfuse3.c: In function ‘__pyx_gb_7pyfuse3_29generator9’:
2023-05-14T17:24:50.7600777Z src/pyfuse3.c:2305:45: error: ‘PyThreadState’ {aka ‘struct _ts’} has no member named ‘curexc_type’
2023-05-14T17:24:50.7601350Z  2305 | #define __Pyx_PyErr_Occurred()  __pyx_tstate->curexc_type
2023-05-14T17:24:50.7601674Z       |                                             ^~
2023-05-14T17:24:50.7602063Z src/pyfuse3.c:13869:30: note: in expansion of macro ‘__Pyx_PyErr_Occurred’
2023-05-14T17:24:50.7602406Z 13869 |         PyObject* exc_type = __Pyx_PyErr_Occurred();
2023-05-14T17:24:50.7602683Z       |                              ^~~~~~~~~~~~~~~~~~~~
2023-05-14T17:24:50.7822690Z src/pyfuse3.c: In function ‘__pyx_gb_7pyfuse3_47generator15’:
2023-05-14T17:24:50.7832405Z src/pyfuse3.c:2305:45: error: ‘PyThreadState’ {aka ‘struct _ts’} has no member named ‘curexc_type’
2023-05-14T17:24:50.7832959Z  2305 | #define __Pyx_PyErr_Occurred()  __pyx_tstate->curexc_type
2023-05-14T17:24:50.7833747Z       |                                             ^~
2023-05-14T17:24:50.7834217Z src/pyfuse3.c:17574:30: note: in expansion of macro ‘__Pyx_PyErr_Occurred’
2023-05-14T17:24:50.7834607Z 17574 |         PyObject* exc_type = __Pyx_PyErr_Occurred();
2023-05-14T17:24:50.7834926Z       |                              ^~~~~~~~~~~~~~~~~~~~
2023-05-14T17:24:50.7865221Z src/pyfuse3.c: In function ‘__pyx_gb_7pyfuse3_50generator16’:
2023-05-14T17:24:50.7875338Z src/pyfuse3.c:2305:45: error: ‘PyThreadState’ {aka ‘struct _ts’} has no member named ‘curexc_type’
2023-05-14T17:24:50.7875895Z  2305 | #define __Pyx_PyErr_Occurred()  __pyx_tstate->curexc_type
2023-05-14T17:24:50.7876231Z       |                                             ^~
2023-05-14T17:24:50.7876679Z src/pyfuse3.c:18140:30: note: in expansion of macro ‘__Pyx_PyErr_Occurred’
2023-05-14T17:24:50.7877067Z 18140 |         PyObject* exc_type = __Pyx_PyErr_Occurred();
2023-05-14T17:24:50.7877409Z       |                              ^~~~~~~~~~~~~~~~~~~~
2023-05-14T17:24:50.7908759Z src/pyfuse3.c: In function ‘__pyx_gb_7pyfuse3_53generator17’:
2023-05-14T17:24:50.7918766Z src/pyfuse3.c:2305:45: error: ‘PyThreadState’ {aka ‘struct _ts’} has no member named ‘curexc_type’
2023-05-14T17:24:50.7919252Z  2305 | #define __Pyx_PyErr_Occurred()  __pyx_tstate->curexc_type
2023-05-14T17:24:50.7919573Z       |                                             ^~
2023-05-14T17:24:50.7919961Z src/pyfuse3.c:18719:30: note: in expansion of macro ‘__Pyx_PyErr_Occurred’
2023-05-14T17:24:50.7920304Z 18719 |         PyObject* exc_type = __Pyx_PyErr_Occurred();
2023-05-14T17:24:50.7920582Z       |                              ^~~~~~~~~~~~~~~~~~~~
2023-05-14T17:24:50.8015013Z src/pyfuse3.c: In function ‘__pyx_gb_7pyfuse3_59generator19’:
2023-05-14T17:24:50.8025392Z src/pyfuse3.c:2305:45: error: ‘PyThreadState’ {aka ‘struct _ts’} has no member named ‘curexc_type’
2023-05-14T17:24:50.8025875Z  2305 | #define __Pyx_PyErr_Occurred()  __pyx_tstate->curexc_type
2023-05-14T17:24:50.8026194Z       |                                             ^~
2023-05-14T17:24:50.8026598Z src/pyfuse3.c:20128:32: note: in expansion of macro ‘__Pyx_PyErr_Occurred’
2023-05-14T17:24:50.8026923Z 20128 |           PyObject* exc_type = __Pyx_PyErr_Occurred();
2023-05-14T17:24:50.8027205Z       |                                ^~~~~~~~~~~~~~~~~~~~
2023-05-14T17:24:50.8073708Z src/pyfuse3.c: In function ‘__pyx_gb_7pyfuse3_62generator20’:
2023-05-14T17:24:50.8085081Z src/pyfuse3.c:2305:45: error: ‘PyThreadState’ {aka ‘struct _ts’} has no member named ‘curexc_type’
2023-05-14T17:24:50.8085573Z  2305 | #define __Pyx_PyErr_Occurred()  __pyx_tstate->curexc_type
2023-05-14T17:24:50.8085868Z       |                                             ^~
2023-05-14T17:24:50.8086272Z src/pyfuse3.c:20780:30: note: in expansion of macro ‘__Pyx_PyErr_Occurred’
2023-05-14T17:24:50.8086598Z 20780 |         PyObject* exc_type = __Pyx_PyErr_Occurred();
2023-05-14T17:24:50.8086878Z       |                              ^~~~~~~~~~~~~~~~~~~~
2023-05-14T17:24:50.8119802Z src/pyfuse3.c: In function ‘__pyx_gb_7pyfuse3_65generator21’:
2023-05-14T17:24:50.8131110Z src/pyfuse3.c:2305:45: error: ‘PyThreadState’ {aka ‘struct _ts’} has no member named ‘curexc_type’
2023-05-14T17:24:50.8131594Z  2305 | #define __Pyx_PyErr_Occurred()  __pyx_tstate->curexc_type
2023-05-14T17:24:50.8132152Z       |                                             ^~
2023-05-14T17:24:50.8132559Z src/pyfuse3.c:21359:30: note: in expansion of macro ‘__Pyx_PyErr_Occurred’
2023-05-14T17:24:50.8132890Z 21359 |         PyObject* exc_type = __Pyx_PyErr_Occurred();
2023-05-14T17:24:50.8133175Z       |                              ^~~~~~~~~~~~~~~~~~~~
2023-05-14T17:24:50.8226227Z src/pyfuse3.c: In function ‘__pyx_gb_7pyfuse3_71generator23’:
2023-05-14T17:24:50.8237868Z src/pyfuse3.c:2305:45: error: ‘PyThreadState’ {aka ‘struct _ts’} has no member named ‘curexc_type’
2023-05-14T17:24:50.8238340Z  2305 | #define __Pyx_PyErr_Occurred()  __pyx_tstate->curexc_type
2023-05-14T17:24:50.8238956Z       |                                             ^~
2023-05-14T17:24:50.8239378Z src/pyfuse3.c:22782:36: note: in expansion of macro ‘__Pyx_PyErr_Occurred’
2023-05-14T17:24:50.8239708Z 22782 |               PyObject* exc_type = __Pyx_PyErr_Occurred();
2023-05-14T17:24:50.8240029Z       |                                    ^~~~~~~~~~~~~~~~~~~~
2023-05-14T17:24:50.8261968Z src/pyfuse3.c:2305:45: error: ‘PyThreadState’ {aka ‘struct _ts’} has no member named ‘curexc_type’
2023-05-14T17:24:50.8262469Z  2305 | #define __Pyx_PyErr_Occurred()  __pyx_tstate->curexc_type
2023-05-14T17:24:50.8262750Z       |                                             ^~
2023-05-14T17:24:50.8263160Z src/pyfuse3.c:23038:32: note: in expansion of macro ‘__Pyx_PyErr_Occurred’
2023-05-14T17:24:50.8263499Z 23038 |           PyObject* exc_type = __Pyx_PyErr_Occurred();
2023-05-14T17:24:50.8263764Z       |                                ^~~~~~~~~~~~~~~~~~~~
2023-05-14T17:24:50.8276536Z src/pyfuse3.c:2305:45: error: ‘PyThreadState’ {aka ‘struct _ts’} has no member named ‘curexc_type’
2023-05-14T17:24:50.8277014Z  2305 | #define __Pyx_PyErr_Occurred()  __pyx_tstate->curexc_type
2023-05-14T17:24:50.8277307Z       |                                             ^~
2023-05-14T17:24:50.8277691Z src/pyfuse3.c:23115:30: note: in expansion of macro ‘__Pyx_PyErr_Occurred’
2023-05-14T17:24:50.8278049Z 23115 |         PyObject* exc_type = __Pyx_PyErr_Occurred();
2023-05-14T17:24:50.8278326Z       |                              ^~~~~~~~~~~~~~~~~~~~
2023-05-14T17:24:50.8394042Z src/pyfuse3.c: In function ‘__pyx_gb_7pyfuse3_80generator26’:
2023-05-14T17:24:50.8407756Z src/pyfuse3.c:2305:45: error: ‘PyThreadState’ {aka ‘struct _ts’} has no member named ‘curexc_type’
2023-05-14T17:24:50.8408314Z  2305 | #define __Pyx_PyErr_Occurred()  __pyx_tstate->curexc_type
2023-05-14T17:24:50.8408653Z       |                                             ^~
2023-05-14T17:24:50.8409100Z src/pyfuse3.c:25117:30: note: in expansion of macro ‘__Pyx_PyErr_Occurred’
2023-05-14T17:24:50.8409517Z 25117 |         PyObject* exc_type = __Pyx_PyErr_Occurred();
2023-05-14T17:24:50.8409837Z       |                              ^~~~~~~~~~~~~~~~~~~~
2023-05-14T17:24:50.8709331Z src/pyfuse3.c: In function ‘__pyx_gb_7pyfuse3_91generator29’:
2023-05-14T17:24:50.8725049Z src/pyfuse3.c:2305:45: error: ‘PyThreadState’ {aka ‘struct _ts’} has no member named ‘curexc_type’
2023-05-14T17:24:50.8725648Z  2305 | #define __Pyx_PyErr_Occurred()  __pyx_tstate->curexc_type
2023-05-14T17:24:50.8725989Z       |                                             ^~
2023-05-14T17:24:50.8726440Z src/pyfuse3.c:29853:40: note: in expansion of macro ‘__Pyx_PyErr_Occurred’
2023-05-14T17:24:50.8726837Z 29853 |                   PyObject* exc_type = __Pyx_PyErr_Occurred();
2023-05-14T17:24:50.8727171Z       |                                        ^~~~~~~~~~~~~~~~~~~~
2023-05-14T17:24:50.8807958Z src/pyfuse3.c: In function ‘__pyx_gb_7pyfuse3_94generator30’:
2023-05-14T17:24:50.8824610Z src/pyfuse3.c:2305:45: error: ‘PyThreadState’ {aka ‘struct _ts’} has no member named ‘curexc_type’
2023-05-14T17:24:50.8825102Z  2305 | #define __Pyx_PyErr_Occurred()  __pyx_tstate->curexc_type
2023-05-14T17:24:50.8825396Z       |                                             ^~
2023-05-14T17:24:50.8825781Z src/pyfuse3.c:31145:30: note: in expansion of macro ‘__Pyx_PyErr_Occurred’
2023-05-14T17:24:50.8826499Z 31145 |         PyObject* exc_type = __Pyx_PyErr_Occurred();
2023-05-14T17:24:50.8826781Z       |                              ^~~~~~~~~~~~~~~~~~~~
2023-05-14T17:24:51.1213683Z src/pyfuse3.c: In function ‘__Pyx_PyErr_ExceptionMatchesInState’:
2023-05-14T17:24:51.1227489Z src/pyfuse3.c:56842:32: error: ‘PyThreadState’ {aka ‘struct _ts’} has no member named ‘curexc_type’
2023-05-14T17:24:51.1228024Z 56842 |     PyObject *exc_type = tstate->curexc_type;
2023-05-14T17:24:51.1228331Z       |                                ^~
2023-05-14T17:24:51.1305463Z src/pyfuse3.c: In function ‘__Pyx_ErrRestoreInState’:
2023-05-14T17:24:51.1320230Z src/pyfuse3.c:56855:22: error: ‘PyThreadState’ {aka ‘struct _ts’} has no member named ‘curexc_type’
2023-05-14T17:24:51.1320682Z 56855 |     tmp_type = tstate->curexc_type;
2023-05-14T17:24:51.1321060Z       |                      ^~
2023-05-14T17:24:51.1333373Z src/pyfuse3.c:56856:23: error: ‘PyThreadState’ {aka ‘struct _ts’} has no member named ‘curexc_value’
2023-05-14T17:24:51.1333836Z 56856 |     tmp_value = tstate->curexc_value;
2023-05-14T17:24:51.1334083Z       |                       ^~
2023-05-14T17:24:51.1347043Z src/pyfuse3.c:56857:20: error: ‘PyThreadState’ {aka ‘struct _ts’} has no member named ‘curexc_traceback’
2023-05-14T17:24:51.1347462Z 56857 |     tmp_tb = tstate->curexc_traceback;
2023-05-14T17:24:51.1347714Z       |                    ^~
2023-05-14T17:24:51.1360644Z src/pyfuse3.c:56858:11: error: ‘PyThreadState’ {aka ‘struct _ts’} has no member named ‘curexc_type’
2023-05-14T17:24:51.1361142Z 56858 |     tstate->curexc_type = type;
2023-05-14T17:24:51.1361375Z       |           ^~
2023-05-14T17:24:51.1374099Z src/pyfuse3.c:56859:11: error: ‘PyThreadState’ {aka ‘struct _ts’} has no member named ‘curexc_value’
2023-05-14T17:24:51.1374508Z 56859 |     tstate->curexc_value = value;
2023-05-14T17:24:51.1374730Z       |           ^~
2023-05-14T17:24:51.1387648Z src/pyfuse3.c:56860:11: error: ‘PyThreadState’ {aka ‘struct _ts’} has no member named ‘curexc_traceback’
2023-05-14T17:24:51.1388083Z 56860 |     tstate->curexc_traceback = tb;
2023-05-14T17:24:51.1388307Z       |           ^~
2023-05-14T17:24:51.1388644Z src/pyfuse3.c: In function ‘__Pyx_ErrFetchInState’:
2023-05-14T17:24:51.1402080Z src/pyfuse3.c:56866:19: error: ‘PyThreadState’ {aka ‘struct _ts’} has no member named ‘curexc_type’
2023-05-14T17:24:51.1402474Z 56866 |     *type = tstate->curexc_type;
2023-05-14T17:24:51.1402904Z       |                   ^~
2023-05-14T17:24:51.1415682Z src/pyfuse3.c:56867:20: error: ‘PyThreadState’ {aka ‘struct _ts’} has no member named ‘curexc_value’
2023-05-14T17:24:51.1416094Z 56867 |     *value = tstate->curexc_value;
2023-05-14T17:24:51.1416364Z       |                    ^~
2023-05-14T17:24:51.1429485Z src/pyfuse3.c:56868:17: error: ‘PyThreadState’ {aka ‘struct _ts’} has no member named ‘curexc_traceback’
2023-05-14T17:24:51.1429898Z 56868 |     *tb = tstate->curexc_traceback;
2023-05-14T17:24:51.1430140Z       |                 ^~
2023-05-14T17:24:51.1444162Z src/pyfuse3.c:56869:11: error: ‘PyThreadState’ {aka ‘struct _ts’} has no member named ‘curexc_type’
2023-05-14T17:24:51.1444547Z 56869 |     tstate->curexc_type = 0;
2023-05-14T17:24:51.1444775Z       |           ^~
2023-05-14T17:24:51.1457688Z src/pyfuse3.c:56870:11: error: ‘PyThreadState’ {aka ‘struct _ts’} has no member named ‘curexc_value’
2023-05-14T17:24:51.1458082Z 56870 |     tstate->curexc_value = 0;
2023-05-14T17:24:51.1458297Z       |           ^~
2023-05-14T17:24:51.1471217Z src/pyfuse3.c:56871:11: error: ‘PyThreadState’ {aka ‘struct _ts’} has no member named ‘curexc_traceback’
2023-05-14T17:24:51.1471629Z 56871 |     tstate->curexc_traceback = 0;
2023-05-14T17:24:51.1471867Z       |           ^~
2023-05-14T17:24:51.2043400Z src/pyfuse3.c: In function ‘__Pyx_Raise’:
2023-05-14T17:24:51.2055311Z src/pyfuse3.c:57354:34: error: ‘PyThreadState’ {aka ‘struct _ts’} has no member named ‘curexc_traceback’
2023-05-14T17:24:51.2055864Z 57354 |         PyObject* tmp_tb = tstate->curexc_traceback;
2023-05-14T17:24:51.2056592Z       |                                  ^~
2023-05-14T17:24:51.2068851Z src/pyfuse3.c:57357:19: error: ‘PyThreadState’ {aka ‘struct _ts’} has no member named ‘curexc_traceback’
2023-05-14T17:24:51.2069343Z 57357 |             tstate->curexc_traceback = tb;
2023-05-14T17:24:51.2069625Z       |                   ^~
2023-05-14T17:24:51.2564872Z In file included from /opt/hostedtoolcache/Python/3.12.0-alpha.7/x64/include/python3.12/internal/pycore_frame.h:9,
2023-05-14T17:24:51.2565347Z                  from src/pyfuse3.c:58290:
2023-05-14T17:24:51.2566346Z /opt/hostedtoolcache/Python/3.12.0-alpha.7/x64/include/python3.12/internal/pycore_code.h: In function ‘write_varint’:
2023-05-14T17:24:51.2567283Z /opt/hostedtoolcache/Python/3.12.0-alpha.7/x64/include/python3.12/internal/pycore_code.h:350:18: warning: conversion from ‘unsigned int’ to ‘uint8_t’ {aka ‘unsigned char’} may change value [-Wconversion]
2023-05-14T17:24:51.2567785Z   350 |         *ptr++ = 64 | (val & 63);
2023-05-14T17:24:51.2568069Z       |                  ^~
2023-05-14T17:24:51.2568805Z /opt/hostedtoolcache/Python/3.12.0-alpha.7/x64/include/python3.12/internal/pycore_code.h:354:12: warning: conversion from ‘unsigned int’ to ‘uint8_t’ {aka ‘unsigned char’} may change value [-Wconversion]
2023-05-14T17:24:51.2569286Z   354 |     *ptr = val;
2023-05-14T17:24:51.2569510Z       |            ^~~
2023-05-14T17:24:51.2570081Z /opt/hostedtoolcache/Python/3.12.0-alpha.7/x64/include/python3.12/internal/pycore_code.h: In function ‘write_signed_varint’:
2023-05-14T17:24:51.2570990Z /opt/hostedtoolcache/Python/3.12.0-alpha.7/x64/include/python3.12/internal/pycore_code.h:367:30: warning: conversion to ‘unsigned int’ from ‘int’ may change the sign of the result [-Wsign-conversion]
2023-05-14T17:24:51.2571521Z   367 |     return write_varint(ptr, val);
2023-05-14T17:24:51.2571791Z       |                              ^~~
2023-05-14T17:24:51.2572968Z /opt/hostedtoolcache/Python/3.12.0-alpha.7/x64/include/python3.12/internal/pycore_code.h: In function ‘write_location_entry_start’:
2023-05-14T17:24:51.2573874Z /opt/hostedtoolcache/Python/3.12.0-alpha.7/x64/include/python3.12/internal/pycore_code.h:374:12: warning: conversion from ‘int’ to ‘uint8_t’ {aka ‘unsigned char’} may change value [-Wconversion]
2023-05-14T17:24:51.2574470Z   374 |     *ptr = 128 | (code << 3) | (length - 1);
2023-05-14T17:24:51.2574725Z       |            ^~~
2023-05-14T17:24:51.2575298Z /opt/hostedtoolcache/Python/3.12.0-alpha.7/x64/include/python3.12/internal/pycore_code.h: In function ‘adaptive_counter_bits’:
2023-05-14T17:24:51.2576197Z /opt/hostedtoolcache/Python/3.12.0-alpha.7/x64/include/python3.12/internal/pycore_code.h:415:45: warning: conversion from ‘int’ to ‘uint16_t’ {aka ‘short unsigned int’} may change value [-Wconversion]
2023-05-14T17:24:51.2576729Z   415 |     return (value << ADAPTIVE_BACKOFF_BITS) |
2023-05-14T17:24:51.2577024Z       |            ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
2023-05-14T17:24:51.2577434Z   416 |         (backoff & ((1<<ADAPTIVE_BACKOFF_BITS)-1));
2023-05-14T17:24:51.2577763Z       |         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2023-05-14T17:24:51.2578341Z /opt/hostedtoolcache/Python/3.12.0-alpha.7/x64/include/python3.12/internal/pycore_code.h: In function ‘adaptive_counter_backoff’:
2023-05-14T17:24:51.2579242Z /opt/hostedtoolcache/Python/3.12.0-alpha.7/x64/include/python3.12/internal/pycore_code.h:438:26: warning: conversion to ‘unsigned int’ from ‘int’ may change the sign of the result [-Wsign-conversion]
2023-05-14T17:24:51.2579847Z   438 |     unsigned int value = (1 << backoff) - 1;
2023-05-14T17:24:51.2580137Z       |                          ^
2023-05-14T17:24:51.2580865Z /opt/hostedtoolcache/Python/3.12.0-alpha.7/x64/include/python3.12/internal/pycore_code.h:439:34: warning: conversion to ‘int’ from ‘unsigned int’ may change the sign of the result [-Wsign-conversion]
2023-05-14T17:24:51.2581413Z   439 |     return adaptive_counter_bits(value, backoff);
2023-05-14T17:24:51.2581722Z       |                                  ^~~~~
2023-05-14T17:24:51.2582679Z /opt/hostedtoolcache/Python/3.12.0-alpha.7/x64/include/python3.12/internal/pycore_code.h:439:41: warning: conversion to ‘int’ from ‘unsigned int’ may change the sign of the result [-Wsign-conversion]
2023-05-14T17:24:51.2583206Z   439 |     return adaptive_counter_bits(value, backoff);
2023-05-14T17:24:51.2583518Z       |                                         ^~~~~~~
2023-05-14T17:24:51.2775835Z src/pyfuse3.c: In function ‘__Pyx_Coroutine_MethodReturn’:
2023-05-14T17:24:51.2803559Z src/pyfuse3.c:2305:45: error: ‘PyThreadState’ {aka ‘struct _ts’} has no member named ‘curexc_type’
2023-05-14T17:24:51.2804472Z  2305 | #define __Pyx_PyErr_Occurred()  __pyx_tstate->curexc_type
2023-05-14T17:24:51.2804834Z       |                                             ^~
2023-05-14T17:24:51.2805307Z src/pyfuse3.c:58540:14: note: in expansion of macro ‘__Pyx_PyErr_Occurred’
2023-05-14T17:24:51.2805661Z 58540 |         if (!__Pyx_PyErr_Occurred()) {
2023-05-14T17:24:51.2805947Z       |              ^~~~~~~~~~~~~~~~~~~~
2023-05-14T17:24:51.3476239Z src/pyfuse3.c: In function ‘__Pyx__Coroutine_GetAwaitableIter’:
2023-05-14T17:24:51.3489215Z src/pyfuse3.c:59659:53: error: ‘PyGenObject’ {aka ‘struct <anonymous>’} has no member named ‘gi_code’
2023-05-14T17:24:51.3490035Z 59659 |     if (PyGen_CheckExact(obj) && ((PyGenObject*)obj)->gi_code && ((PyCodeObject *)((PyGenObject*)obj)->gi_code)->co_flags & CO_ITERABLE_COROUTINE) {
2023-05-14T17:24:51.3490509Z       |                                                     ^~
2023-05-14T17:24:51.3517683Z src/pyfuse3.c:59659:102: error: ‘PyGenObject’ {aka ‘struct <anonymous>’} has no member named ‘gi_code’
2023-05-14T17:24:51.3518519Z 59659 |     if (PyGen_CheckExact(obj) && ((PyGenObject*)obj)->gi_code && ((PyCodeObject *)((PyGenObject*)obj)->gi_code)->co_flags & CO_ITERABLE_COROUTINE) {
2023-05-14T17:24:51.3519002Z       |                                                                                                      ^~
2023-05-14T17:24:51.3606220Z src/pyfuse3.c: In function ‘__Pyx__GetException’:
2023-05-14T17:24:51.3619379Z src/pyfuse3.c:59785:24: error: ‘PyThreadState’ {aka ‘struct _ts’} has no member named ‘curexc_type’
2023-05-14T17:24:51.3619815Z 59785 |     local_type = tstate->curexc_type;
2023-05-14T17:24:51.3620051Z       |                        ^~
2023-05-14T17:24:51.3634771Z src/pyfuse3.c:59786:25: error: ‘PyThreadState’ {aka ‘struct _ts’} has no member named ‘curexc_value’
2023-05-14T17:24:51.3635233Z 59786 |     local_value = tstate->curexc_value;
2023-05-14T17:24:51.3635474Z       |                         ^~
2023-05-14T17:24:51.3647645Z src/pyfuse3.c:59787:22: error: ‘PyThreadState’ {aka ‘struct _ts’} has no member named ‘curexc_traceback’
2023-05-14T17:24:51.3648083Z 59787 |     local_tb = tstate->curexc_traceback;
2023-05-14T17:24:51.3648335Z       |                      ^~
2023-05-14T17:24:51.3663195Z src/pyfuse3.c:59788:11: error: ‘PyThreadState’ {aka ‘struct _ts’} has no member named ‘curexc_type’
2023-05-14T17:24:51.3663629Z 59788 |     tstate->curexc_type = 0;
2023-05-14T17:24:51.3663900Z       |           ^~
2023-05-14T17:24:51.3675408Z src/pyfuse3.c:59789:11: error: ‘PyThreadState’ {aka ‘struct _ts’} has no member named ‘curexc_value’
2023-05-14T17:24:51.3675824Z 59789 |     tstate->curexc_value = 0;
2023-05-14T17:24:51.3676056Z       |           ^~
2023-05-14T17:24:51.3690896Z src/pyfuse3.c:59790:11: error: ‘PyThreadState’ {aka ‘struct _ts’} has no member named ‘curexc_traceback’
2023-05-14T17:24:51.3691337Z 59790 |     tstate->curexc_traceback = 0;
2023-05-14T17:24:51.3691582Z       |           ^~
2023-05-14T17:24:51.3704081Z src/pyfuse3.c:59796:24: error: ‘PyThreadState’ {aka ‘struct _ts’} has no member named ‘curexc_type’
2023-05-14T17:24:51.3704500Z 59796 |     if (unlikely(tstate->curexc_type))
2023-05-14T17:24:51.3704752Z       |                        ^~
2023-05-14T17:24:51.3705173Z src/pyfuse3.c:1283:43: note: in definition of macro ‘unlikely’
2023-05-14T17:24:51.3705479Z  1283 |   #define unlikely(x) __builtin_expect(!!(x), 0)
2023-05-14T17:24:51.3706068Z       |                                           ^
2023-05-14T17:24:51.3867288Z src/pyfuse3.c: In function ‘__Pyx_IterFinish’:
2023-05-14T17:24:51.3880125Z src/pyfuse3.c:60007:32: error: ‘PyThreadState’ {aka ‘struct _ts’} has no member named ‘curexc_type’
2023-05-14T17:24:51.3880574Z 60007 |     PyObject* exc_type = tstate->curexc_type;
2023-05-14T17:24:51.3880947Z       |                                ^~
2023-05-14T17:24:51.3895905Z src/pyfuse3.c:60011:31: error: ‘PyThreadState’ {aka ‘struct _ts’} has no member named ‘curexc_value’
2023-05-14T17:24:51.3896374Z 60011 |             exc_value = tstate->curexc_value;
2023-05-14T17:24:51.3896883Z       |                               ^~
2023-05-14T17:24:51.3908929Z src/pyfuse3.c:60012:28: error: ‘PyThreadState’ {aka ‘struct _ts’} has no member named ‘curexc_traceback’
2023-05-14T17:24:51.3909391Z 60012 |             exc_tb = tstate->curexc_traceback;
2023-05-14T17:24:51.3909641Z       |                            ^~
2023-05-14T17:24:51.3922934Z src/pyfuse3.c:60013:19: error: ‘PyThreadState’ {aka ‘struct _ts’} has no member named ‘curexc_type’
2023-05-14T17:24:51.3923370Z 60013 |             tstate->curexc_type = 0;
2023-05-14T17:24:51.3923617Z       |                   ^~
2023-05-14T17:24:51.3938553Z src/pyfuse3.c:60014:19: error: ‘PyThreadState’ {aka ‘struct _ts’} has no member named ‘curexc_value’
2023-05-14T17:24:51.3939020Z 60014 |             tstate->curexc_value = 0;
2023-05-14T17:24:51.3939275Z       |                   ^~
2023-05-14T17:24:51.3951038Z src/pyfuse3.c:60015:19: error: ‘PyThreadState’ {aka ‘struct _ts’} has no member named ‘curexc_traceback’
2023-05-14T17:24:51.3951518Z 60015 |             tstate->curexc_traceback = 0;
2023-05-14T17:24:51.3951775Z       |                   ^~
2023-05-14T17:24:51.9006778Z error: command '/usr/bin/gcc' failed with exit code 1
2023-05-14T17:24:51.9834408Z ##[error]Process completed with exit code 1.
@ThomasWaldmann ThomasWaldmann changed the title issue with py 3.12 and cy 3 issues with py 3.12.0a7 and cy 3.0.0b2 May 14, 2023
ThomasWaldmann added a commit to ThomasWaldmann/pyfuse3 that referenced this issue May 14, 2023
ThomasWaldmann added a commit to ThomasWaldmann/pyfuse3 that referenced this issue May 14, 2023
@ThomasWaldmann
Copy link
Collaborator Author

Looks like this works now, see successful builds in #81.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant