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

Preserve symbolic links #628

Closed
mwtoews opened this issue Jul 8, 2024 · 2 comments
Closed

Preserve symbolic links #628

mwtoews opened this issue Jul 8, 2024 · 2 comments

Comments

@mwtoews
Copy link
Contributor

mwtoews commented Jul 8, 2024

With wheel 0.43.0 it seems that symbolic links are converted to regular files. This support request is to preserve symbolic links as they exist in the host file system.

I'm unsure if this is from wheel unpack and/or wheel pack, as I use both of these utilities to re-arrange a few files within a cibuildwheel process, and have noticed this difference. Note that setuptools' commands (based on distutils) support symbolic links with their inner-workings, but appear to be "off" by default (e.g. here and here).

@mwtoews
Copy link
Contributor Author

mwtoews commented Jul 27, 2024

I should note that I don't have any need for this feature. My workaround was to remove symlinks from being created. In my particular scenario I used CMAKE_PLATFORM_NO_VERSIONED_SONAME=ON.

The issue still stands, but with a low priority since it's probably not a show-stopper for anyone.

@agronholm
Copy link
Contributor

There is a larger discussion around the topic of symbolic links in wheels, here. As this project is going to be reduced to a CLI tool only going forward (when pypa/packaging#805 lands), this issue is no longer relevant to this project anyway.

@agronholm agronholm closed this as not planned Won't fix, can't repro, duplicate, stale Jul 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants