Title: trying mypyc on Cython-3.1.0a1 with Python-3.13.0b1 I get a "this header requires Py_BUILD_CORE define" · Issue #119203 · python/cpython · GitHub
Open Graph Title: trying mypyc on Cython-3.1.0a1 with Python-3.13.0b1 I get a "this header requires Py_BUILD_CORE define" · Issue #119203 · python/cpython
X Title: trying mypyc on Cython-3.1.0a1 with Python-3.13.0b1 I get a "this header requires Py_BUILD_CORE define" · Issue #119203 · python/cpython
Description: Bug report Bug description: on python-3.13.0b1 on Windows 11 non-english mypyc WPy64-31300b1b\notebooks\docs\Solvers_Raymond_Hettinger\python\sudoku_norvig_for_comparison_of_complexity.py generates WPy64-31300b1b\notebooks\docs\Solvers_R...
Open Graph Description: Bug report Bug description: on python-3.13.0b1 on Windows 11 non-english mypyc WPy64-31300b1b\notebooks\docs\Solvers_Raymond_Hettinger\python\sudoku_norvig_for_comparison_of_complexity.py generates...
X Description: Bug report Bug description: on python-3.13.0b1 on Windows 11 non-english mypyc WPy64-31300b1b\notebooks\docs\Solvers_Raymond_Hettinger\python\sudoku_norvig_for_comparison_of_complexity.py generates...
Opengraph URL: https://github.com/python/cpython/issues/119203
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":" trying mypyc on Cython-3.1.0a1 with Python-3.13.0b1 I get a \"this header requires Py_BUILD_CORE define\"","articleBody":"# Bug report\n\n### Bug description:\n\non python-3.13.0b1 on Windows 11 non-english\n```python\nmypyc WPy64-31300b1b\\notebooks\\docs\\Solvers_Raymond_Hettinger\\python\\sudoku_norvig_for_comparison_of_complexity.py\n```\n\ngenerates\n\n```\nWPy64-31300b1b\\notebooks\\docs\\Solvers_Raymond_Hettinger\\python\u003emypyc WPy64-31300b1b\\notebooks\\docs\\Solvers_Raymond_Hettinger\\python\\sudoku_norvig_for_comparison_of_complexity.py\nWPy64-31300b1b\\notebooks\\docs\\Solvers_Raymond_Hettinger\\python\\sudoku_norvig_for_comparison_of_complexity.py:123: warning: Treating generator comprehension as list\nrunning build_ext\nbuilding 'sudoku_norvig_for_comparison_of_complexity' extension\ncreating build\\temp.win-amd64-cpython-313\ncreating build\\temp.win-amd64-cpython-313\\Release\ncreating build\\temp.win-amd64-cpython-313\\Release\\build\n\"C:\\Program Files (x86)\\Microsoft Visual Studio\\2022\\BuildTools\\VC\\Tools\\MSVC\\14.39.33519\\bin\\HostX86\\x64\\cl.exe\" /c /nologo /O2 /W3 /GL /DNDEBUG /MD -IWPy64-31300b1b\\python-3.13.0b1.amd64\\Lib\\site-packages\\mypyc\\lib-rt -IWPy64-31300b1b\\python-3.13.0b1.amd64\\include -IWPy64-31300b1b\\python-3.13.0b1.amd64\\Include \"-IC:\\Program Files (x86)\\Microsoft Visual Studio\\2022\\BuildTools\\VC\\Tools\\MSVC\\14.39.33519\\include\" \"-IC:\\Program Files (x86)\\Microsoft Visual Studio\\2022\\BuildTools\\VC\\Auxiliary\\VS\\include\" \"-IC:\\Program Files (x86)\\Windows Kits\\10\\include\\10.0.19041.0\\ucrt\" \"-IC:\\Program Files (x86)\\Windows Kits\\10\\\\include\\10.0.19041.0\\\\um\" \"-IC:\\Program Files (x86)\\Windows Kits\\10\\\\include\\10.0.19041.0\\\\shared\" \"-IC:\\Program Files (x86)\\Windows Kits\\10\\\\include\\10.0.19041.0\\\\winrt\" \"-IC:\\Program Files (x86)\\Windows Kits\\10\\\\include\\10.0.19041.0\\\\cppwinrt\" /Tcbuild\\__native.c /Fobuild\\temp.win-amd64-cpython-313\\Release\\build\\__native.obj /O2 /DEBUG:FASTLINK /wd4102 /wd4101 /wd4146\n__native.c\nWPy64-31300b1b\\python-3.13.0b1.amd64\\include\\internal/pycore_frame.h(8): fatal error C1189: #error: \"this header requires Py_BUILD_CORE define\"\nerror: command 'C:\\\\Program Files (x86)\\\\Microsoft Visual Studio\\\\2022\\\\BuildTools\\\\VC\\\\Tools\\\\MSVC\\\\14.39.33519\\\\bin\\\\HostX86\\\\x64\\\\cl.exe' failed with exit code 2\n```\n\n### CPython versions tested on:\n\n3.13\n\n### Operating systems tested on:\n\nWindows","author":{"url":"https://github.com/stonebig","@type":"Person","name":"stonebig"},"datePublished":"2024-05-20T09:42:51.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":10},"url":"https://github.com/119203/cpython/issues/119203"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:9cfb1c16-cdbf-cf81-1828-be996db17b0c |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | C18A:3FFE1:7559AE:9DE9CD:6969DBE6 |
| html-safe-nonce | 217e5d3bc570da86135ee45fb0ed7db80eaf73fd429be6fcfa1fc05f9cd96c64 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDMThBOjNGRkUxOjc1NTlBRTo5REU5Q0Q6Njk2OURCRTYiLCJ2aXNpdG9yX2lkIjoiNzk2OTQxMzQzNDEyNzgwMTMxOCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | a11424c50aa9d20b8065d01c62cb0bb6a25c8de02cbb71ba3bffe20d0450767a |
| hovercard-subject-tag | issue:2305575902 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/python/cpython/119203/issue_layout |
| twitter:image | https://opengraph.githubassets.com/46b939856c5b0ec257e4d89400d9662a561278c6f7f5d6d54a51eb858882d103/python/cpython/issues/119203 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/46b939856c5b0ec257e4d89400d9662a561278c6f7f5d6d54a51eb858882d103/python/cpython/issues/119203 |
| og:image:alt | Bug report Bug description: on python-3.13.0b1 on Windows 11 non-english mypyc WPy64-31300b1b\notebooks\docs\Solvers_Raymond_Hettinger\python\sudoku_norvig_for_comparison_of_complexity.py generates... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | stonebig |
| hostname | github.com |
| expected-hostname | github.com |
| None | 7b32f1c7c4549428ee399213e8345494fc55b5637195d3fc5f493657579235e8 |
| turbo-cache-control | no-preview |
| go-import | github.com/python/cpython git https://github.com/python/cpython.git |
| octolytics-dimension-user_id | 1525981 |
| octolytics-dimension-user_login | python |
| octolytics-dimension-repository_id | 81598961 |
| octolytics-dimension-repository_nwo | python/cpython |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 81598961 |
| octolytics-dimension-repository_network_root_nwo | python/cpython |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | bdde15ad1b403e23b08bbd89b53fbe6bdf688cad |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width