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

fix: support for python >= 3.8 #7

Merged
merged 5 commits into from Nov 6, 2022
Merged

Conversation

amigrave
Copy link
Contributor

platform.dist was removed in python 3.8, parse /etc/lsb-release instead

amigrave and others added 4 commits June 11, 2021 01:09
platform.dist was removed in python 3.8, parse /etc/lsb-release instead
No clue why this line is present though
Ubuntu 20.04LTS uses ipython3==7.13.0-1
https://packages.ubuntu.com/focal/ipython3

Using 5.7.0 prevents any imports when using the ipython shell.

Not 100% about giving None as `info` to ExectionResult [1], but the
ExecutionInfo [2] object it's supposed to hold only seems to be used
for its __repr__ attribute for debugging.

[1] https://github.com/ipython/ipython/blob/a8accc9ab5aa97c2fd21149d421f0c6917e060b2/IPython/core/interactiveshell.py#L319
[2] https://github.com/ipython/ipython/blob/a8accc9ab5aa97c2fd21149d421f0c6917e060b2/IPython/core/interactiveshell.py#L284
@amigrave
Copy link
Contributor Author

Hi @valensc , would you mind having a look at this PR ?

@valensc valensc merged commit d5e9b9c into NtesEyes:master Nov 6, 2022
@valensc
Copy link
Member

valensc commented Nov 6, 2022

Thank u for the update

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.

None yet

3 participants