mk-fg / python-pulse-control

Python high-level interface and ctypes-based bindings for PulseAudio (libpulse)
https://pypi.org/project/pulsectl/
MIT License
170 stars 36 forks source link

Backward-compatibility issue #78

Closed raven2cz closed 1 year ago

raven2cz commented 1 year ago

Is it really necessary to make not backward-compatible changes in API?

AttributeError: module 'pulsectl._pulsectl' has no attribute 'PA_SAMPLE_FLOAT32BE'. Did you mean: 'PA_SAMPLE_FLOAT32NE'?

present in volctl after your last change in package

https://aur.archlinux.org/packages/python-pulsectl#comment-913427

It worked with python 3.11 yesterday already. It is not possible to run it today. Is it possible to ensure backward compatibility?

I'm not sure how much apps can this incompatibility change destroyed. Can you explain the reasons for it and what are migration steps? Thanks.

mk-fg commented 1 year ago

pulsectl._pulsectl is NOT a public API.