Bug 254527 - www/py-requests-toolbelt fails to build on 12.2-RELEASE
Summary: www/py-requests-toolbelt fails to build on 12.2-RELEASE
Status: Closed DUPLICATE of bug 254536
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Po-Chuan Hsieh
Depends on: 250941
  Show dependency treegraph
Reported: 2021-03-24 19:38 UTC by Alessandro Sagratini
Modified: 2021-03-25 23:33 UTC (History)
4 users (show)

See Also:
bugzilla: maintainer-feedback? (sunpoet)

build failure (30.66 KB, text/plain)
2021-03-24 19:38 UTC, Alessandro Sagratini
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Alessandro Sagratini 2021-03-24 19:38:43 UTC
Created attachment 223550 [details]
build failure

I was rebuilding my ports with poudriere and noticed mentioned one is failing with attached error.

Is this something you can help with?

Thank you
Comment 1 Gary 2021-03-24 22:55:35 UTC
textproc/py-chardet got updated today by rm@freebsd.org.  This is breaking www/py-requests-toolbelt
Comment 2 tech-lists 2021-03-25 02:48:25 UTC
(In reply to Gary from comment #1)
same here ports@569174
Comment 3 Alessandro Sagratini 2021-03-25 06:53:09 UTC
another thing I noticed is this line in the log
pkg_resources.ContextualVersionConflict: (chardet 4.0.0 (/usr/local/lib/python3.7/site-packages), Requirement.parse('chardet<4,>=3.0.2'), {'requests'})

which leads me to think the issue may also be related to py-requests, which does not have support for 4.0.0 py-chardet?
Comment 4 Ralf van der Enden 2021-03-25 07:58:42 UTC
(In reply to Alessandro Sagratini from comment #3)

I've upgraded www/py-requests on my machine to 2.25.1 and that seems to fix the build issue.

Haven't tested much, but certbot and subliminal seem to run happily with 2.25.1
Comment 5 tech-lists 2021-03-25 14:15:50 UTC
(In reply to Ralf van der Enden from comment #4)
fixes it for me as well. ports@569205
Comment 6 Kubilay Kocak freebsd_committer freebsd_triage 2021-03-25 23:33:27 UTC

*** This bug has been marked as a duplicate of bug 254536 ***