Upgrade to Python 3
ewdurbin opened this issue · 9 comments
Both branches for speed.pypy.org and speed.python.org are currently running on Python 2.7 and an out of date Django.
We are running on Python 3.6 right now with Django 1.8.19. An update to Django 3.2 LTS on Python 3.10 is pending the Ubuntu update on the server. I'll close this when this is done.
Is there an upgrade path? Would merging the speed.python.org branch into speed.pypy.org solve this?
Please leave it open until PyPy also updates. I gave the issue a PyPy label.
There's 40+ commits of customization by speed.python.org, I don't think merging that into speed.pypy.org will work.
To be clear, currently speed.pypy.org is already on Python 3.6 and using Django 2.2. To get Django 3.2 compatibility (and Python 3.8+ compatibility through that), you'll need something like what Diego did here:
#34
Hello, I've raised a small PR #38 for updating dependencies for speed.pypy.org branch. These are the minimum changes that we could do to keep the website working with Python 3.10. As Łukasz said, if you want to upgrade Django then you will be needed code changes because of the new API.
#39 to update django in speed.pypy.org is merged and deployed. I think this can be closed?
We'll be doing the update to Ubuntu 22.04 today so I'll keep this open to track any issues there.
I think this can be closed now, it seems the migration went smoothly?