Skip to content

test_sysconfig fails if executed from a relocated place #133742

@pablogsal

Description

@pablogsal

Bug report

Bug description:

The json and the sysconfig value differ in srcdir

[2025-05-08T15:37:25.722Z] -  'srcdir': '/someplace/python/workspace/python_python3.14-debian_PR-1/distro/refroot/amd64/opt/bb/lib64/python3.14/config-3.14-x86_64-linux-gnu'}
[2025-05-08T15:37:25.722Z] +  'srcdir': '/opt/someplace/lib64/python3.14/config-3.14-x86_64-linux-gnu'}
[2025-05-08T15:37:25.722Z] 
[2025-05-08T15:37:25.722Z] ----------------------------------------------------------------------
[2025-05-08T15:37:25.722Z] Ran 37 tests in 0.134s
[2025-05-08T15:37:25.722Z] 
[2025-05-08T15:37:25.722Z] FAILED (failures=1, skipped=3)```

CPython versions tested on:

3.14

Operating systems tested on:

Linux

Linked PRs

Metadata

Metadata

Assignees

No one assigned

    Labels

    testsTests in the Lib/test dirtopic-sysconfigtype-bugAn unexpected behavior, bug, or error

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      pFad - Phonifier reborn

      Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

      Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


      Alternative Proxies:

      Alternative Proxy

      pFad Proxy

      pFad v3 Proxy

      pFad v4 Proxy