Bug 254527

Summary: www/py-requests-toolbelt fails to build on 12.2-RELEASE
Product: Ports & Packages Reporter: Alessandro Sagratini <ale_sagra>
Component: Individual Port(s)Assignee: Po-Chuan Hsieh <sunpoet>
Status: Closed DUPLICATE    
Severity: Affects Only Me CC: freebsd-bugzilla, gamer, tech-lists, tremere
Priority: --- Flags: bugzilla: maintainer-feedback? (sunpoet)
Version: Latest   
Hardware: Any   
OS: Any   
Bug Depends on: 250941    
Bug Blocks:    
Attachments:
Description Flags
build failure none

Description Alessandro Sagratini 2021-03-24 19:38:43 UTC
Created attachment 223550 [details]
build failure

Hello,
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 ***