Skip to content
GitLab
  • Menu
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • D debexpo
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 43
    • Issues 43
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 3
    • Merge requests 3
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • mentors.debian.net
  • debexpo
  • Merge requests
  • !183

Various fixes for django3 compatibility

  • Review changes

  • Download
  • Email patches
  • Plain diff
Merged Baptiste Beauplat requested to merge lyknode/debexpo:django3 into live Oct 14, 2021
  • Overview 0
  • Commits 10
  • Pipelines 5
  • Changes 18

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 Oct 14, 2021 by Baptiste Beauplat
Assignee
Assign to
Reviewer
Request review from
Time tracking
Source branch: django3