Created attachment 223558 [details] Poudriere build log As stated in the title, py37-pip-20.2.3 build fails on py-chardet version. Poudriere log attached.
Ah crap. I see the update was reverted already, sorry. Btw, since chardet is that significant, should I pass it to python@ then? @koobs ?
Same problem here; Additional problem: installing py37-chardet-4.0.0 also immediately renders Let's Encrypt / certbot unusable. Poudriere: ===> Building for py37-requests-toolbelt-0.9.1 Traceback (most recent call last): File "<string>", line 1, in <module> File "setup.py", line 66, in <module> 'Programming Language :: Python :: Implementation :: CPython', File "/usr/local/lib/python3.7/site-packages/setuptools/__init__.py", line 145, in setup return distutils.core.setup(**attrs) File "/usr/local/lib/python3.7/distutils/core.py", line 134, in setup ok = dist.parse_command_line() File "/usr/local/lib/python3.7/site-packages/setuptools/dist.py", line 707, in parse_command_line result = _Distribution.parse_command_line(self) File "/usr/local/lib/python3.7/distutils/dist.py", line 483, in parse_command_line args = self._parse_command_opts(parser, args) File "/usr/local/lib/python3.7/site-packages/setuptools/dist.py", line 1014, in _parse_command_opts nargs = _Distribution._parse_command_opts(self, parser, args) File "/usr/local/lib/python3.7/distutils/dist.py", line 539, in _parse_command_opts cmd_class = self.get_command_class(command) File "/usr/local/lib/python3.7/site-packages/setuptools/dist.py", line 833, in get_command_class ep.require(installer=self.fetch_build_egg) File "/usr/local/lib/python3.7/site-packages/pkg_resources/__init__.py", line 2465, in require items = working_set.resolve(reqs, env, installer, extras=self.extras) File "/usr/local/lib/python3.7/site-packages/pkg_resources/__init__.py", line 791, in resolve raise VersionConflict(dist, req).with_context(dependent_req) pkg_resources.ContextualVersionConflict: (chardet 4.0.0 (/usr/local/lib/python3.7/site-packages), Requirement.parse('chardet<4,>=3.0.2'), {'requests'}) *** Error code 1
# certbot Traceback (most recent call last): File "/usr/local/lib/python3.7/site-packages/pkg_resources/__init__.py", line 583, in _build_master ws.require(__requires__) File "/usr/local/lib/python3.7/site-packages/pkg_resources/__init__.py", line 900, in require needed = self.resolve(parse_requirements(requirements)) File "/usr/local/lib/python3.7/site-packages/pkg_resources/__init__.py", line 791, in resolve raise VersionConflict(dist, req).with_context(dependent_req) pkg_resources.ContextualVersionConflict: (chardet 4.0.0 (/usr/local/lib/python3.7/site-packages), Requirement.parse('chardet<4,>=3.0.2'), {'requests'}) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/local/bin/certbot", line 6, in <module> from pkg_resources import load_entry_point File "/usr/local/lib/python3.7/site-packages/pkg_resources/__init__.py", line 3251, in <module> @_call_aside File "/usr/local/lib/python3.7/site-packages/pkg_resources/__init__.py", line 3235, in _call_aside f(*args, **kwargs) File "/usr/local/lib/python3.7/site-packages/pkg_resources/__init__.py", line 3264, in _initialize_master_working_set working_set = WorkingSet._build_master() File "/usr/local/lib/python3.7/site-packages/pkg_resources/__init__.py", line 585, in _build_master return cls._build_from_requirements(__requires__) File "/usr/local/lib/python3.7/site-packages/pkg_resources/__init__.py", line 598, in _build_from_requirements dists = ws.resolve(reqs, Environment()) File "/usr/local/lib/python3.7/site-packages/pkg_resources/__init__.py", line 786, in resolve raise DistributionNotFound(req, requirers) pkg_resources.DistributionNotFound: The 'chardet<4,>=3.0.2' distribution was not found and is required by requests
(In reply to freebsd from comment #2) it was already reverted back to 3.0.4 in r569185: https://docs.freebsd.org/cgi/getmsg.cgi?fetch=2158317+0+current/svn-ports-all
A commit references this bug: Author: rm Date: Thu Mar 25 13:23:36 UTC 2021 New revision: 569200 URL: https://svnweb.freebsd.org/changeset/ports/569200 Log: textproc/py-chardet: pass maintainership to python Last update (now reverted) broke many consumers in the tree, so I feel it would be more responsible to pass this significant port under python@ wing. PR: 254536 Changes: head/textproc/py-chardet/Makefile
Update to 4 was reverted. Closing.
@Ruslan Thanks!
*** Bug 254527 has been marked as a duplicate of this bug. ***