pkgsrc-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
pkg/56915: py-requests started complaining about RequestsDependencyWarning: [...] chardet (5.0.0) [...] doesn't match a supported version!
>Number: 56915
>Category: pkg
>Synopsis: py-requests started complaining about using chardet-5.0.0 since converters/py-chardet update to 5.0.0
>Confidential: no
>Severity: serious
>Priority: high
>Responsible: pkg-manager
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Fri Jul 08 07:55:00 +0000 2022
>Originator: Leonardo Taccari
>Release: NetBSD 9.99.90
>Organization:
The NetBSD Foundation
>Environment:
System: NetBSD boh 9.99.90 NetBSD 9.99.90 (GENERIC) #0: Sun Oct 10 15:28:40 CEST 2021 leot@abacus:/usr/obj/sys/arch/amd64/compile/GENERIC amd64
Architecture: x86_64
Machine: amd64
>Description:
In pkgsrc-current when trying to use devel/py-requests there is a warning printed:
/usr/pkg/lib/python3.10/site-packages/requests/__init__.py:102: RequestsDependencyWarning: urllib3 (1.26.9) or chardet (5.0.0)/charset_normalizer (2.0.12) doesn't match a supported version!
warnings.warn("urllib3 ({}) or chardet ({})/charset_normalizer ({}) doesn't match a supported "
>How-To-Repeat:
Just importing requests trigger this problem:
$ python3.10 -c 'import requests'
/usr/pkg/lib/python3.10/site-packages/requests/__init__.py:102: RequestsDependencyWarning: urllib3 (1.26.9) or chardet (5.0.0)/charset_normalizer (2.0.12) doesn't match a supported version!
warnings.warn("urllib3 ({}) or chardet ({})/charset_normalizer ({}) doesn't match a supported "
>Fix:
Probably devel/py-requests should be updated to the latest stable
version that supports newer chardet. However, due requests-2.72.1 being
the latest release supporting Python 2.7 we should probably also do the
versioned Python dance (i.e. preserve that requests version too).
>Unformatted:
Home |
Main Index |
Thread Index |
Old Index