Hmm, it’s unfortunate that python-requests is doing a runtime version test on chardet when it doesn’t even depend on it (so I didn’t have any reason to include it in a COPR impact check). It looks like there is a use_chardet_on_py3 extra that would depend on chardet, but we don’t package it. Looking at https://github.com/psf/requests/commit/b2a1d33f571518ca9a6148e7da787cc5827f897a, it should suffice to just backport that commit, loosening the dependency bounds.
/usr/lib/python3.14/site-packages/requests/__init__.py:113: RequestsDependencyWarning: urllib3 (2.6.3) or chardet (6.0.0.post1)/charset_normalizer (3.4.4) doesn't match a supported version!
warnings.warn(
Downgrading python3-chardet makes the warnings go away
This update's test gating status has been changed to 'waiting'.
This update has been submitted for testing by bodhi.
This update's test gating status has been changed to 'ignored'.
This update has been pushed to testing.
Now every
fedpkgcommand (e.g.fedpkg --help) shows the following warnings:For now, putting negative karma for this update.
Bodhi is disabling automatic push to stable due to negative karma. The maintainer may push manually if they determine that the issue is not severe.
Hmm, it’s unfortunate that python-requests is doing a runtime version test on
chardetwhen it doesn’t even depend on it (so I didn’t have any reason to include it in a COPR impact check). It looks like there is ause_chardet_on_py3extra that would depend onchardet, but we don’t package it. Looking at https://github.com/psf/requests/commit/b2a1d33f571518ca9a6148e7da787cc5827f897a, it should suffice to just backport that commit, loosening the dependency bounds.https://src.fedoraproject.org/rpms/python-requests/pull-request/41
I see the same warning with bodhi as well
Downgrading
python3-chardetmakes the warnings go awaymusic edited this update.
New build(s):
Karma has been reset.
This update has been submitted for testing by music.
This update's test gating status has been changed to 'waiting'.
Thank you for reporting the issue! The
python-requestsbuild that I just added to this update should resolve the problem.music edited this update.
This update's test gating status has been changed to 'passed'.
No more warnings
This update has been pushed to testing.
I no longer see the above warnings.
This update can be pushed to stable now if the maintainer wishes
This update has been submitted for stable by music.
This update has been pushed to stable.