Skip to content

[dev3] Minor changes for python3 support #1310

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

Merged
merged 6 commits into from
Jun 22, 2019
Merged

[dev3] Minor changes for python3 support #1310

merged 6 commits into from
Jun 22, 2019

Conversation

mcd1992
Copy link
Contributor

@mcd1992 mcd1992 commented May 17, 2019

Remove downgrade requirement for sortedcontainers and intervaltree.
Change the call to intervaltree's search in elf/elf.py to the new overlap function
Spit out usage text if pwn commandline bin is called without arguments.

With these changes I was able to get it working fine on arch without requiring any downgraded packages or other weird tricks. Not entirely sure if this is python 2 incompatible. From what I can see python2 has errno in its own library, the latest py2 intervaltree has search split into overlap/envelop so I'd imagine its fine.

mcd1992 added 3 commits May 16, 2019 15:38
Also make the pwn command show usage if no arguments supplied
The errno library moved out of os and into its own library
Copy link
Member

@Arusekk Arusekk left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice done! Thank you for doing this, I thought that it would be harder. A minor change is required for the automated requirement systems to update libraries (e.g. Travis CI)

Copy link
Member

@Arusekk Arusekk left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please merge the suggestion first

@zachriggle
Copy link
Member

Looks like this breaks Python2. Separately, @Arusekk, we should probably change the CI to use Python3.7

@Arusekk
Copy link
Member

Arusekk commented May 22, 2019

Well, as for py2, pip plans to drop its support as soon as it gets EOL'd. But in this case it seems to be a fault of CI

@Arusekk
Copy link
Member

Arusekk commented Jun 11, 2019

For reference: pypa/pip#6275

We can install separately requirements before installing the project, or not use --editable, or build egg info separately

@Arusekk Arusekk merged commit 6f127e7 into Gallopsled:dev3 Jun 22, 2019
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

Successfully merging this pull request may close these issues.

3 participants