We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Tried a fresh install today and ended up with:
Traceback (most recent call last): File "/root/psa_car_controller/venv/lib/python3.11/site-packages/psa_car_controller/psa/RemoteClient.py", line 105, in start self.mqtt_client = mqtt.Client(clean_session=True, protocol=mqtt.MQTTv311) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ TypeError: Client.__init__() missing 1 required positional argument: 'callback_api_version'
paho-mqtt 2.0, released on Feb, 10th, now requires an additional argument to mqtt.Client(), see their migration notes.
So we need to either change RemoteClient.py or restrict paho-mqtt versions in pyproject.toml:
RemoteClient.py
pyproject.toml
paho-mqtt = ">=1.5.0, <2.0.0"
If you let me know which solution you prefer, I can happily prepare a PR. :-)
The text was updated successfully, but these errors were encountered:
My workaround is in master now, but we might still consider doing the real fix so we could update to paho-mqtt 2.0.
Sorry, something went wrong.
No branches or pull requests
Tried a fresh install today and ended up with:
paho-mqtt 2.0, released on Feb, 10th, now requires an additional argument to mqtt.Client(), see their migration notes.
So we need to either change
RemoteClient.py
or restrict paho-mqtt versions inpyproject.toml
:If you let me know which solution you prefer, I can happily prepare a PR. :-)
The text was updated successfully, but these errors were encountered: