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

[BUG] Deprecation warnings when running basic test in dash documentation #2252

Closed
prokie opened this issue Sep 27, 2022 · 0 comments · Fixed by #2265
Closed

[BUG] Deprecation warnings when running basic test in dash documentation #2252

prokie opened this issue Sep 27, 2022 · 0 comments · Fixed by #2265

Comments

@prokie
Copy link

prokie commented Sep 27, 2022

dash                 2.6.2
dash-core-components 2.0.0
dash-html-components 2.0.0
dash-table           5.0.0

Describe the bug

When running the basic dash test from the documentation, I get the following warning.

tests/test_website.py::test_001_child_with_0
  C:\Users\ethopon\AppData\Local\pypoetry\Cache\virtualenvs\poetry-demo-VBrwyLAy-py3.10\lib\site-packages\flask\scaffold.py:50: DeprecationWarning:

  'before_first_request' is deprecated and will be removed in Flask 2.3. Run setup code while creating the application instead.

-- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html

Expected behavior

I expect to get no warnings.

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 a pull request may close this issue.

1 participant