-
Notifications
You must be signed in to change notification settings - Fork 563
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
"no audio server" explicitly installs pipewire #3055
Comments
Added case for Audio.NoAudio
The source of this bug is the incorrect use of dataclass on the audio enum. archinstall/archinstall/lib/models/audio_configuration.py Lines 10 to 14 in 459b84b
Here is a brief example with the same bug; the unintended pipewire case will trigger even though the audio variable is from dataclasses import dataclass
from enum import Enum
@dataclass
class Audio(Enum):
NoAudio = 'No audio server'
Pipewire = 'pipewire'
Pulseaudio = 'pulseaudio'
audio = Audio.NoAudio
match audio:
case Audio.Pipewire:
print('Incorrect match!') Output
In the example below, only the incorrect usage of dataclass was removed. With the audio variable still from enum import Enum
class Audio(Enum):
NoAudio = 'No audio server'
Pipewire = 'pipewire'
Pulseaudio = 'pulseaudio'
audio = Audio.NoAudio
match audio:
case Audio.Pipewire:
print('Incorrect match!') |
The bug described above is also the source of these reports: |
Nice catch :). Future versions of Ruff will flag similar errors: astral-sh/ruff#15275 |
Which ISO version are you using?
2024-12-01
The installation log
describe the problem
archinstall with minimal profile and "no audio server" explicitly installs pipewire and related packages.
Someone on the Arch forum also encountered this starting from archinstall v3.0.0
The text was updated successfully, but these errors were encountered: