Content-Length: 264888 | pFad | http://github.com/numpy/numpy/pull/29435

10 BUG: Fix test_configtool_pkgconfigdir to resolve PKG_CONFIG_DIR symlink by sobue-code · Pull Request #29435 · numpy/numpy · GitHub
Skip to content

BUG: Fix test_configtool_pkgconfigdir to resolve PKG_CONFIG_DIR symlink #29435

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

Merged
merged 1 commit into from
Jul 24, 2025

Conversation

sobue-code
Copy link

Fixes TestNumpyConfig.test_configtool_pkgconfigdir failure by resolving PKG_CONFIG_DIR with .resolve() to match _configtool.py behavior. Addresses assertion error in build environments where Python is configured with --with-platlibdir=lib64 and lib64 is a symlink to lib.

Closes #29434

…nk (numpy#29434)

Ensure `TestNumpyConfig.test_configtool_pkgconfigdir` resolves `PKG_CONFIG_DIR`
using `.resolve()` to match the resolved path from `_configtool.py`.
@charris charris added the 09 - Backport-Candidate PRs tagged should be backported label Jul 24, 2025
@mattip
Copy link
Member

mattip commented Jul 24, 2025

Seems right to me, thanks @sobue-code

@mattip mattip merged commit fda7b4c into numpy:main Jul 24, 2025
77 checks passed
@sobue-code sobue-code deleted the fix-test-configtool-pkgconfigdir-path branch July 25, 2025 06:10
@charris charris changed the title BUG: Fix test_configtool_pkgconfigdir to resolve PKG_CONFIG_DIR symli… BUG: Fix test_configtool_pkgconfigdir to resolve PKG_CONFIG_DIR symlink Jul 25, 2025
@charris charris removed the 09 - Backport-Candidate PRs tagged should be backported label Jul 25, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

BUG: Test failure in test_configtool_pkgconfigdir due to unresolved symlink in build environment
3 participants








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://github.com/numpy/numpy/pull/29435

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy