Princeton-CDH / geniza

version 4.x of the Princeton Geniza Project
https://geniza.princeton.edu
Apache License 2.0
11 stars 2 forks source link

upgrade to django 4.0 #853

Open rlskoeser opened 2 years ago

rlskoeser commented 2 years ago

determine which dependencies are blocking upgrade (if any still are) so we can keep an eye on them and update when possible

blms commented 2 years ago

Findings from initial upgrades/testing:

Should I go ahead and make changes on djiffy, pucas, and parasolr? The JSONField one might be a little complicated but the rest look straightforward, so far.

rlskoeser commented 2 years ago

@blms thanks so much for reviewing and documenting! Don't worry about making the changes yet, I just wanted to have them identified so I know what is needed. I'll turn this into a checklist on this issue.

I don't remember why I pinned django-taggit, and boo on me for not documenting it. I do remember wagtail localize causing problems, hopefully that has been resolved.

I can open a ticket on django-tabular-export — it's LoC folks, so I can ping them on twitter if need be. If it's not being maintained, maybe we need to switch to django-import-export (which I was thinking about looking at anyway for the import functionality).

Would it be worth creating an upgrade branch with the requirement changes you've made so far?

blms commented 2 years ago

@rlskoeser That all sounds good!

Would it be worth creating an upgrade branch with the requirement changes you've made so far?

Probably not if we're not making the changes yet, my only change outside of the requirements I listed above was replacing django.conf.urls.url() with django.urls.re_path() in urls.py. So I think we can just put those two things in the checklist and do them when we're ready, in order to avoid potential merge conflicts, etc.

blms commented 2 years ago

I don't remember why I pinned django-taggit, and boo on me for not documenting it.

FWIW, this is probably because Wagtail < 2.16 requires django-taggit < 2.0, so the two have to be upgraded simultaneously.

kseniaryzhova commented 1 year ago

@rlskoeser this is already done right? Confirm we can close?

rlskoeser commented 1 year ago

@kseniaryzhova no, I postponed it. Still important for maintenance and should be done at some point

richmanrachel commented 9 months ago

@rlskoeser or @blms -- Did this upgrade ever happen?

blms commented 9 months ago

@richmanrachel Not yet, but I believe @rlskoeser is working on the CDH parts of it.

rlskoeser commented 8 months ago

Sorry this has been stuck. We should be able to upgrade wagtail at least somewhat - I've done that on other projects, but we're limited on both until I get djiffy upgraded - on my list but a ways down. I'm making progress on some other maintenance so maybe I can fold this in too.