Uploaded image for project: 'CORD'
  1. CORD
  2. CORD-828

xos-base container doesn't build properly

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved (View Workflow)
    • Priority: Medium
    • Resolution: Done
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: XOS
    • Labels:
      None

      Description

      Container build is broken due to new pip requirements that conflict with built-in `requests` library installed via apt.

         Processing enum34-1.1.6.zip
          Writing /tmp/easy_install-cFHYWh/enum34-1.1.6/setup.cfg
          Running enum34-1.1.6/setup.py -q bdist_egg --dist-dir /tmp/easy_install-cFHYWh/enum34-1.1.6/egg-dist-tmp-kSYe_D
          zip_safe flag not set; analyzing archive contents...
          
          Installed /tmp/pip_build_root/grpcio/enum34-1.1.6-py2.7.egg
          Traceback (most recent call last):
            File "<string>", line 17, in <module>
            File "/tmp/pip_build_root/grpcio/setup.py", line 269, in <module>
              cmdclass=COMMAND_CLASS,
            File "/usr/lib/python2.7/distutils/core.py", line 111, in setup
              _setup_distribution = dist = klass(attrs)
            File "/usr/lib/python2.7/dist-packages/setuptools/dist.py", line 239, in __init__
              self.fetch_build_eggs(attrs.pop('setup_requires'))
            File "/usr/lib/python2.7/dist-packages/setuptools/dist.py", line 264, in fetch_build_eggs
              replace_conflicting=True
            File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 620, in resolve
              dist = best[req.key] = env.best_match(req, ws, installer)
            File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 852, in best_match
              dist = working_set.find(req)
            File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 503, in find
              raise VersionConflict(dist,req)     # XXX add more info
          pkg_resources.VersionConflict: (requests 2.2.1 (/usr/lib/python2.7/dist-packages), Requirement.parse('requests>=2.4.0'))
      

        Attachments

          Issue Links

          No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            Activity

              People

              Assignee:
              zdw Zack Williams
              Reporter:
              zdw Zack Williams
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Gerrit Reviews

                  There are no open Gerrit changes