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

python-construct-2.9.45 #374

Closed
frostworx opened this issue Aug 31, 2018 · 9 comments
Closed

python-construct-2.9.45 #374

frostworx opened this issue Aug 31, 2018 · 9 comments

Comments

@frostworx
Copy link

first of all thank you for that great project! :)
current version of python-construct on arch linux is 2.9.45, but python-miio is pinned to 'construct==2.9.41'.
just bumped the required version within my local repo and looks like python-miio works just fine with 2.9.45.

syssi added a commit to syssi/python-miio that referenced this issue Sep 2, 2018
@fabaff
Copy link

fabaff commented Sep 2, 2018

The right way to do it would be to remove the pinning to a given release of construct.

@syssi
Copy link
Collaborator

syssi commented Sep 2, 2018

This isn't possible. Long story short: A lot of minor releases of construct broke this library in the past. We don't want to pin requirements. There is no better solution at the moment.

@syssi
Copy link
Collaborator

syssi commented Sep 2, 2018

Ref. home-assistant/core#13528

@fabaff
Copy link

fabaff commented Sep 20, 2018

What do the developers of construct say about breaking the API with minor releases?

@rytilahti
Copy link
Owner

rytilahti commented Sep 20, 2018

I think the API has now been stabilized (due to lack of time from the maintainer), so I think we could proceed to upgrade. The problem is that when it starts to break again, we will be getting issues again everywhere (search for construct on homeassistant's issue tracker or here to see).

@frostworx
Copy link
Author

with a likely stabilized construct API it would be the best choice imho to
set 'construct>=2.9.41' as dep for now.
would be also easier to handle for package maintainers and therefore would help to bring (latest) python-miio to more people.
a 'construct>=2.9.41' & 'construct<=$LAST_WORKING' would probably the easiest

@rytilahti
Copy link
Owner

I had a brief conversation with syssi about this and we decided, that as the API has been stabilized we will simply go and remove the pinning for the next release. Let's hope it stays stable!

@frostworx
Copy link
Author

great decision imho! thank you for heads up! :)

@syssi
Copy link
Collaborator

syssi commented Oct 7, 2018

Can be closed if #384 is merged.

@syssi syssi closed this as completed in #384 Oct 7, 2018
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

4 participants