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

Greenlet needs updating to work with 3.12 #363

Closed
gramster opened this issue Jul 11, 2023 · 1 comment
Closed

Greenlet needs updating to work with 3.12 #363

gramster opened this issue Jul 11, 2023 · 1 comment

Comments

@gramster
Copy link

I'm trying to update pydevd tests to work with 3.12, and encountering this:

    creating build\temp.win-amd64-cpython-312\Release\src\greenlet
    "C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Tools\MSVC\14.35.32215\bin\HostX86\x64\cl.exe" /c /nologo /O2 /W3 /GL /DNDEBUG /MD -DWIN32=1 -IC:\hostedtoolcache\windows\Python\3.12.0-beta.3\x64\include -IC:\hostedtoolcache\windows\Python\3.12.0-beta.3\x64\Include "-IC:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Tools\MSVC\14.35.32215\include" "-IC:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Tools\MSVC\14.35.32215\ATLMFC\include" "-IC:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Auxiliary\VS\include" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.22621.0\ucrt" "-IC:\Program Files (x86)\Windows Kits\10\\include\10.0.22621.0\\um" "-IC:\Program Files (x86)\Windows Kits\10\\include\10.0.22621.0\\shared" "-IC:\Program Files (x86)\Windows Kits\10\\include\10.0.22621.0\\winrt" "-IC:\Program Files (x86)\Windows Kits\10\\include\10.0.22621.0\\cppwinrt" "-IC:\Program Files (x86)\Windows Kits\NETFXSDK\4.8\include\um" /EHsc /Tpsrc/greenlet/greenlet.cpp /Fobuild\temp.win-amd64-cpython-312\Release\src/greenlet/greenlet.obj /EHsr /GT
    greenlet.cpp
    C:\Users\runneradmin\AppData\Local\Temp\pip-install-8suoep5j\greenlet_f4c2003f14604d0498cba73212c9a7e7\src\greenlet\greenlet_greenlet.hpp(831): error C2039: 'use_tracing': is not a member of '_PyCFrame'
    C:\hostedtoolcache\windows\Python\3.12.0-beta.3\x64\include\cpython/pystate.h(67): note: see declaration of '_PyCFrame'
    C:\Users\runneradmin\AppData\Local\Temp\pip-install-8suoep5j\greenlet_f4c2003f14604d0498cba73212c9a7e7\src\greenlet\greenlet_greenlet.hpp(834): error C2039: 'recursion_limit': is not a member of '_ts'
    C:\hostedtoolcache\windows\Python\3.12.0-beta.3\x64\include\cpython/pystate.h(115): note: see declaration of '_ts'
    C:\Users\runneradmin\AppData\Local\Temp\pip-install-8suoep5j\greenlet_f4c2003f14604d0498cba73212c9a7e7\src\greenlet\greenlet_greenlet.hpp(834): error C2039: 'recursion_remaining': is not a member of '_ts'
    C:\hostedtoolcache\windows\Python\3.12.0-beta.3\x64\include\cpython/pystate.h(115): note: see declaration of '_ts'
    C:\Users\runneradmin\AppData\Local\Temp\pip-install-8suoep5j\greenlet_f4c2003f14604d0498cba73212c9a7e7\src\greenlet\greenlet_greenlet.hpp(848): error C2039: 'trash_delete_nesting': is not a member of '_ts'
    C:\hostedtoolcache\windows\Python\3.12.0-beta.3\x64\include\cpython/pystate.h(115): note: see declaration of '_ts'
    C:\Users\runneradmin\AppData\Local\Temp\pip-install-8suoep5j\greenlet_f4c2003f14604d0498cba73212c9a7e7\src\greenlet\greenlet_greenlet.hpp(867): error C2039: 'use_tracing': is not a member of '_PyCFrame'
    C:\hostedtoolcache\windows\Python\3.12.0-beta.3\x64\include\cpython/pystate.h(67): note: see declaration of '_PyCFrame'
    C:\Users\runneradmin\AppData\Local\Temp\pip-install-8suoep5j\greenlet_f4c2003f14604d0498cba73212c9a7e7\src\greenlet\greenlet_greenlet.hpp(870): error C2039: 'recursion_remaining': is not a member of '_ts'
    C:\hostedtoolcache\windows\Python\3.12.0-beta.3\x64\include\cpython/pystate.h(115): note: see declaration of '_ts'
    C:\Users\runneradmin\AppData\Local\Temp\pip-install-8suoep5j\greenlet_f4c2003f14604d0498cba73212c9a7e7\src\greenlet\greenlet_greenlet.hpp(870): error C2039: 'recursion_limit': is not a member of '_ts'
    C:\hostedtoolcache\windows\Python\3.12.0-beta.3\x64\include\cpython/pystate.h(115): note: see declaration of '_ts'
    C:\Users\runneradmin\AppData\Local\Temp\pip-install-8suoep5j\greenlet_f4c2003f14604d0498cba73212c9a7e7\src\greenlet\greenlet_greenlet.hpp(881): error C2039: 'trash_delete_nesting': is not a member of '_ts'
    C:\hostedtoolcache\windows\Python\3.12.0-beta.3\x64\include\cpython/pystate.h(115): note: see declaration of '_ts'
    C:\Users\runneradmin\AppData\Local\Temp\pip-install-8suoep5j\greenlet_f4c2003f14604d0498cba73212c9a7e7\src\greenlet\greenlet_greenlet.hpp(891): error C2039: 'use_tracing': is not a member of '_PyCFrame'
    C:\hostedtoolcache\windows\Python\3.12.0-beta.3\x64\include\cpython/pystate.h(67): note: see declaration of '_PyCFrame'
    C:\Users\runneradmin\AppData\Local\Temp\pip-install-8suoep5j\greenlet_f4c2003f14604d0498cba73212c9a7e7\src\greenlet\greenlet_greenlet.hpp(899): error C2039: 'recursion_limit': is not a member of '_ts'
    C:\hostedtoolcache\windows\Python\3.12.0-beta.3\x64\include\cpython/pystate.h(115): note: see declaration of '_ts'
    C:\Users\runneradmin\AppData\Local\Temp\pip-install-8suoep5j\greenlet_f4c2003f14604d0498cba73212c9a7e7\src\greenlet\greenlet_greenlet.hpp(899): error C2039: 'recursion_remaining': is not a member of '_ts'
    C:\hostedtoolcache\windows\Python\3.12.0-beta.3\x64\include\cpython/pystate.h(115): note: see declaration of '_ts'
    src/greenlet/greenlet.cpp(3095): error C2039: 'trash_delete_nesting': is not a member of '_ts'
    C:\hostedtoolcache\windows\Python\3.12.0-beta.3\x64\include\cpython/pystate.h(115): note: see declaration of '_ts'
    error: command 'C:\\Program Files\\Microsoft Visual Studio\\2022\\Enterprise\\VC\\Tools\\MSVC\\14.35.32215\\bin\\HostX86\\x64\\cl.exe' failed with exit code 2
    [end of output]
@jamadden
Copy link
Contributor

You need to install the latest version of greenlet (3.0a1)

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

2 participants