On Oct 13, 2023, at 10:39, Kenneth Loafman via Duplicity-talk <duplicity-talk@nongnu.org> wrote:
All the errors will go away if you install using 'python3 -m pip -r requirements.txt'
The versions are all on PyPi and may not be available in distribution repositories.
...Ken
On 13.10.2023 02:56, Scott Hannahs via Duplicity-talk wrote:
> Ok, I understand that chardet is not installed for Python 3.10, I instead have charset_normalizer which should substitute for that.
>
> /opt/sw/lib/python3.10/site-packages/requests/__init__.py:109: RequestsDependencyWarning: urllib3 (1.26.16) or chardet (None)/charset_normalizer (3.2.0) doesn't match a supported version!
> warnings.warn(
>
> The error message doesn’t delineate which package is causing the problem. I assume it is compelling that charset_normalizer “3.2.0” fails the test 2.0.0 <= <version> < 3.0.0. Is there a problem with charset_normalizer major version 3? Should I substitute the later version of chardet that I have? I have chardet version 3.0.2 which is the minimum needed (and has a lot of newer versions?) # chardet_version >= 3.0.2, < 6.0.0
>
> Why does the following line to the error output cut off sudden as “warnings.warn(“ ?? Something seems odd.
>
> I think these are all warnings and the duplicity seems to have run correctly.
Internet says module requests upgrade might help.
https://stackoverflow.com/questions/56155627/requestsdependencywarning-urllib3-1-25-2-or-chardet-3-0-4-doesnt-match-a-s
not sure that requests is actually used by the boto3 backend.
..ede/duply.net
_______________________________________________
Duplicity-talk mailing list
Duplicity-talk@nongnu.org
https://lists.nongnu.org/mailman/listinfo/duplicity-talk
_______________________________________________
Duplicity-talk mailing list
Duplicity-talk@nongnu.org
https://lists.nongnu.org/mailman/listinfo/duplicity-talk