<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" "http://www.w3.org/TR/REC-html40/loose.dtd">
<html lang="en" style='--code-editor-font: var(--default-mono-font, "GitLab Mono"), JetBrains Mono, Menlo, DejaVu Sans Mono, Liberation Mono, Consolas, Ubuntu Mono, Courier New, andale mono, lucida console, monospace;'>
<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
<title>
GitLab
</title>

<style data-premailer="ignore" type="text/css">
a { color: #1068bf; }
</style>

<style>img {
max-width: 100%; height: auto;
}
body {
font-size: .875rem;
}
body {
-webkit-text-shadow: rgba(255,255,255,.01) 0 0 1px;
}
body {
font-family: "GitLab Sans",-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Noto Sans",Ubuntu,Cantarell,"Helvetica Neue",sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji"; font-size: inherit;
}
</style>
</head>
<body style='font-size: inherit; -webkit-text-shadow: rgba(255,255,255,.01) 0 0 1px; font-family: "GitLab Sans",-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Noto Sans",Ubuntu,Cantarell,"Helvetica Neue",sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji";'>
<div class="content">

<p class="details" style="font-style: italic; color: #626168;">
<a href="https://gitlab.rtems.org/martinerikwerner">Martin Werner</a> created an issue: <a href="https://gitlab.rtems.org/rtems/prequal/rtems-central/-/issues/7">#7</a>
</p>
<div class="md" style="position: relative; z-index: 1; color: #3a383f; word-wrap: break-word;">
<h2 dir="auto" style="margin-top: 0; margin-bottom: 10px;" align="initial">
<a href="#summary" aria-hidden="true" class="anchor" id="user-content-summary" style="margin-top: 0; margin-left: -20px; text-decoration: none; outline: none; position: absolute; width: 20px;"></a>Summary</h2>
<p dir="auto" style="color: #3a383f; margin: 0 0 1rem;" align="initial">Running <code style='font-size: 90%; color: #18171d; word-wrap: break-word; border-radius: .25rem; background-color: #ececef; margin-top: 0; font-weight: inherit; white-space: break-spaces; word-break: break-all; font-family: "GitLab Mono", "JetBrains Mono", "Menlo", "DejaVu Sans Mono", "Liberation Mono", "Consolas", "Ubuntu Mono", "Courier New", "andale mono", "lucida console", monospace; font-variant-ligatures: none; overflow-wrap: break-word; padding: 0.125rem 0.25rem;'>make env</code> fails on Debian 13 using python 3.13 with the following output:</p>
<div class="gl-relative markdown-code-block js-markdown-code">
<pre class="code highlight js-syntax-highlight language-plaintext" v-pre="true" style='display: block; font-size: 14px; color: #3a383f; line-height: 1.6em; overflow-x: auto; border-radius: .25rem; position: relative; font-family: "GitLab Mono", "JetBrains Mono", "Menlo", "DejaVu Sans Mono", "Liberation Mono", "Consolas", "Ubuntu Mono", "Courier New", "andale mono", "lucida console", monospace; font-variant-ligatures: none; word-break: break-all; word-wrap: break-word; background-color: #fbfafd; margin: 0 0 1rem; padding: 12px; border: 1px solid #dcdcde;'><code style='font-size: inherit; color: inherit; word-wrap: normal; word-break: keep-all; border-radius: .25rem; background-color: inherit; white-space: pre; margin-top: 0; font-family: "GitLab Mono", "JetBrains Mono", "Menlo", "DejaVu Sans Mono", "Liberation Mono", "Consolas", "Ubuntu Mono", "Courier New", "andale mono", "lucida console", monospace; font-variant-ligatures: none; overflow-wrap: normal; padding: unset;'><span id="LC1" class="line" lang="plaintext" style="margin-top: 0;">Building wheels for collected packages: typed-ast                                                                                                                                                                                                                                                                                                                                           </span>
<span id="LC2" class="line" lang="plaintext">  Building wheel for typed-ast (pyproject.toml) ... error                                                                                                                                     </span>
<span id="LC3" class="line" lang="plaintext">  error: subprocess-exited-with-error                                                                                                                                                                                                                                                                                                                                                       </span>
<span id="LC4" class="line" lang="plaintext">                                                                                                                                                                                              </span>
<span id="LC5" class="line" lang="plaintext">  × Building wheel for typed-ast (pyproject.toml) did not run successfully.                                                                                                                                                                                                                                                                                                                 </span>
<span id="LC6" class="line" lang="plaintext">  │ exit code: 1                                                                                                                                                                              </span>
<span id="LC7" class="line" lang="plaintext">  ╰─> [26 lines of output]                                                                                                                                                                                                                                                                                                                                                                  </span>
<span id="LC8" class="line" lang="plaintext">      running bdist_wheel                                                                                                                                                                     </span>
<span id="LC9" class="line" lang="plaintext">      running build                                                                                                                                                                                                                                                                                                                                                                         </span>
<span id="LC10" class="line" lang="plaintext">      running build_py                                                                                                                                                                        </span>
<span id="LC11" class="line" lang="plaintext">      creating build/lib.linux-x86_64-cpython-313/typed_ast                                                                                                                                                                                                                                                                                                                                 </span>
<span id="LC12" class="line" lang="plaintext">      copying typed_ast/conversions.py -> build/lib.linux-x86_64-cpython-313/typed_ast                                                                                                        </span>
<span id="LC13" class="line" lang="plaintext">      copying typed_ast/ast3.py -> build/lib.linux-x86_64-cpython-313/typed_ast                                                                                                                                                                                                                                                                                                             </span>
<span id="LC14" class="line" lang="plaintext">      copying typed_ast/ast27.py -> build/lib.linux-x86_64-cpython-313/typed_ast                                                                                                              </span>
<span id="LC15" class="line" lang="plaintext">      copying typed_ast/__init__.py -> build/lib.linux-x86_64-cpython-313/typed_ast                                                                                                                                                                                                                                                                                                         </span>
<span id="LC16" class="line" lang="plaintext">      creating build/lib.linux-x86_64-cpython-313/typed_ast/tests                                                                                                                             </span>
<span id="LC17" class="line" lang="plaintext">      copying ast3/tests/test_basics.py -> build/lib.linux-x86_64-cpython-313/typed_ast/tests                                                                                                                                                                                                                                                                                               </span>
<span id="LC18" class="line" lang="plaintext">      running build_ext                                                                                                                                                                                                                                                                                                                                                                     </span>
<span id="LC19" class="line" lang="plaintext">      building '_ast27' extension                                                                                                                                                                                                                                                                                                                                                           </span>
<span id="LC20" class="line" lang="plaintext">      creating build/temp.linux-x86_64-cpython-313/ast27/Custom                                                                                                                               </span>
<span id="LC21" class="line" lang="plaintext">      creating build/temp.linux-x86_64-cpython-313/ast27/Parser                                                                                                                                                                                                                                                                                                                             </span>
<span id="LC22" class="line" lang="plaintext">      creating build/temp.linux-x86_64-cpython-313/ast27/Python                                                                                                                               </span>
<span id="LC23" class="line" lang="plaintext">      x86_64-linux-gnu-gcc -fno-strict-overflow -Wsign-compare -DNDEBUG -g -O2 -Wall -fPIC -Iast27/Include -I/home/arand/utv/rtems-central/env/include -I/usr/include/python3.13 -c ast27/Custom/typed_ast.c -o build/temp.linux-x86_64-cpython-313/ast27/Custom/typed_ast.o                                                                                                                </span>
<span id="LC24" class="line" lang="plaintext">      In file included from /usr/include/python3.13/pyport.h:358,                                                                                                                             </span>
<span id="LC25" class="line" lang="plaintext">                       from /usr/include/python3.13/Python.h:63,                                                                                                                                                                                                                                                                                                                            </span>
<span id="LC26" class="line" lang="plaintext">                       from ast27/Custom/typed_ast.c:1:                                                                                                                                                                                                                                                                                                                                     </span>
<span id="LC27" class="line" lang="plaintext">      ast27/Custom/../Include/compile.h:12:12: error: unknown type name ‘PyFutureFeatures’                                                                                                                                                                                                                                                                                                  </span>
<span id="LC28" class="line" lang="plaintext">         12 | PyAPI_FUNC(PyFutureFeatures *) PyFuture_FromAST(struct _mod *, const char *);                                                                                                   </span>
<span id="LC29" class="line" lang="plaintext">            |            ^~~~~~~~~~~~~~~~                                                                                                                                                                                                                                                                                                                                                   </span>
<span id="LC30" class="line" lang="plaintext">      /usr/include/python3.13/exports.h:94:53: note: in definition of macro ‘PyAPI_FUNC’                                                                                                      </span>
<span id="LC31" class="line" lang="plaintext">         94 | #       define PyAPI_FUNC(RTYPE) Py_EXPORTED_SYMBOL RTYPE                                                                                                                                                                                                                                                                                                                     </span>
<span id="LC32" class="line" lang="plaintext">            |                                                     ^~~~~                                                                                                                       </span>
<span id="LC33" class="line" lang="plaintext">      error: command '/usr/bin/x86_64-linux-gnu-gcc' failed with exit code 1                                                                                                                                                                                                                                                                                                                </span>
<span id="LC34" class="line" lang="plaintext">      [end of output]                                                                                                                                                                                                                                                                                                                                                                       </span>
<span id="LC35" class="line" lang="plaintext">                                                                                                                                                                                                                                                                                                                                                                                            </span>
<span id="LC36" class="line" lang="plaintext">  note: This error originates from a subprocess, and is likely not a problem with pip.                                                                                                        </span>
<span id="LC37" class="line" lang="plaintext">  ERROR: Failed building wheel for typed-ast                                                                                                                                                                                                                                                                                                                                                </span>
<span id="LC38" class="line" lang="plaintext">Failed to build typed-ast                                                                                                                                                                                                                                                                                                                                                                   </span>
<span id="LC39" class="line" lang="plaintext">error: failed-wheel-build-for-install                                                                                                                                                                                                                                                                                                                                                       </span>
<span id="LC40" class="line" lang="plaintext">                                                                                                                                                                                              </span>
<span id="LC41" class="line" lang="plaintext">× Failed to build installable wheels for some pyproject.toml based projects                                                                                                                                                                                                                                                                                                                 </span>
<span id="LC42" class="line" lang="plaintext">╰─> typed-ast                                                                                                                                                                                 </span>
<span id="LC43" class="line" lang="plaintext">make: *** [Makefile:32: env] Error 1                                  </span></code></pre>
<copy-code></copy-code><insert-code-snippet></insert-code-snippet>
</div>
<p dir="auto" style="color: #3a383f; margin: 0 0 1rem;" align="initial">Simply removing typed-ast from requirements.txt and re-running seems to resolve the issue. I'm not sure why typded-ast is a requirement here? At least <code style='font-size: 90%; color: #18171d; word-wrap: break-word; border-radius: .25rem; background-color: #ececef; margin-top: 0; font-weight: inherit; white-space: break-spaces; word-break: break-all; font-family: "GitLab Mono", "JetBrains Mono", "Menlo", "DejaVu Sans Mono", "Liberation Mono", "Consolas", "Ubuntu Mono", "Courier New", "andale mono", "lucida console", monospace; font-variant-ligatures: none; overflow-wrap: break-word; padding: 0.125rem 0.25rem;'>make format</code> and <code style='font-size: 90%; color: #18171d; word-wrap: break-word; border-radius: .25rem; background-color: #ececef; font-weight: inherit; white-space: break-spaces; word-break: break-all; font-family: "GitLab Mono", "JetBrains Mono", "Menlo", "DejaVu Sans Mono", "Liberation Mono", "Consolas", "Ubuntu Mono", "Courier New", "andale mono", "lucida console", monospace; font-variant-ligatures: none; overflow-wrap: break-word; padding: 0.125rem 0.25rem;'>./spec2modules.py</code> seems to work fine without it.</p>
<p dir="auto" style="color: #3a383f; margin: 0 0 1rem;" align="initial">typed-ast seems to be unmaintained and deprecated according to <a href="https://github.com/python/typed_ast/issues/179" rel="nofollow noreferrer noopener" target="_blank" style="margin-top: 0;">https://github.com/python/typed_ast/issues/179</a></p>
<p dir="auto" style="color: #3a383f; margin: 0;" align="initial">Can it just be removed from <code style='font-size: 90%; color: #18171d; word-wrap: break-word; border-radius: .25rem; background-color: #ececef; margin-top: 0; font-weight: inherit; white-space: break-spaces; word-break: break-all; font-family: "GitLab Mono", "JetBrains Mono", "Menlo", "DejaVu Sans Mono", "Liberation Mono", "Consolas", "Ubuntu Mono", "Courier New", "andale mono", "lucida console", monospace; font-variant-ligatures: none; overflow-wrap: break-word; padding: 0.125rem 0.25rem;'>requirements.txt</code> or is it actually used?</p>
</div>

</div>
<div class="footer" style="margin-top: 10px;">
<p style="font-size: small; color: #626168;">

<br>
<a href="https://gitlab.rtems.org/rtems/prequal/rtems-central/-/issues/7">View it on GitLab</a>.
<br>
You're receiving this email because of your account on <a target="_blank" rel="noopener noreferrer" href="https://gitlab.rtems.org">gitlab.rtems.org</a>. <a href="https://gitlab.rtems.org/-/sent_notifications/eac082377c6c6d3f79f94c9ce5598d30/unsubscribe" target="_blank" rel="noopener noreferrer">Unsubscribe</a> from this thread · <a href="https://gitlab.rtems.org/-/profile/notifications" target="_blank" rel="noopener noreferrer" class="mng-notif-link">Manage all notifications</a> · <a href="https://gitlab.rtems.org/help" target="_blank" rel="noopener noreferrer" class="help-link">Help</a>
<span style="color: transparent; font-size: 0; display: none; overflow: hidden; opacity: 0; width: 0; height: 0; max-width: 0; max-height: 0;">
Notification message regarding https://gitlab.rtems.org/rtems/prequal/rtems-central/-/issues/7 at 1755638381
</span>
<script type="application/ld+json">{"@context":"http://schema.org","@type":"EmailMessage","action":{"@type":"ViewAction","name":"View Issue","url":"https://gitlab.rtems.org/rtems/prequal/rtems-central/-/issues/7"}}</script>


</p>
</div>
</body>
</html>