Skip to content
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

BLD: fix potential issue with escape sequences in __config__.py #25669

Merged
merged 1 commit into from
Jan 23, 2024

Conversation

rgommers
Copy link
Member

The current code isn't robust to backslashes (from path segments on Windows) in linker flags. No bug report for NumPy, but the same problem did show up in SciPy already. Fix is the same as scipy/scipy#19945.

The current code isn't robust to backslashes (from path segments on
Windows) in linker flags. No bug report for NumPy, but the same problem
did show up in SciPy already. Fix is the same as
scipy/scipy#19945

[skip cirrus] [skip circle]
@rgommers rgommers added 03 - Maintenance 09 - Backport-Candidate PRs tagged should be backported labels Jan 23, 2024
@rgommers rgommers added this to the 2.0.0 release milestone Jan 23, 2024
@github-actions github-actions bot added the 36 - Build Build related PR label Jan 23, 2024
@charris charris merged commit ceeeab1 into numpy:main Jan 23, 2024
61 checks passed
@charris
Copy link
Member

charris commented Jan 23, 2024

Thanks Ralf.

@charris charris changed the title BLD: fix potential issue with escape sequences in __config__.py BLD: fix potential issue with escape sequences in __config__.py Jan 23, 2024
@rgommers rgommers deleted the raw-strings-configpy branch January 23, 2024 15:59
charris added a commit to charris/numpy that referenced this pull request Jan 23, 2024
Backport of numpy#25669.

The current code isn't robust to backslashes (from path segments on
Windows) in linker flags. No bug report for NumPy, but the same problem
did show up in SciPy already. Fix is the same as scipy/scipy#19945.

This actually pulls in all of `__config__.py` from main because there
have been a number of other changes.

[skip cirrus] [skip circle]
@charris charris removed the 09 - Backport-Candidate PRs tagged should be backported label Jan 23, 2024
charris added a commit to charris/numpy that referenced this pull request Jan 23, 2024
Backport of numpy#25669.

The current code isn't robust to backslashes (from path segments on
Windows) in linker flags. No bug report for NumPy, but the same problem
did show up in SciPy already. Fix is the same as scipy/scipy#19945.

This actually pulls in all of `__config__.py` from main because there
have been a number of other changes.

[skip cirrus] [skip circle]
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.

None yet

2 participants