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

charset-normalizer upgraded to 3.x #6288

Closed
walterrowe opened this issue Nov 18, 2022 · 1 comment
Closed

charset-normalizer upgraded to 3.x #6288

walterrowe opened this issue Nov 18, 2022 · 1 comment

Comments

@walterrowe
Copy link

charset-normalizer has been upgraded to version 3. requests requires version >= 2 and < 3.

Expected Result

support for charset-normalizer 3

Actual Result

warning of incompatibility with charset-normalizer 3

Reproduction Steps

% pip install --upgrade charset-normalizer
Requirement already satisfied: charset-normalizer in /usr/local/lib/python3.10/site-packages (3.0.0)
Collecting charset-normalizer
  Downloading charset_normalizer-3.0.1-cp310-cp310-macosx_10_9_x86_64.whl (124 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 124.2/124.2 kB 2.5 MB/s eta 0:00:00
Installing collected packages: charset-normalizer
  Attempting uninstall: charset-normalizer
    Found existing installation: charset-normalizer 3.0.0
    Uninstalling charset-normalizer-3.0.0:
      Successfully uninstalled charset-normalizer-3.0.0
ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts.
requests 2.28.1 requires charset-normalizer<3,>=2, but you have charset-normalizer 3.0.1 which is incompatible.
Successfully installed charset-normalizer-3.0.1

System Information

$ python -m requests.help
% python -m requests.help
/usr/local/lib/python3.10/site-packages/requests/__init__.py:109: RequestsDependencyWarning: urllib3 (1.26.12) or chardet (None)/charset_normalizer (3.0.1) doesn't match a supported version!
  warnings.warn(
{
  "chardet": {
    "version": null
  },
  "charset_normalizer": {
    "version": "3.0.1"
  },
  "cryptography": {
    "version": ""
  },
  "idna": {
    "version": "3.4"
  },
  "implementation": {
    "name": "CPython",
    "version": "3.10.8"
  },
  "platform": {
    "release": "21.6.0",
    "system": "Darwin"
  },
  "pyOpenSSL": {
    "openssl_version": "",
    "version": null
  },
  "requests": {
    "version": "2.28.1"
  },
  "system_ssl": {
    "version": "1010113f"
  },
  "urllib3": {
    "version": "1.26.12"
  },
  "using_charset_normalizer": true,
  "using_pyopenssl": false
}

This command is only available on Requests v2.16.4 and greater. Otherwise,
please provide some basic information about your system (Python version,
operating system, &c).

@ragibson
Copy link

This is addressed in #6261 but hasn't been released yet.

For what it's worth, this is on the 2.29.0 milestone.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants