You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copied over from #1603, here's the process that was previously outlined for these kinds of upgrades:
Upgrade django using poetry. Remove it from poetry, then add it again.
Build docker images, stop your current one, then rm the old one with cl && cd docker/courtlistener/ && docker-compose rm, then start a fresh one.
It'll probably crash from a dependency problem. Upgrade the dependency, return to step 2, and try again.
Eventually you'll get docker up and running. Once you do, nuke the virtualenv from PyCharm's settings, and create a new one. Restart PyCharm. That'll fix imports in PyCharm.
Go through the documentation, make any needed tweaks.
Check for missing migrations by running: docker exec cl-django python /opt/courtlistener/manage.py makemigrations --check --dry-run
Once tests pass and your migrations are sorted, merge.
I'm interested in doing this now b/c Python 3.10 is now supported and it adds some nice features to typing and other things, but first we have to upgrade to django 3.2.
No support for Python 3.10 because usaddress relies on python-crfsuite, which hasn't released a version supporting Python 3.10. Their code is ready to go, but they don't seem inclined to do a release yet. 3.9 seems to work OK though.
Copied over from #1603, here's the process that was previously outlined for these kinds of upgrades:
Upgrade django using poetry. Remove it from poetry, then add it again.
Build docker images, stop your current one, then
rm
the old one withcl && cd docker/courtlistener/ && docker-compose rm
, then start a fresh one.It'll probably crash from a dependency problem. Upgrade the dependency, return to step 2, and try again.
Eventually you'll get docker up and running. Once you do, nuke the virtualenv from PyCharm's settings, and create a new one. Restart PyCharm. That'll fix imports in PyCharm.
Go through the documentation, make any needed tweaks.
Check for missing migrations by running:
docker exec cl-django python /opt/courtlistener/manage.py makemigrations --check --dry-run
Once tests pass and your migrations are sorted, merge.
I'm interested in doing this now b/c Python 3.10 is now supported and it adds some nice features to typing and other things, but first we have to upgrade to django 3.2.
Originally posted by @mlissner in #1603 (comment)
The text was updated successfully, but these errors were encountered: