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

Closed
wants to merge 1 commit into 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.

@kdmccormick kdmccormick force-pushed the kdmccormick/django-stubs branch from 28251ba to c63815c Compare February 14, 2024 23:48
@kdmccormick kdmccormick force-pushed the kdmccormick/django-stubs branch 4 times, most recently from 0768b19 to 610a864 Compare June 10, 2024 16:17
@kdmccormick kdmccormick force-pushed the kdmccormick/django-stubs branch from 413b3fb to 1bd9a55 Compare December 2, 2024 17:53
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.
@kdmccormick kdmccormick force-pushed the kdmccormick/django-stubs branch from 1bd9a55 to b051bc6 Compare December 2, 2024 18:05
@kdmccormick
Copy link
Member Author

Going to open a new PR for this.

@kdmccormick kdmccormick deleted the kdmccormick/django-stubs branch December 19, 2024 19:22
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