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

Install all optional requirements of Django #1602

Open
sobolevn opened this issue Jun 29, 2023 · 2 comments
Open

Install all optional requirements of Django #1602

sobolevn opened this issue Jun 29, 2023 · 2 comments
Labels
bug Something isn't working

Comments

@sobolevn
Copy link
Member

Today I faced a problem: #1601
New pytest-mypy-plugins has jinja2 as a dependency. After that we got new stubtest failures.

So, I realized that we don't have many optional Django dependencies for the runtime analysis.
For example, from extras https://github.com/django/django/blob/6a523500af5bab3e05d9be9fc1a74d986c102f1a/setup.cfg#L48:

  • argon2
  • bcrypt

Database drivers:

Maybe caches? What else?

@sobolevn sobolevn added the bug Something isn't working label Jun 29, 2023
@GabDug
Copy link
Contributor

GabDug commented Jun 29, 2023

Not specifically extras, but psycopg2 or 3 will result in change the stubtest as well.

Would you prefer to go "full-extras" or to try and run multiple stubtests with different allowlists?

@sobolevn
Copy link
Member Author

Multiple subtests seem better.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Development

No branches or pull requests

2 participants