Skip to content

test_sysconfig fails if executed from a relocated place #133742

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
pablogsal opened this issue May 9, 2025 · 1 comment
Open

test_sysconfig fails if executed from a relocated place #133742

pablogsal opened this issue May 9, 2025 · 1 comment
Labels
tests Tests in the Lib/test dir topic-sysconfig type-bug An unexpected behavior, bug, or error

Comments

@pablogsal
Copy link
Member

pablogsal commented May 9, 2025

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
@pablogsal pablogsal added the type-bug An unexpected behavior, bug, or error label May 9, 2025
@pablogsal
Copy link
Member Author

CC @FFY00

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
tests Tests in the Lib/test dir topic-sysconfig type-bug An unexpected behavior, bug, or error
Projects
None yet
Development

No branches or pull requests

2 participants