Skip to content

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

Closed
kdmccormick wants to merge 1 commit into
masterfrom
kdmccormick/django-stubs
Closed

kdmccormick wants to merge 1 commit into
masterfrom
kdmccormick/django-stubs

Conversation

@kdmccormick

@kdmccormick kdmccormick commented Feb 14, 2024 •

Copy link
Copy Markdown
Member

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
Comment thread requirements/edx/development.txt Resolved
@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
Copy Markdown
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