macvim-dev / macvim-dev/macvim

Could you please revisit the Python-2.x-and-Python-3.x workflow with MacVim

Đang mở
#760 16 bình luận 1 reaction 0 người được giao Xem trên GitHub

Chưa có ai nhận issue này.

Ngôn ngữ chính
Vim Script
Star
7.9k
Fork
691
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

Hi,
This is a great reference and it seems like many people used it in the past:
Python-2.x-and-Python-3.x

However, I would say, the solution suggested at the link above is failing with multiple different issues.

Could you (anyone with experience) please update that solution, and maybe in that way we can make sure that this works with the latest Python2.x and Python3.x versions and pyenv, conda etc.

For example, in my case the pyenv installation for Python2.x and Python3.x described in that link was extreemly painful.

Then the homebrew bit did not work.

I also was not sure if the dynamic linking was working at all. My otool -L output is:

otool -L _ctypes.so
_ctypes.so:
    /usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 1252.50.4)

And I never managed to get this bit to work:

$ otool -L $HOME/.pyenv/versions/2.7.11/lib/python2.7/lib-dynload/_ctypes.so
/Users/foo/.pyenv/versions/2.7.11/lib/python2.7/lib-dynload/_ctypes.so:
    /Users/foo/.pyenv/versions/2.7.11/lib/libpython2.7.dylib (compatibility version 2.7.0, current version 2.7.0)
    /usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 1226.10.1)

Many plugins are now using Python3 and some are still using Python2. A hybrid solutions is becoming critical even more now.

Thank you very much.

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Hướng nghiên cứu

Bắt đầu với trang wiki Python-2.x-and-Python-3.x của MacVim và tái hiện các vấn đề được báo cáo về pyenv, Homebrew và liên kết động bằng các lệnh cùng đầu ra của otool trong issue. Công việc được xem là hoàn tất khi trang này ghi lại một cấu hình hybrid hoạt động cho Python 2 và Python 3, bao gồm hướng dẫn hiện tại về pyenv hoặc conda và việc liên kết động đã được xác minh.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Đánh giá

Công nghệ
macos, python, vim
Lĩnh vực
documentation
Loại issue
Tài liệu
Độ khó
5/5
Thời gian dự kiến
Hơn một tuần
Mức độ hoạt động
Đình trệ
Độ rõ ràng
Khá rõ ràng
Mức phù hợp với người mới
30/100

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.