Skip to content

Commit

Permalink
GH-14943: [Python] Fix pyarrow.get_libraries() order (#14944)
Browse files Browse the repository at this point in the history
pyarrow.get_libraries() returns ['arrow', 'arrow_python'] but it should be ['arrow_python', 'arrow'] because libarrow_python.so depends on libarrow.so.
* Closes: #14943

Authored-by: Sutou Kouhei <kou@clear-code.com>
Signed-off-by: Sutou Kouhei <kou@clear-code.com>
  • Loading branch information
kou authored Dec 20, 2022
1 parent 4e9158d commit 23a7a15
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion python/pyarrow/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -415,7 +415,7 @@ def get_libraries():
Return list of library names to include in the `libraries` argument for C
or Cython extensions using pyarrow
"""
return ['arrow', 'arrow_python']
return ['arrow_python', 'arrow']


def create_library_symlinks():
Expand Down

0 comments on commit 23a7a15

Please sign in to comment.