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
Please port to Python3 #626
Comments
Hi @tillea, If possible could you point me to the problematic python2 scripts? Jared |
On Wed, Aug 07, 2019 at 11:16:14AM -0700, Jared Simpson wrote:
If possible could you point me to the problematic python2 scripts?
I have pushed a patch created by 2to3 to the Debian packaging:
https://salsa.debian.org/med-team/nanopolish/blob/master/debian/patches/2to3.patch
It would be great if you would test these with Python3 and if it works release a new version.
Kind regards, Andreas.
|
Thanks, that is helpful. I will incorporate these changes. Jared |
Thanks a lot. I'm afraid if I just look I might not spot any issues you might find when doing your usual tests. While I'm running the test suite in the packaging process I guess you will have better insight into the code. Please let me know if you will tag a new release (I'd be happy if this would be in the next 2-3 weeks). |
@jts Maybe update the
and this nanopolish/scripts/convert_all_models.py Line 16 in b4b4748
Likewise these documentation mentions: https://github.com/jts/nanopolish/blame/master/README.md#L93 Otherwise, looks good to me, thanks! |
@mr-c Thanks for the suggestions. I've made the above changes. |
@tillea I've now tagged a version with these changes as |
|
@paultsw can you take a look? |
#684 will help :-) |
Hello,
the Debian Med team is maintaining nanopolish for official Debian. The recently released Debian 10 was the last Debian release featuring Python2 since this programming language is EOL. If you are interested that we continue to maintain nanopolish in official Debian (and that users of other modern distributions will have no problems to install nanopolish on their systems) I'd recommend you port your code to Python3. The 2to3 tool might be of great help here.
Kind regards, Andreas.
The text was updated successfully, but these errors were encountered: