plotly / plotly/dash

deprecation warnings for selenium when using `dash_duo`

Open
#2,590 9 comments 0 reactions 1 assignee View on GitHub

@T4rk1n is already working on this.

Since Jul 25, 2024.

bug P3
Dominant language
Python
Stars
24.4k
Forks
2.3k
Avg merge
2d 7h
Merged PRs (30d)
13

Description

Describe your context
When using dash_duo and performing tests on our application we get the following deprecation warnings

  C:\repositories\database-gui\venv\Lib\site-packages\selenium\webdriver\remote\remote_connection.py:391: DeprecationWarning:
  HTTPResponse.getheader() is deprecated and will be removed in urllib3 v2.1.0. Instead use HTTPResponse.headers.get(name, default).
  • replace the result of pip list | grep dash below
dash                      2.11.1 
dash-bootstrap-components 1.4.1  
dash-chart-editor         0.0.1a4
dash-core-components      2.0.0  
dash-extensions           1.0.1  
dash-html-components      2.0.0  
dash-table                5.0.0  
dash-testing-stub         0.0.2  

Describe the bug
When running pytest with dash_duo the following deprecation warnings show up.

  C:\repositories\database-gui\venv\Lib\site-packages\selenium\webdriver\remote\remote_connection.py:391: DeprecationWarning:
  HTTPResponse.getheader() is deprecated and will be removed in urllib3 v2.1.0. Instead use HTTPResponse.headers.get(name, default).

Expected behavior

I expect to not get any deprecation warnings.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.