https://forge.ispras.ru/https://forge.ispras.ru/favicon.ico?16490126692022-03-04T09:17:23ZOpen-Source ProjectsKlever - Feature #11460: Update Django from 3.0.6 to 4.0.3https://forge.ispras.ru/issues/11460?journal_id=427362022-03-04T09:17:23ZEvgeny Novikovnovikov@ispras.ru
<ul><li><strong>Blocked by</strong> <i><a class="issue tracker-4 status-5 priority-5 priority-high3 closed" href="/issues/10937">Feature #10937</a>: Migrate Klever to Python 3.10</i> added</li></ul> Klever - Feature #11460: Update Django from 3.0.6 to 4.0.3https://forge.ispras.ru/issues/11460?journal_id=427372022-03-04T09:18:36ZEvgeny Novikovnovikov@ispras.ru
<ul></ul><p>It turns out that new versions of Django require Python 3.8 while many things in Klever are bound to Python 3.7. So we need to update Python in addition.</p> Klever - Feature #11460: Update Django from 3.0.6 to 4.0.3https://forge.ispras.ru/issues/11460?journal_id=427422022-03-04T15:39:45ZEvgeny Novikovnovikov@ispras.ru
<ul><li><strong>Related to</strong> <i><a class="issue tracker-4 status-5 priority-5 priority-high3 closed" href="/issues/11463">Feature #11463</a>: Update Python packages used by Klever</i> added</li></ul> Klever - Feature #11460: Update Django from 3.0.6 to 4.0.3https://forge.ispras.ru/issues/11460?journal_id=427442022-03-04T15:41:36ZEvgeny Novikovnovikov@ispras.ru
<ul></ul><p>Another issue is that new versions of psycopg2 are not compatible with old versions of Django (you can read <a href="https://stackoverflow.com/questions/68024060/assertionerror-database-connection-isnt-set-to-utc" class="external">here</a> for example). Thus, I have to restrict them additionally when doing <a class="issue tracker-4 status-5 priority-5 priority-high3 closed" title="Feature: Update Python packages used by Klever (Closed)" href="https://forge.ispras.ru/issues/11463">#11463</a>. Do not forget to get rid from this restriction after updating Django.</p> Klever - Feature #11460: Update Django from 3.0.6 to 4.0.3https://forge.ispras.ru/issues/11460?journal_id=427802022-03-09T08:15:31ZVladimir Gratinskiygratinskiy@ispras.ru
<ul><li><strong>Due date</strong> set to <i>03/09/2022</i></li><li><strong>Status</strong> changed from <i>New</i> to <i>Resolved</i></li><li><strong>% Done</strong> changed from <i>0</i> to <i>100</i></li></ul><p>Implemented in branch "bridge-11460". New DB migrations should be applied.</p> Klever - Feature #11460: Update Django from 3.0.6 to 4.0.3https://forge.ispras.ru/issues/11460?journal_id=429022022-03-22T08:21:13ZEvgeny Novikovnovikov@ispras.ru
<ul><li><strong>Status</strong> changed from <i>Resolved</i> to <i>Closed</i></li></ul><p>I merged this branch to master in <a class="changeset" title="Return back support for Ubuntu 18.04 This has sense since some users can have pretty valuable in..." href="https://forge.ispras.ru/projects/klever/repository/331/revisions/d1891272c45f7d3df549dee9a103823bba81016d">d1891272c</a> as a part of branch <em>switch-to-python-3.10</em>, so all updates will be applied together. Tests passed successfully after update.</p>
<p>Klever deployment scripts migrate Klever's database automatically, so you only need to do that manually if you have handcrafted deployments.</p>