[Django] Improve project infrastructure of django-mongodb-extensions

XMLWordPrintableJSON

    • None
    • Python Drivers
    • Not Needed
    • None
    • None
    • None
    • None
    • None
    • None

      Context

      Several infrastructure improvements to the project's development setup are needed before adding a second extension in INTPYTHON-771:

        1. Dependency management: Switch dev dependencies to use dependency groups. Add django-mongodb-backend to the test group so tests run without extra flags.
        2. Third-party version bounds: Update the django-debug-toolbar lower bound to the first release with Django 5.2 support.
        3. Pyright type checking: Add a typing dependency group with pyright and django-stubs. Add a just target and wire it into the CI static job.
        4. Multi-Django CI matrix: Add a django-mongodb-backend version dimension to the build matrix so Django 5.2 and Django 6.0 are each tested explicitly. Add Python 3.14 to the matrix.
        5. Docs build: Switch the just docs target to call sphinx-build directly. Add autodoc and intersphinx for django-mongodb-backend; add an API reference page for the MQL panel.
        6. README: Note support for the current Django LTS release with a link to the Django supported-versions page.

      Definition of done

      • just lint, just typing, and just docs all pass
      • CI matrix covers Python 3.10–3.14 × django-mongodb-backend 5.2/6.0 (with 3.10/3.11 excluded for 6.0)

      Pitfalls

      None

            Assignee:
            Steve Silvester
            Reporter:
            Steve Silvester
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: