Introduction: Small Issue, New contributor
Hey everyone,
I am a potential new contributor to the project. I just went through the wikis and accordingly thought I'd introduce myself.
I also found a small issue with this wiki, wherein the irc chatroom link has not been updated. I cant find the wiki docs on github so thought i'd mention it here. just letting you guys know. wiki <https://wiki.list.org/DEV/Tips%20for%20Prospective%20Google%20Summer%20of%20...> -> irc.freenode.org
I am currently setting up my dev environment and will start looking at beginner issues soon. I hope to learn a lot from you all!
Looking forward to being part of the community.
Best, Harshal.
Harshal via Mailman-Developers writes:
I cant find the wiki docs on github so thought i'd mention it here.
It's a wiki. You log in and edit it directly.
I am currently setting up my dev environment and will start looking at beginner issues soon. I hope to learn a lot from you all!
check the archives of this list for the last few days, we've provided a few hints on that.
Steve
-- GNU Mailman consultant (installation, migration, customization) Sirius Open Source https://www.siriusopensource.com/ Software systems consulting in Europe, North America, and Japan
Thanks for the docs steve, it helped.
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 pipeline. Let me know which one I should follow. Thanks
- I add urllib3 version in dependencies 2. or I update test_fix_deprecations or intro.rst so that it ignores this error in the
Traceback (most recent call last): File "/builds/itsPronay/mailman/src/mailman/tests/test_hook_deprecations.py", line 49, in test_pre_hook_deprecated self.assertEqual( AssertionError: "Warning: urllib3 (2.6.3) or chardet (6.0.[66 chars]ion!" != "The [mailman]pre_hook configuration value[66 chars]led."
- Warning: urllib3 (2.6.3) or chardet (6.0.0.post1)/charset_normalizer (3.4.4) doesn't match a supported version!
- The [mailman]pre_hook configuration value has been replaced by the plugins infrastructure, and won't be called. Traceback (most recent call last):
File "/builds/itsPronay/mailman/src/mailman/tests/test_hook_deprecations.py", line 49, in test_pre_hook_deprecated self.assertEqual( AssertionError: "Warning: urllib3 (2.6.3) or chardet (6.0.[66 chars]ion!" != "The [mailman]pre_hook configuration value[66 chars]led."
- Warning: urllib3 (2.6.3) or chardet (6.0.0.post1)/charset_normalizer (3.4.4) doesn't match a supported version!
- The [mailman]pre_hook configuration value has been replaced by the plugins infrastructure, and won't be called.
--
251/A and 252, Tejgaon Industrial Area, Dhaka - 1208, Bangladesh. Mob: 019117-81327, 01766-348518 Web: www.seu.edu.bd <https://www.seu.edu.bd>, Email: info@seu.edu.bd <mailto:info@seu.edu.bd>
I didn't notice i sent my mail in someone else's thread. Apologies for sending the mail in wrong thread.
--
251/A and 252, Tejgaon Industrial Area, Dhaka - 1208, Bangladesh. Mob: 019117-81327, 01766-348518 Web: www.seu.edu.bd <https://www.seu.edu.bd>, Email: info@seu.edu.bd <mailto:info@seu.edu.bd>
On 2/22/26 14:34, Pronay Sarker via Mailman-Developers wrote:
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 2. or I update test_fix_deprecations or intro.rst so that it ignores this error in the pipeline. Let me know which one I should follow. Thanks
Neither of those is correct. The first thing to ask is why does only diffcov fail in this way when all the test-mysql, test-postgres and test-sqlite jobs pass. The answer to that is only diffcov requires coverage and diff_cover>=6.0 and one of those requires chardet and as of today, the latest version of chardet in PyPI is 6.0.0.post1 which replaced chardet 6.0.0 (released yesterday).
Traceback (most recent call last): ...> - Warning: urllib3 (2.6.3) or chardet (6.0.0.post1)/charset_normalizer (3.4.4) doesn't match a supported version!
The issue is the requests package requires chardet < 6.0.0. This fix. ``` --- a/tox.ini +++ b/tox.ini @@ -22,6 +22,7 @@ deps = pg: psycopg2-binary mysql: pymysql diffcov: diff_cover>=6.0 + diffcov: chardet<6.0 passenv = MAILMAN_* PYTHON* ``` will work around it. -- Mark Sapiro <mark@msapiro.net> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan
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
- 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.
- 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
On 2/22/26 23:09, Stephen J. Turnbull wrote:
Please look at the function that raised the exception specified in the trace. I have to wonder if it's buggy.
As I said at <https://mail.python.org/archives/list/mailman-developers@python.org/message/...>, requests requires chardet < 6.0.0 and 6.0.0 was released on Feb 21. Requests has just been updated <https://github.com/psf/requests/commit/4bd79e397304d46dfccd76f36c07f66c0295f...> to accept chardet < 7.0.0, but that has not yet been released. When requests > 2.32.5 is released, this problem will go away.
-- Mark Sapiro <mark@msapiro.net> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan
participants (4)
-
Harshal -
Mark Sapiro -
Pronay Sarker -
Stephen J. Turnbull