-
Notifications
You must be signed in to change notification settings - Fork 8
Fix #296 - update construct to version 2.9.45 #376
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
base: master
Are you sure you want to change the base?
Conversation
dsentinel
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Awesome thanks!
| - pip=19.1.1 | ||
| - pip: | ||
| - construct==2.5.1 | ||
| - construct==2.9.45 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We shouldn't pin this if we don't have to.
Will this not work with 2.10.56 -- the latest?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The PH5 web services are currently using 2.9.45, as I believe that was the latest until recently, so I want to make them match. I haven't looked at 2.10.56 yet.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
oh sure, I'm saying if it works without the pin leave it out and let the latest or what ever else may need get used.
If it's not backwards compatible add a minimum version. Ideally best to keep them as general as possible.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It looks like version 2.10 drops support for python 2.7
https://construct.readthedocs.io/en/latest/transition210.html
We'll want to pin it to the latest version < 2.10
|
This is proving to be more difficult than I hoped. All Unfortunately this For example see the following: Not to sure how we should proceed. We are going to definitely need to be using then new library for when we update PH5 to Python 3. @dsentinel Any thoughts on this? |
|
Bummer, let me have a look...
I think we're ok. Endianness has no meaning for fields <=8 bits long. I think the construct document is stating this in a strange way.
|
|
Where are we at with this PR? Should it be abandoned or does it need to be completed? |
What does this PR do?
Fix for issue #296 - Updates construct package version to 2.9.45. The previous version was 2.5.1 and was extremely out of date.
Relevant Issues?
#296
Checklist
CHANGELOG.txt.CONTRIBUTORS.txt.