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

Installed pacman package "lm_sensors" gets reinstalled each time #1307

Open
cels opened this issue Mar 7, 2025 · 0 comments
Open

Installed pacman package "lm_sensors" gets reinstalled each time #1307

cels opened this issue Mar 7, 2025 · 0 comments

Comments

@cels
Copy link

cels commented Mar 7, 2025

Describe the bug

When installing the package "lm_sensors" it gets reinstalled each time and will_change is always True.
Probably related to #504 but due to the _ underscore?

To Reproduce

pacman.packages(
    name='Install lm_sensors',
    sudo=True,
    packages=[
        'lm_sensors',
    ],
)

Expected behavior

The above should not run pacman, just return unchanged.

Meta

Installed from AUR: https://aur.archlinux.org/packages/pyinfra

System: Linux
  Platform: Linux-6.13.5-arch1-1-x86_64-with-glibc2.41
  Release: 6.13.5-arch1-1
  Machine: x86_64
pyinfra: v3.2
  click: v8.1.8
  coverage: v7.6.12
  coverage: v7.6.12
  distro: v1.9.0
  gevent: v24.11.1
  importlib-metadata: v7.2.1
  jinja2: v3.1.5
  packaging: v24.2
  paramiko: v3.5.0
  pytest: v8.3.5
  pytest: v8.3.5
  python-dateutil: v2.9.0
  setuptools: v75.8.0
  typeguard: v4.4.2
  typing-extensions: v4.12.2
  wheel: v0.45.0
Executable: /usr/bin/pyinfra
Python: 3.13.2 (CPython, GCC 14.2.1 20250128)

Thanks for the great tool :-)

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