Hacker News new | past | comments | ask | show | jobs | submit login

When it comes to finding which packages need to be ported:

I've been disappointed by the "Python 3 Wall of Superpowers" and the fact that they've basically never updated their package list. (They update the Python 3 readiness, but you'd never find out if a popular package created in the last 4 years was incompatible, or if packages on the list have become unpopular.)

Today I found py3readiness.org, which is much more relevant and up-to-date. It has a better call to action, too.

http://py3readiness.org/




Unfortunately, just because a package has supposedly been "ported" to Python 3 doesn't mean it works properly. I've found, reported, and developed workarounds for bugs in two of the packages shown in green on py3readiness.org.[1] Bugs that should have been found years ago if the package was being heavily used.

[1] https://news.ycombinator.com/threads?id=Animats&next=9379262


OP and maintainer of the above site here.

Thanks for noticing py3readiness.org

Yes, it's up-to-date and takes advantage of https://github.com/brettcannon/caniusepython3

Also, you can help to keep it updated https://github.com/chhantyal/py3readiness


Both lists should replace python-ldap with ldap3. The former is abandon-ware and will never (probably) be upgraded. The latter already works great with python 3 (and is a better library all-around).


There are more packages like that, in fact:

* Python-MySQL is abandoned, but it's been superseded by python-mysql-connector.

* oauth2 is kind of superseded by oauthlib.

* pathtools can probably be replaced with Python 3's pathlib.

* ipaddr can be replaced with iptools, which has the additional advantage that you can contribute to it without approval from Google's lawyers.


We know about that. Many of the packages are overriden if there are drop-in replacements like PIL -> Pillow.

In above list, these are not drop-in replacements and it will require lots of changes in your application code if you want to use them. One idea is to show alternative packages https://github.com/chhantyal/py3readiness/issues/9


I find https://caniusepython3.com/ very helpful




Consider applying for YC's Spring batch! Applications are open till Feb 11.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: