Skip to content

[C++] Remove "python" from conda_env_cpp.txt #22829

@asfimport

Description

@asfimport

I'm not sure why "python" is in this dependency file – if it is used to maintain a toolchain external to a particular Python environment then it confuses CMake like

CMake Warning at cmake_modules/BuildUtils.cmake:529 (add_executable):
  Cannot generate a safe runtime search path for target arrow-python-test
  because there is a cycle in the constraint graph:

    dir 0 is [/home/wesm/code/arrow/cpp/build/debug]
    dir 1 is [/home/wesm/miniconda/envs/arrow-3.7/lib]
      dir 2 must precede it due to runtime library [libcrypto.so.1.1]
    dir 2 is [/home/wesm/cpp-toolchain/lib]
      dir 1 must precede it due to runtime library [libpython3.7m.so.1.0]

  Some of these libraries may not be found correctly.
Call Stack (most recent call first):
  src/arrow/CMakeLists.txt:52 (add_test_case)
  src/arrow/python/CMakeLists.txt:139 (add_arrow_test)

Reporter: Wes McKinney / @wesm

PRs and other links:

Note: This issue was originally created as ARROW-6459. Please see the migration documentation for further details.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions