You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@arrow.apache.org by "Kouhei Sutou (Jira)" <ji...@apache.org> on 2020/08/13 03:55:00 UTC

[jira] [Resolved] (ARROW-9700) [Python] create_library_symlinks doesn't work in macos

     [ https://issues.apache.org/jira/browse/ARROW-9700?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Kouhei Sutou resolved ARROW-9700.
---------------------------------
    Fix Version/s: 2.0.0
       Resolution: Fixed

Issue resolved by pull request 7937
[https://github.com/apache/arrow/pull/7937]

> [Python] create_library_symlinks doesn't work in macos
> ------------------------------------------------------
>
>                 Key: ARROW-9700
>                 URL: https://issues.apache.org/jira/browse/ARROW-9700
>             Project: Apache Arrow
>          Issue Type: Bug
>          Components: Python
>            Reporter: Shawn Yang
>            Assignee: Shawn Yang
>            Priority: Major
>              Labels: pull-request-available
>             Fix For: 2.0.0
>
>          Time Spent: 1.5h
>  Remaining Estimate: 0h
>
> pyarrow.create_library_symlinks() doesn't create symlink on macos.
> ```
> def get_symlink_path(hard_path):
>   return '.'.join((hard_path.split('.')[0], 'dylib'))
> ```
> should be changed to
> ```
> def get_symlink_path(hard_path):
>   splits = hard_path.split('.')
>   splits.pop(-2)
>   return '.'.join(splits)
> ```



--
This message was sent by Atlassian Jira
(v8.3.4#803005)