Title: `ubuntu-latest - 3.15-dev free-threading` failing · Issue #426 · python/pyperformance · GitHub
Open Graph Title: `ubuntu-latest - 3.15-dev free-threading` failing · Issue #426 · python/pyperformance
X Title: `ubuntu-latest - 3.15-dev free-threading` failing · Issue #426 · python/pyperformance
Description: https://github.com/python/pyperformance/actions/runs/18779843038 Building wheels for collected packages: psutil Building wheel for psutil (pyproject.toml): started Building wheel for psutil (pyproject.toml): finished with status 'error' ...
Open Graph Description: https://github.com/python/pyperformance/actions/runs/18779843038 Building wheels for collected packages: psutil Building wheel for psutil (pyproject.toml): started Building wheel for psutil (pyproj...
X Description: https://github.com/python/pyperformance/actions/runs/18779843038 Building wheels for collected packages: psutil Building wheel for psutil (pyproject.toml): started Building wheel for psutil (pyproj...
Opengraph URL: https://github.com/python/pyperformance/issues/426
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"`ubuntu-latest - 3.15-dev free-threading` failing","articleBody":"https://github.com/python/pyperformance/actions/runs/18779843038\n\n```\nBuilding wheels for collected packages: psutil\n Building wheel for psutil (pyproject.toml): started\n Building wheel for psutil (pyproject.toml): finished with status 'error'\nx error: subprocess-exited-with-error\n \n × Building wheel for psutil (pyproject.toml) did not run successfully.\n │ exit code: 1\n ╰─\u003e [97 lines of output]\n /tmp/pip-build-env-g3ie11hb/overlay/lib/python3.15t/site-packages/setuptools/dist.py:759: SetuptoolsDeprecationWarning: License classifiers are deprecated.\n !!\n \n ********************************************************************************\n Please consider removing the following classifiers in favor of a SPDX license expression:\n \n License :: OSI Approved :: BSD License\n \n See https://packaging.python.org/en/latest/guides/writing-pyproject-toml/#license for details.\n ********************************************************************************\n \n !!\n self._finalize_license_expression()\n running bdist_wheel\n running build\n running build_py\n creating build/lib.linux-x86_64-cpython-315t/psutil\n copying psutil/_pswindows.py -\u003e build/lib.linux-x86_64-cpython-315t/psutil\n copying psutil/_psbsd.py -\u003e build/lib.linux-x86_64-cpython-315t/psutil\n copying psutil/_common.py -\u003e build/lib.linux-x86_64-cpython-315t/psutil\n copying psutil/_psposix.py -\u003e build/lib.linux-x86_64-cpython-315t/psutil\n copying psutil/_pssunos.py -\u003e build/lib.linux-x86_64-cpython-315t/psutil\n copying psutil/_compat.py -\u003e build/lib.linux-x86_64-cpython-315t/psutil\n copying psutil/_psosx.py -\u003e build/lib.linux-x86_64-cpython-315t/psutil\n copying psutil/__init__.py -\u003e build/lib.linux-x86_64-cpython-315t/psutil\n copying psutil/_psaix.py -\u003e build/lib.linux-x86_64-cpython-315t/psutil\n copying psutil/_pslinux.py -\u003e build/lib.linux-x86_64-cpython-315t/psutil\n creating build/lib.linux-x86_64-cpython-315t/psutil/tests\n copying psutil/tests/test_system.py -\u003e build/lib.linux-x86_64-cpython-315t/psutil/tests\n copying psutil/tests/test_aix.py -\u003e build/lib.linux-x86_64-cpython-315t/psutil/tests\n copying psutil/tests/test_windows.py -\u003e build/lib.linux-x86_64-cpython-315t/psutil/tests\n copying psutil/tests/test_connections.py -\u003e build/lib.linux-x86_64-cpython-315t/psutil/tests\n copying psutil/tests/test_contracts.py -\u003e build/lib.linux-x86_64-cpython-315t/psutil/tests\n copying psutil/tests/test_sunos.py -\u003e build/lib.linux-x86_64-cpython-315t/psutil/tests\n copying psutil/tests/test_memleaks.py -\u003e build/lib.linux-x86_64-cpython-315t/psutil/tests\n copying psutil/tests/test_unicode.py -\u003e build/lib.linux-x86_64-cpython-315t/psutil/tests\n copying psutil/tests/test_testutils.py -\u003e build/lib.linux-x86_64-cpython-315t/psutil/tests\n copying psutil/tests/test_misc.py -\u003e build/lib.linux-x86_64-cpython-315t/psutil/tests\n copying psutil/tests/test_bsd.py -\u003e build/lib.linux-x86_64-cpython-315t/psutil/tests\n copying psutil/tests/runner.py -\u003e build/lib.linux-x86_64-cpython-315t/psutil/tests\n copying psutil/tests/__main__.py -\u003e build/lib.linux-x86_64-cpython-315t/psutil/tests\n copying psutil/tests/test_process.py -\u003e build/lib.linux-x86_64-cpython-315t/psutil/tests\n copying psutil/tests/__init__.py -\u003e build/lib.linux-x86_64-cpython-315t/psutil/tests\n copying psutil/tests/test_linux.py -\u003e build/lib.linux-x86_64-cpython-315t/psutil/tests\n copying psutil/tests/test_osx.py -\u003e build/lib.linux-x86_64-cpython-315t/psutil/tests\n copying psutil/tests/test_posix.py -\u003e build/lib.linux-x86_64-cpython-315t/psutil/tests\n running build_ext\n building 'psutil._psutil_linux' extension\n creating build/temp.linux-x86_64-cpython-315t/psutil\n x86_64-linux-gnu-gcc -fno-strict-overflow -Wsign-compare -DNDEBUG -g -O2 -Wall -g -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -fPIC -DPSUTIL_POSIX=1 -DPSUTIL_SIZEOF_PID_T=4 -DPSUTIL_VERSION=595 -DPy_LIMITED_API=0x03060000 -DPSUTIL_LINUX=1 -I/tmp/tmp_a1ikxdh/tmpkl0jykkb/venv/include -I/usr/include/python3.15t -c psutil/_psutil_common.c -o build/temp.linux-x86_64-cpython-315t/psutil/_psutil_common.o\n In file included from psutil/_psutil_common.c:9:\n /usr/include/python3.15t/Python.h:51:6: error: #error \"Py_LIMITED_API is not currently supported in the free-threaded build\"\n 51 | # error \"Py_LIMITED_API is not currently supported in the free-threaded build\"\n | ^~~~~\n In file included from /usr/include/python3.15t/Python.h:83:\n /usr/include/python3.15t/object.h:162:5: error: unknown type name ‘PyMutex’\n 162 | PyMutex ob_mutex; // per-object lock\n | ^~~~~~~\n /usr/include/python3.15t/object.h: In function ‘Py_SET_SIZE’:\n /usr/include/python3.15t/object.h:321:5: warning: implicit declaration of function ‘_Py_atomic_store_ssize_relaxed’ [-Wimplicit-function-declaration]\n 321 | _Py_atomic_store_ssize_relaxed(\u0026ob-\u003eob_size, size);\n | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\n In file included from /usr/include/python3.15t/Python.h:84:\n /usr/include/python3.15t/refcount.h: In function ‘_Py_REFCNT’:\n /usr/include/python3.15t/refcount.h:106:26: warning: implicit declaration of function ‘_Py_atomic_load_uint32_relaxed’ [-Wimplicit-function-declaration]\n 106 | uint32_t local = _Py_atomic_load_uint32_relaxed(\u0026ob-\u003eob_ref_local);\n | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\n /usr/include/python3.15t/refcount.h:110:29: warning: implicit declaration of function ‘_Py_atomic_load_ssize_relaxed’ [-Wimplicit-function-declaration]\n 110 | Py_ssize_t shared = _Py_atomic_load_ssize_relaxed(\u0026ob-\u003eob_ref_shared);\n | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~\n /usr/include/python3.15t/refcount.h: In function ‘_Py_IsImmortal’:\n /usr/include/python3.15t/refcount.h:126:63: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare]\n 126 | return (_Py_atomic_load_uint32_relaxed(\u0026op-\u003eob_ref_local) ==\n | ^~\n /usr/include/python3.15t/refcount.h: In function ‘Py_SET_REFCNT’:\n /usr/include/python3.15t/refcount.h:172:9: warning: implicit declaration of function ‘_Py_IsOwnedByCurrentThread’ [-Wimplicit-function-declaration]\n 172 | if (_Py_IsOwnedByCurrentThread(ob)) {\n | ^~~~~~~~~~~~~~~~~~~~~~~~~~\n /usr/include/python3.15t/refcount.h: In function ‘Py_INCREF’:\n /usr/include/python3.15t/refcount.h:275:9: warning: implicit declaration of function ‘_Py_atomic_store_uint32_relaxed’ [-Wimplicit-function-declaration]\n 275 | _Py_atomic_store_uint32_relaxed(\u0026op-\u003eob_ref_local, new_local);\n | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\n /usr/include/python3.15t/refcount.h:278:9: warning: implicit declaration of function ‘_Py_atomic_add_ssize’; did you mean ‘__atomic_add_fetch’? [-Wimplicit-function-declaration]\n 278 | _Py_atomic_add_ssize(\u0026op-\u003eob_ref_shared, (1 \u003c\u003c _Py_REF_SHARED_SHIFT));\n | ^~~~~~~~~~~~~~~~~~~~\n | __atomic_add_fetch\n /usr/include/python3.15t/refcount.h: In function ‘Py_DECREF’:\n /usr/include/python3.15t/refcount.h:374:13: warning: implicit declaration of function ‘_Py_MergeZeroLocalRefcount’ [-Wimplicit-function-declaration]\n 374 | _Py_MergeZeroLocalRefcount(op);\n | ^~~~~~~~~~~~~~~~~~~~~~~~~~\n /usr/include/python3.15t/refcount.h:378:9: warning: implicit declaration of function ‘_Py_DecRefShared’; did you mean ‘_Py_DecRef’? [-Wimplicit-function-declaration]\n 378 | _Py_DecRefShared(op);\n | ^~~~~~~~~~~~~~~~\n | _Py_DecRef\n psutil could not be installed from sources. Perhaps Python header files are not installed. Try running:\n sudo apt-get install gcc python3-dev\n error: command '/usr/bin/x86_64-linux-gnu-gcc' failed with exit code 1\n [end of output]\n \n note: This error originates from a subprocess, and is likely not a problem with pip.\n ERROR: Failed building wheel for psutil\nerror: failed-wheel-build-for-install\n\n× Failed to build installable wheels for some pyproject.toml based projects\n╰─\u003e psutil\nFailed to build psutil\nCommand failed with exit code 1\n\nF..............\n======================================================================\nFAIL: test_venv (test_commands.FullStackTests.test_venv)\n----------------------------------------------------------------------\nTraceback (most recent call last):\n File \"/home/runner/work/pyperformance/pyperformance/pyperformance/tests/test_commands.py\", line 125, in test_venv\n expect_success(\"venv\", \"create\", \"--venv\", root)\n ~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/home/runner/work/pyperformance/pyperformance/pyperformance/tests/test_commands.py\", line 109, in expect_success\n self.run_pyperformance(\n ~~~~~~~~~~~~~~~~~~~~~~^\n *args,\n ^^^^^^\n capture=None,\n ^^^^^^^^^^^^^\n )\n ^\n File \"/home/runner/work/pyperformance/pyperformance/pyperformance/tests/test_commands.py\", line 80, in run_pyperformance\n self.assertEqual(ec, exitcode, repr(stdout))\n ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^\nAssertionError: 1 != 0 : None\n```","author":{"url":"https://github.com/maurycy","@type":"Person","name":"maurycy"},"datePublished":"2025-10-25T22:30:44.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":1},"url":"https://github.com/426/pyperformance/issues/426"}
| 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:4b19f16c-bfbe-10dd-5e12-871442c5ba6e |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | E214:1E4FEF:E1EC3D:1234C88:696B064C |
| html-safe-nonce | 492e7beabd5a49edfd5175f2ec398f5412990256063a49d086e3458dc1112351 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFMjE0OjFFNEZFRjpFMUVDM0Q6MTIzNEM4ODo2OTZCMDY0QyIsInZpc2l0b3JfaWQiOiIxMDA4ODk0NDI1MjU4NzIyODkyIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | c0db4687b830a40ae7623327260ff592cc20afe02dafc43c90e7246bf040cdf9 |
| hovercard-subject-tag | issue:3553057653 |
| 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/pyperformance/426/issue_layout |
| twitter:image | https://opengraph.githubassets.com/37c853750ba476e585bd99e73903d7666a84f5519eb3924eb93cfffdefbf0b35/python/pyperformance/issues/426 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/37c853750ba476e585bd99e73903d7666a84f5519eb3924eb93cfffdefbf0b35/python/pyperformance/issues/426 |
| og:image:alt | https://github.com/python/pyperformance/actions/runs/18779843038 Building wheels for collected packages: psutil Building wheel for psutil (pyproject.toml): started Building wheel for psutil (pyproj... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | maurycy |
| hostname | github.com |
| expected-hostname | github.com |
| None | 5f99f7c1d70f01da5b93e5ca90303359738944d8ab470e396496262c66e60b8d |
| turbo-cache-control | no-preview |
| go-import | github.com/python/pyperformance git https://github.com/python/pyperformance.git |
| octolytics-dimension-user_id | 1525981 |
| octolytics-dimension-user_login | python |
| octolytics-dimension-repository_id | 65949828 |
| octolytics-dimension-repository_nwo | python/pyperformance |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 65949828 |
| octolytics-dimension-repository_network_root_nwo | python/pyperformance |
| 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 | 82560a55c6b2054555076f46e683151ee28a19bc |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width