Weblate: Update to Django 3

Created on 14 Dec 2019  路  11Comments  路  Source: WeblateOrg/weblate

Is your feature request related to a problem? Please describe.
With a well-structured plan, we could make a neat upgrade and benefit in the development from new features like exclusion constraints on PostgreSQL and filter expressions.

Describe the solution you'd like
Follow the upgrade documentation and cut it into smaller parts to distribute them.

Describe alternatives you've considered
Wait till the next LTS release (3.2).

Additional context
Deprecation which are removed in 3.0


Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.

dependencies enhancement

All 11 comments

@diox asked for tests. It could help to install django-compressor from source and weblate without the pip version of django-compressor. Are all cases covered by only testing with python 3?

You mean with Django 3? Yes, our testsuite is quite comprehensive, so it should cover everything.

I've created branch for that: https://github.com/WeblateOrg/weblate/pull/3313

...and all tests pass there, so we're ready.

Nice test!

You mean with Django 3? Yes, our testsuite is quite comprehensive, so it should cover everything.

I was thinking about the backward-compatibility of django-comprossor with python2 and django 1.11, but either way I don't know if that matters in the future.

Even the Python 2 tests passed, so that should be safe as well.

The extended build tests were cancelled: https://github.com/WeblateOrg/weblate/pull/3313/checks?check_run_id=352423758
Where can I find the passed Python 2 tests?

Because setup tests fail on hacked requirement for django_compressor. All tests were executed on drone: https://cloud.drone.io/WeblateOrg/weblate/1324

Thank you for your report, the issue you have reported has just been fixed.

  • In case you see a problem with the fix, please comment on this issue.
  • In case you see similar problem, please open separate issue.
  • If you are happy with the outcome, consider supporting Weblate by donating.
Was this page helpful?
0 / 5 - 0 ratings