-
Notifications
You must be signed in to change notification settings - Fork 44
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
Update to construct 2.9 #3
Comments
I was considering moving this to Kaitai Struct, but I will see what it will require to move to Construct 2.9. |
Thanks for the quick answer ! Feel free to close this issue if Kaitai Struct is a stronger suit for this :) |
Any progress? Tests fail with contruct-2.10 |
I just ran into this. Debian has construct 2.10 since April 2010 so it is in stable, testing and unstable. Main reason for breakage seems to be that all the string definitions have changed and 'Embedded' has gone away. https://construct.readthedocs.io/en/latest/transition29.html and https://construct.readthedocs.io/en/latest/transition210.html Even using 2.8.8 itself as specified by pymp4 I still get some test failures: ERROR: test_ftyp_build (tests.test_box.BoxTests)
and:
I'm a bit surprised there are test failures even with the explicitly-required version.
Not that this is much use in practice. I don't suppose they are taking 2.8.8 (from Oct 2016) bugfixes any more. I'd be a bit miffed if I used this (very handy) library, but then they made massive incompatible changes every couple of years. Who cares about backwards compatibility eh? Still, it's either move to something else, or update pymp4. attached is my completely half-arsed effort to update things, which doesn't actually work yet, and definitely isn't right for the embedded stuff, which I've not grokked yet. But maybe it's helpful to someone.
|
I'm trying to package a project that use pymp4, but find it challenging as pymp4 is based on construct 2.8, while construct 2.9 is now the default version in repositories..
There are a number of breaking changes, and I'm aware that the project hasn't received commits in a year, but it would be nice to be able to package pymp4 against recent version of its dependencies.
The text was updated successfully, but these errors were encountered: