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

warning because of deps #53

Closed
1 task done
ngam opened this issue Jun 25, 2022 · 0 comments · Fixed by #54
Closed
1 task done

warning because of deps #53

ngam opened this issue Jun 25, 2022 · 0 comments · Fixed by #54
Labels

Comments

@ngam
Copy link
Contributor

ngam commented Jun 25, 2022

Solution to issue cannot be found in the documentation.

  • I checked the documentation.

Issue

This part of the code upstream

https://github.com/psf/requests/blob/da9996fe4dc63356e9467d0a5e10df3d89a8528e/requests/__init__.py#L74-L86

produces a warning like

... py310/lib/python3.10/site-packages/requests/__init__.py:102: RequestsDependencyWarning: urllib3 (1.26.9) or chardet (5.0.0)/charset_normalizer (2.0.0) doesn't match a supported version!
  warnings.warn("urllib3 ({}) or chardet ({})/charset_normalizer ({}) doesn't match a supported "

The solution is to constrain chardet <5.

Installed packages

n/a

Environment info

n/a
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant