how did you install dependencies?
By using Debian's default package manager
That explains things. Debian's packages are notorious for being out of date.
If just now you had installed the urllib3 and chardet (and any other dependencies) packages from APT, and you're sure no other program/library is using it, then uninstall them and use
pip to install these dependencies, which should be the latest versions since Python 3.7 is still supported.
If pip is not installed, it's usually available in a package called
python3-pip.
Once they're uninstalled from APT, remove any sub-dependencies of these dependencies using
apt autoremove.