Global Shims can break Arch Packages for the time being
Opened this issue · 0 comments
RayJW commented
Steps to Reproduce
First off, I've seen some negativity around global shims in the bug reports, but I just want to say I'm not against them. I quite like the idea, however, that is something that would have to be handled for them to not suddenly mess up working systems in weird ways. The Lensfun package uses the following shebang #!/usr/bin/env python3
for the lensfun-update-database
script, but it can't find Lensfun, the module that is supposed to be installed with the package.
- Enable global shims
- Install the Lensfun package
- Try running
lensfun-update-database
Expected Result
This is a script supplied with the package that updates the database for lensfun. This should work fine after installing the package correctly from the package manager.
Actual Result
Traceback (most recent call last):
File "/usr/bin/lensfun-update-data", line 46, in <module>
import lensfun
ModuleNotFoundError: No module named 'lensfun'
Version Info
rye 0.41.0
commit: 0.41.0 (10d691d16 2024-09-29)
platform: linux (x86_64)
self-python: cpython@3.12.6
symlink support: true
uv enabled: true
Stacktrace
No response