Urllib3 and chardet versions

Hellp, I’m having the following error when starting seahub.

I’m on seafile-pro-server-9.0.13 and on Arch Linux.

What versions should I be running?

/srv/seafile/cal/seafile-pro-server-9.0.13/seahub/thirdpart/requests/__init__.py:102: RequestsDependencyWarning: urllib3 (1.26.12) 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 "```

Same issue on Ubuntu 22.04 LTS

Same issue on Debian 11.6

Same on Ubuntu 20.04 :frowning:

Same issue on Ubuntu 20.04 and Seafile Pro 9.0.14
The incompatible Python libraries that are mentioned seem to be referring to packages that come with Seafile/Seahub, rather than anything installed on the machine with pip3 install.

For example,
cat /opt/seafile/seafile-pro-server-9.0.14/seahub/thirdpart/urllib3/_version.py
returns
__version__ = "1.26.13"
which is the version number that the warning is complaining about.

These versions seem to be coming from this file:
https:// github .com/haiwen/seahub/blob/master/requirements.txt

The chardet dependency is explicitly defined, whereas the urllib3 dependency is imported by other dependencies
(djangosaml2 → pysaml2 → requests → urllib3).

I suppose the warning may be resolved by explicitly defining the versions of these two packages that are expected by the “requests” package.
However, at the end of the day, it seems to only be a warning and not an error.