Re:Python 2.7.18, the last release of Python 2
by grandphuba on Monday April 20, 2020 @03:47PM
(#22927677)
3.8 seems to have some new keywords and jazz introduced, so might be better to start with that instead of 3.7 for new projects.
[ Parent
| on HN ]
Re:Python 2.7.18, the last release of Python 2
by wiredfool on Monday April 20, 2020 @04:28PM
(#22928145)
3.8 seems to be much more twitchy about exact versions of dependencies, so I've had problems running the AWS cli stuff on 3.8 at times, because there's no set of non-conflicting dependencies. (oftentimes due to minor/patch level version mismatches)
Re:Python 2.7.18, the last release of Python 2
by MattGaiser on Monday April 20, 2020 @06:13PM
(#22929325)
I keep having issues with 3.8 and many dependencies. Two months back, I started out a new project in 3.8 and two days in was downgrading it due to compatibility problems with Pillow and a couple others.
Re:Python 2.7.18, the last release of Python 2
by takeda on Tuesday April 21, 2020 @12:15AM
(#22931804)
What typically is happening is that a wheel package was missing. When that happens python tries to compile the package, to do that it requires extra dependencies, such as compiler, python-devel, and other *-devel packages, because they weren't available it failed. This is very common when a new major version is released, it requires authors of the C based packages to build wheels to make installation easier and not requiring extra dependencies.
Looks like Pillow has wheel for 3.8 now since April 2nd, so might work now (no compilation is needed). I don't know other packages so can't check them. Psycopg2 would probably be another one with this issue (also fixed on April 6th).
[1] https://pypi.org/project/Pillow/#files look for cp38 wheel files.