I just tried upgrading Django to version 4.0 and installing Python 3.10, using my own installer: https://github.com/webtweakers/deploy. Unfortunately building Python failed with this message:
Could not build the ssl module!
Python requires a OpenSSL 1.1.1 or newer
The process continues, but fails later when trying to use PIP with SSL:
WARNING: pip is configured with locations that require TLS/SSL, however the ssl module in Python is not available.
An issue exists about that here: https://github.com/python/cpython/issues/91357
Apparently it's recommended to install libssl-dev first...
Also the SSL message is not wrong:
$ openssl version
OpenSSL 1.0.2k-fips 26 Jan 2017
That version seems rather old... In short: complications. 🙂
Would be nice if Python 3.10 was available system-wide. Any progress on that? Or any tips to fix these build issues?