befeleme · GitHub

Bug report

Bug description:

As in the title. We hit this in Fedora, can it be caused by the mismatch of users (one which generated the file, the other which runs tests?)

FAIL: test_sysconfigdata_json (test.test_sysconfig.TestSysConfig.test_sysconfigdata_json)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib64/python3.14/test/test_sysconfig.py", line 671, in test_sysconfigdata_json
    self.assertEqual(system_config_vars, json_config_vars)
    ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
<snip>
-  'userbase': '/root/.local'}
?                 ---
+  'userbase': '/builddir/.local'}
?                +++++++

CPython versions tested on:

3.14

Operating systems tested on:

Linux

Linked PRs

Read the original on github.com ↗