You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-issues@hadoop.apache.org by "Akira Ajisaka (Jira)" <ji...@apache.org> on 2021/12/17 08:26:00 UTC
[jira] [Comment Edited] (HADOOP-18049) Hadoop CI fails in precommit due to python2.7 incompatible version of lazy-object-proxy
[ https://issues.apache.org/jira/browse/HADOOP-18049?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17461273#comment-17461273 ]
Akira Ajisaka edited comment on HADOOP-18049 at 12/17/21, 8:25 AM:
-------------------------------------------------------------------
> We migrated to python3 in Hadoop 3.
Hi [~weichiu], should we migrate to Python 3 in branch-2.10 as well? I can help backporting Python 3 related patches.
was (Author: ajisakaa):
> We migrated to python3 in Hadoop 3.
Hi [~weichiu], should we migrated to Python 3 in branch-2.10 as well? I can help backporting Python 3 related patches.
> Hadoop CI fails in precommit due to python2.7 incompatible version of lazy-object-proxy
> ----------------------------------------------------------------------------------------
>
> Key: HADOOP-18049
> URL: https://issues.apache.org/jira/browse/HADOOP-18049
> Project: Hadoop Common
> Issue Type: Bug
> Components: build
> Affects Versions: 2.10.2
> Reporter: Dhananjay Badaya
> Assignee: Dhananjay Badaya
> Priority: Major
>
> Latest version of lazy-object-proxy (dependency of pylint) seems incompatible with python2.7 as per [release notes|https://pypi.org/project/lazy-object-proxy/1.7.1/]
> [https://ci-hadoop.apache.org/blue/organizations/jenkins/hadoop-multibranch/detail/PR-3776/2/pipeline]
>
> {code:java}
> [2021-12-16T12:37:15.710Z] Collecting lazy-object-proxy (from astroid<2.0,>=1.6->pylint==1.9.2)
> [2021-12-16T12:37:15.710Z] Downloading https://files.pythonhosted.org/packages/75/93/3fc1cc28f71dd10b87a53b9d809602d7730e84cc4705a062def286232a9c/lazy-object-proxy-1.7.1.tar.gz (41kB)
> [2021-12-16T12:37:16.225Z] Complete output from command python setup.py egg_info:
> [2021-12-16T12:37:16.225Z] /usr/lib/python2.7/distutils/dist.py:267: UserWarning: Unknown distribution option: 'project_urls'
> [2021-12-16T12:37:16.225Z] warnings.warn(msg)
> [2021-12-16T12:37:16.225Z] /usr/lib/python2.7/distutils/dist.py:267: UserWarning: Unknown distribution option: 'python_requires'
> [2021-12-16T12:37:16.225Z] warnings.warn(msg)
> [2021-12-16T12:37:16.225Z] /usr/lib/python2.7/distutils/dist.py:267: UserWarning: Unknown distribution option: 'use_scm_version'
> [2021-12-16T12:37:16.225Z] warnings.warn(msg)
> [2021-12-16T12:37:16.225Z] running egg_info
> [2021-12-16T12:37:16.225Z] creating pip-egg-info/lazy_object_proxy.egg-info
> [2021-12-16T12:37:16.225Z] writing pip-egg-info/lazy_object_proxy.egg-info/PKG-INFO
> [2021-12-16T12:37:16.225Z] writing top-level names to pip-egg-info/lazy_object_proxy.egg-info/top_level.txt
> [2021-12-16T12:37:16.225Z] writing dependency_links to pip-egg-info/lazy_object_proxy.egg-info/dependency_links.txt
> [2021-12-16T12:37:16.225Z] writing manifest file 'pip-egg-info/lazy_object_proxy.egg-info/SOURCES.txt'
> [2021-12-16T12:37:16.225Z] warning: manifest_maker: standard file '-c' not found
> [2021-12-16T12:37:16.225Z]
> [2021-12-16T12:37:16.225Z] Traceback (most recent call last):
> [2021-12-16T12:37:16.225Z] File "<string>", line 1, in <module>
> [2021-12-16T12:37:16.225Z] File "/tmp/pip-build-j47m88/lazy-object-proxy/setup.py", line 146, in <module>
> [2021-12-16T12:37:16.225Z] distclass=BinaryDistribution,
> [2021-12-16T12:37:16.225Z] File "/usr/lib/python2.7/distutils/core.py", line 151, in setup
> [2021-12-16T12:37:16.225Z] dist.run_commands()
> [2021-12-16T12:37:16.225Z] File "/usr/lib/python2.7/distutils/dist.py", line 953, in run_commands
> [2021-12-16T12:37:16.225Z] self.run_command(cmd)
> [2021-12-16T12:37:16.225Z] File "/usr/lib/python2.7/distutils/dist.py", line 972, in run_command
> [2021-12-16T12:37:16.225Z] cmd_obj.run()
> [2021-12-16T12:37:16.225Z] File "/usr/lib/python2.7/dist-packages/setuptools/command/egg_info.py", line 186, in run
> [2021-12-16T12:37:16.225Z] self.find_sources()
> [2021-12-16T12:37:16.225Z] File "/usr/lib/python2.7/dist-packages/setuptools/command/egg_info.py", line 209, in find_sources
> [2021-12-16T12:37:16.225Z] mm.run()
> [2021-12-16T12:37:16.225Z] File "/usr/lib/python2.7/dist-packages/setuptools/command/egg_info.py", line 293, in run
> [2021-12-16T12:37:16.225Z] self.add_defaults()
> [2021-12-16T12:37:16.225Z] File "/usr/lib/python2.7/dist-packages/setuptools/command/egg_info.py", line 322, in add_defaults
> [2021-12-16T12:37:16.225Z] sdist.add_defaults(self)
> [2021-12-16T12:37:16.225Z] File "/usr/lib/python2.7/dist-packages/setuptools/command/sdist.py", line 131, in add_defaults
> [2021-12-16T12:37:16.225Z] if self.distribution.has_ext_modules():
> [2021-12-16T12:37:16.225Z] File "/tmp/pip-build-j47m88/lazy-object-proxy/setup.py", line 70, in has_ext_modules
> [2021-12-16T12:37:16.225Z] return super().has_ext_modules() or not os.environ.get('SETUPPY_ALLOW_PURE')
> [2021-12-16T12:37:16.225Z] TypeError: super() takes at least 1 argument (0 given)
> [2021-12-16T12:37:16.225Z]
> [2021-12-16T12:37:16.225Z] ----------------------------------------
> [2021-12-16T12:37:16.225Z] [91mCommand "python setup.py egg_info" failed with error code 1 in /tmp/pip-build-j47m88/lazy-object-proxy/
> {code}
--
This message was sent by Atlassian Jira
(v8.20.1#820001)
---------------------------------------------------------------------
To unsubscribe, e-mail: common-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: common-issues-help@hadoop.apache.org