Closed bssstudio closed 3 weeks ago
@tillsteinbach Would you consider specifying requests>=2.31.0
instead of requests~=2.31.0
?
I think the latter is ill-advised for a client library (although it is better than requests==2.31.0
).
Something like home-assistant will pin versions - and that is best practice, but this is not the case of client libraries like this.
Would you consider specifying
requests>=2.31.0
instead ofrequests~=2.31.0
?
Or at least pin the major version only, not the minor, given semver semantics.
Per PEP spec, ~=2.31.0
means >=2.31.0, ==2.31.*
, i.e. pinned at minor version 2.31
. Semver in theory guarantees that all 2.X
versions are API-compatible, therefore it should suffice to code ~=2.31
meaning >=2.31, ==2.*
.
Released in 0.60.3
Describe the bug Fails to install on home assistant version 2024.6.1 due to incompatible requests version.
To Reproduce 1) Update homeassistant to 2024.6.1 2) Install custom integration We Connect ID (https://github.com/mitch-dc/volkswagen_we_connect_id)
Expected behavior Homeassistant successfully installs weconnect-python.
Please bump the requests version to 2.32.3 (#189)