Various fixes for django3 compatibility

Various fixes for django3 compatibility including :

Sorry about the copy/paste of the commit, but that describe accurately what actually changed.

  • Replace INTERNAL_RESET_URL_TOKEN by its actual static value (removed in django3)
  • Explicitly add _num_days and _today method to EmailChangeTokenGenerator (removed in django3)
  • Add setting DEFAULT_AUTO_FIELD to specify primary key default field type
  • Prefix apps name with 'debexpo.'
  • Add additional test env for tox covering django3 (for local development)
  • Bump django and django-redis dependencies in setup.py (for local development)

Additionally, the following have been fixed :

  • Disable minimal size requirement for ed25519 keys (See 0a41d99c for explanation)
  • Pass extra tox args to the test cli to allow running partial tests
  • Exclude online nntp tests from tox conf to avoid flacky tests
  • Replace celery @task by @shared_task (removed in celery 5.2)
Edited by Baptiste Beauplat

Merge request reports

Loading