Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: unpin django-stubs now that we're on django 4.2 #34237

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

kdmccormick
Copy link
Member

@kdmccormick kdmccormick commented Feb 14, 2024

django-stubs, which provides better type hinting for Django projects, was pinned to an old version (1.16.0) in order to support Django versions <=4.

Now that we have upgraded edx-platform to 4.2, we can remove the django-stubs pin, and use the latest version. This will allow us to use type hints more aggressively, especially in the content_libraries app.

Unpinning django-stubs will create some type errors, which we need to fix before merging this PR.

django-stubs, which provides better type hinting for Django projects,
was pinned to an old version (1.16.0) in order to support Django
versions <=4.

Now that we have upgraded edx-platform to 4.2, we can remove the
django-stubs pin, and use the latest version. This will allow us to use
type hints more aggressively, especially in the content_libraries app.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant