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

Global Shims can break Arch Packages for the time being #1412

Open
RayJW opened this issue Oct 10, 2024 · 0 comments
Open

Global Shims can break Arch Packages for the time being #1412

RayJW opened this issue Oct 10, 2024 · 0 comments

Comments

@RayJW
Copy link

RayJW commented Oct 10, 2024

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.

  1. Enable global shims
  2. Install the Lensfun package
  3. 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: [email protected]
symlink support: true
uv enabled: true

Stacktrace

No response

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

1 participant