django / djangoproject.com

Source code to djangoproject.com
https://www.djangoproject.com/
BSD 3-Clause "New" or "Revised" License
1.87k stars 947 forks source link

Upgrade Django from 3.2 to 4.2 #1437

Closed sarahboyce closed 3 months ago

sarahboyce commented 10 months ago

As 3.2 will no longer be supported from Q2 next year, we should upgrade Django.

bmispelon commented 7 months ago

Hi,

I've been working for the past few weeks on bringing code.djangoproject.com to modern Python and Django versions and we're almost caught up to Django 3.2 now.

Would it be OK for me to pick this issue up so I can work on upgrading both sites in parallel?

sabderemane commented 7 months ago

Hi @bmispelon 😄 sure, I've assigned you in the issue

sarahboyce commented 7 months ago

Yes 🙂 we're been trying to upgrade the dependencies. These are the sticking points:

bmispelon commented 7 months ago

Thanks and thanks 😁

Knowing what the blocker are is super helpful 👍🏻 I'll see if I can come up with alternate solutions or if i can poke the right people to move things forward

bmispelon commented 7 months ago

I've added a workaround for the issue with django-recaptcha: #1480

sarahboyce commented 6 months ago

Django 3.2 is no longer supported: https://www.djangoproject.com/weblog/2024/apr/03/bugfix-release/ I think our blocker here is needing a solution for Django-PuSH

bmispelon commented 6 months ago

Django 3.2 is no longer supported: https://www.djangoproject.com/weblog/2024/apr/03/bugfix-release/ I think our blocker here is needing a solution for Django-PuSH

No release has been made on PyPI, but support for Django 4.2+ has been committed, so we can pin against that. I've taken that approach in PR #1487 and it seems to work well.

bmispelon commented 3 months ago

I've finally deployed 4.2 (it took more work than I'd hoped but we got there in the end).

Thanks to everyone involved, this was a big team effort and you're all amazing! ✨

sarahboyce commented 3 months ago

WHHOOOOOO!!!! Congrats @bmispelon 🍾