Skip to content

upstream CI build failing to install nightly pyarrow #9449

Closed

Description

@jrbourbeau

@ncclementi observed that our upstream CI build isn't able to install the nightly version of pyarrow due to a solve conflict. From the latest upstream build logs:

Run source continuous_integration/scripts/install.sh
++ [[ -n 1 ]]
++ arr=($(mamba search --override-channels -c arrow-nightlies pyarrow | tail -n 1))
+++ mamba search --override-channels -c arrow-nightlies pyarrow
+++ tail -n 1
++ export PYARROW_VERSION=10.0.0.dev137
++ PYARROW_VERSION=10.0.0.dev137
++ mamba install -y -c arrow-nightlies pyarrow=10.0.0.dev137
conda-forge/linux-64                                        Using cache
conda-forge/noarch                                          Using cache

Looking for: ['pyarrow=10.0.0.dev137']


Pinned packages:
  - python 3.9.*


Encountered problems while solving:
  - package pyarrow-10.0.0.dev137-py39h1ed2e5d_0_cuda requires arrow-cpp 10.0.0.dev137 py39h3962255_0_cuda, but none of the providers can be installed

It's interesting that the cuda version (and not the cpu version) of pyarrow is trying to be installed. Not sure how relevant that is to the solve issue...

cc @jorisvandenbossche in case you have any thoughts

Activity

  1. added
    tests
    on Aug 31, 2022
  2. jrbourbeau commented on Aug 31, 2022

    @jrbourbeau
    MemberAuthor

    FWIW I tried the changes below to try and only install the cpu build

    diff --git a/continuous_integration/scripts/install.sh b/continuous_integration/scripts/install.sh
    index 60ac5f3d4..7030faa01 100644
    --- a/continuous_integration/scripts/install.sh
    +++ b/continuous_integration/scripts/install.sh
    @@ -8,8 +8,8 @@ set -xe
    
     if [[ ${UPSTREAM_DEV} ]]; then
         # FIXME workaround for https://github.com/mamba-org/mamba/issues/1682
    -    arr=($(mamba search --override-channels -c arrow-nightlies pyarrow | tail -n 1))
    -    export PYARROW_VERSION=${arr[1]}
    +    arr=($(mamba search --override-channels -c arrow-nightlies pyarrow | grep cpu | tail -n 1))
    +    export PYARROW_VERSION=${arr[1]}=${arr[2]}
         mamba install -y -c arrow-nightlies "pyarrow=$PYARROW_VERSION"
    
         # FIXME https://github.com/mamba-org/mamba/issues/412

    which, unfortunately, didn't appear to fix the issue

     Encountered problems while solving:
      - package pyarrow-10.0.0.dev145-py39hff6fa39_0_cpu requires arrow-cpp 10.0.0.dev145 py39h5f82830_0_cpu, but none of the providers can be installed
    
  3. ncclementi commented on Sep 15, 2022

    @ncclementi
    Member

    Since #9465 was merged, should we close this, or are we leaving it as a placeholder to unpin libprotobuf eventually?
    cc: @jrbourbeau

  4. jrbourbeau commented on Sep 15, 2022

    @jrbourbeau
    MemberAuthor

    Thanks for following up @ncclementi. Let's leave this issue open as a reminder to remove that pin when we can

  5. jrbourbeau commented on Dec 9, 2022

    @jrbourbeau
    MemberAuthor

    I noticed that we were accidentally overwriting some of the dev packages in our upstream CI build (i.e. we would install a certain nightly version of package1 and then a subsequent nightly install of package2 would then install the latest released version of package1). I was able to fix most of these install issues in #9731, but unfortunately wasn't able to quickly resolve conda solve issues when attempting to install the nightly version of pyarrow.

    ++ mamba install -y -c arrow-nightlies pyarrow=11.0.0.dev129
    conda-forge/linux-64                                        Using cache
    conda-forge/noarch                                          Using cache
    pkgs/main/linux-64                                          Using cache
    pkgs/main/noarch                                            Using cache
    pkgs/r/linux-64                                             Using cache
    pkgs/r/noarch                                               Using cache
    
    Looking for: ['pyarrow=11.0.0.dev129']
    
    
    Pinned packages:
      - python 3.10.*
    
    
    Encountered problems while solving:
      - package pyarrow-11.0.0.dev129-py310hbc2c91e_0_cuda requires arrow-cpp 11.0.0.dev129 py310hc498ad1_0_cuda, but none of the providers can be installed
    

    As a workaround, I've temporarily removed the nightly install on pyarrow from our upstream build. We should circle back and add pyarrow nightlies back into our upstream build.

    cc @jorisvandenbossche for visibility

  6. jorisvandenbossche commented on Jan 25, 2023

    @jorisvandenbossche
    Member

    @jrbourbeau we can maybe use nightly wheels instead? (like is done for numpy, scipy and pandas)

  7. jorisvandenbossche commented on Jan 25, 2023

    @jorisvandenbossche
    Member

    Opened #9873 to try this

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    testsupstream

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions