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

Remove Jinja2 #5666

Closed
wants to merge 5 commits into from
Closed

Remove Jinja2 #5666

wants to merge 5 commits into from

Conversation

Dreamsorcerer
Copy link
Contributor

Looks like v3 includes type annotations now. Should this be removed from typeshed?

@Dreamsorcerer
Copy link
Contributor Author

Not sure I understand the tests. But, does it mean that the typeshed annotations must be kept as they are a dependency on flask annotations? And we can't test flask against the actual jinja2 library?

@Dreamsorcerer
Copy link
Contributor Author

Or, rather, that I just need to put some additional annotations into flask to cover the now missing jinja annotations?

@JelleZijlstra
Copy link
Member

Our policy is to keep the stubs around for at least six months for the benefit of users of older versions (https://github.com/python/typeshed/blob/master/CONTRIBUTING.md#third-party-library-removal-policy). Looks like Jinja2 3 was released in May, so that's some time away.

#5618 has discussion of how to make stub packages depend on non-stub packages.

@Dreamsorcerer
Copy link
Contributor Author

No problem.

@srittau
Copy link
Collaborator

srittau commented Jun 20, 2021

Also a duplicate of #5423, so we have our eyes on this.

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.

3 participants