Uploaded image for project: 'Hadoop Common'
  1. Hadoop Common
  2. HADOOP-18049

Pin python lazy-object-proxy to 1.6.0 in Docker file as newer versions are incompatible with python2.7

    XMLWordPrintableJSON

Details

    Description

      Latest version of lazy-object-proxy (dependency of pylint) seems incompatible with python2.7 as per release notes

      https://ci-hadoop.apache.org/blue/organizations/jenkins/hadoop-multibranch/detail/PR-3776/2/pipeline

       

      [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] Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-build-j47m88/lazy-object-proxy/
      

      Attachments

        Issue Links

          Activity

            People

              dbadaya Dhananjay Badaya
              dbadaya Dhananjay Badaya
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 50m
                  50m