Pronay Sarker via Mailman-Developers writes:
 > >
 > > Thanks for the docs steve, it helped.

You're welcome.

 > However i was wondering what the preferred method is to fix the
 > following (see below) error in my pipeline
 > <https://gitlab.com/itsPronay/mailman/-/jobs/13215168236>.
 > I did a bit of research and found 2 way to fix this problem
 > 1. I add urllib3 version in dependencies

That's not really a fix until you understand it.  I can find *no*
references at all to "urllib3" in the HEAD of mailman's master branch
or whatever (fairly recent) versions I have of the other components of
Mailman suite.  So it is being pulled in by something else (I suppose
requests but I haven't checked carefully).  pip should be obeying the
requests' spec for urllib3.

According to requests' pyproject.toml on PyPI for that version, it
wants "charset_normalizer >=2, <4" and "urllib3 >=1.26,<3", and it
doesn't specify versions for chardet.  According to the tox log, those
constraints are satisfied.  So I don't understand why this error is
happening.

Please look at the function that raised the exception specified in the
trace.  I have to wonder if it's buggy.

 2. or I update test_fix_deprecations or intro.rst so that it ignores
    this error in the pipeline.

Ignoring unexpected errors in tests is always a bad idea.

Steve

-- 
GNU Mailman consultant (installation, migration, customization)
Sirius Open Source    https://www.siriusopensource.com/
Software systems consulting in Europe, North America, and Japan
_______________________________________________
Mailman-Developers mailing list -- [email protected]
To unsubscribe send an email to [email protected]
https://mail.python.org/mailman3/lists/mailman-developers.python.org/
Mailman FAQ: https://wiki.list.org/x/AgA3

Security Policy: https://wiki.list.org/x/QIA9

Reply via email to