Skip to content

Continuously bump django-stubs and djangorestframework-stubs #35275

Description

@huniafatima-99

Updated issue

( Updated Dec 2024 by @kdmccormick )

To maximize the stability and usefulness of our typechecking, we should always be constraining django-stubs to a version which is compatible with whatever our django and mypy version is. Generally, for django-stubs, that will be the latest patch release of the same major version as django or one major version greater.

Also djangorestframework-stubs may or may not need to be constrained.

There unfortunately isn't an easy way to bump those constraints automatically, so we'll leave this GitHub issue open indefinitely.

Original issue

( Created Aug 2024 by @huniafatima-arbi )

The version of django-stubs we can use depends on which Django release we're using 1.16.0 works with Django 3.2 through 4.1. Once django is updated we can remove this constraint

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions