Uploaded image for project: 'Red Hat OpenShift Dev Spaces (formerly CodeReady Workspaces) '
  1. Red Hat OpenShift Dev Spaces (formerly CodeReady Workspaces)
  2. CRW-2509

new yq dependency in theia-endpoint needs to be downstreamed

XMLWordPrintable

    • False
    • False

      Build is failing in brew due to:

      14:21:32 14:21:32  FAILURE: ==> 41542862:DEFAULT:orchestrator.log: <==
      14:21:32 14:21:32   Downloading metadata...
      14:21:32 14:21:32   ERROR: Could not find a version that satisfies the requirement yq (from versions: none)
      14:21:32 14:21:32   ERROR: No matching distribution found for yq
      14:21:32 14:21:32  running 'microdnf install -y python38 jq && pip3 install yq' failed with exit code 1
      

      Seems that recently (in 7.39.x) someone added a dependency to pip-installed yq as part of the theia-endpoint runtime.

      https://github.com/eclipse-che/che-theia/commit/3d7d89606d392dda0424161f3b1c77e56d76e414#diff-8dba2d9d5f98606b2d9a2943065fe8faf3e9fee7133167206b532d14643876f2R2

      RUN microdnf install -y python38 jq && pip3 install yq
      

      This is not a valid way to add new dependencies.

      See examples in:

      Essentially we either need a tarball which includes the pip-installed content, or we need to use cachito – see CRW-2444.

              nickboldt Nick Boldt
              nickboldt Nick Boldt
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved: