You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@arrow.apache.org by "ASF GitHub Bot (Jira)" <ji...@apache.org> on 2020/08/12 07:09:00 UTC

[jira] [Updated] (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 ]

ASF GitHub Bot updated ARROW-9700:
----------------------------------
    Labels: pull-request-available  (was: )

> [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
>            Priority: Major
>              Labels: pull-request-available
>          Time Spent: 10m
>  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)