vim-jp / vim-jp/vital.vim

Python version in CI

Open
#430 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Vim Script
Stars
587
Forks
64
Avg merge
2d 8h
Merged PRs (30d)
1

Description

Python のバージョンをCIで指定したほうがいいかもしれない.
トピックとしてはたぶん2つある.

1) 網羅率

Vim.Python のテストという意味ではどのpythonバージョンでも動くべきですが,
全体として指定すると,Web.HTTP など他に内部でpython使っているモジュールも影響を受けます.
#408 で python 2.6 にそれまで対応できてなかった...ということが発覚したので,

python 2.6 などでもテストしたいという気持ちもありますが,上記の理由で2.6全体指定とかも微妙なのではと思います.
2.7ならともかく2.6 とかサポートする必要ないと思いますし.

このpythonバージョンのCIの網羅率はtravis/appveyorどっちでもやれます.
あとそこまでpythonのテストないのでこのためにmatrix 指定するのはtoo much な可能性もある...???

2) Appveyor の oldest Vim 7.3 で python2.6(32bit) が使われてしまう

64bitに合わせたほうがよいっぽい.あとpython2.6なのは1)に書いたけど微妙なのでなんとかしておいたほうがはまらなくてよさそう.

明示的に指定するのは便利っぽいですが,やるかやらないか含めていろいろ選択肢あるのでissue化しました.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by inspecting the Travis and Appveyor CI configuration and how the Vim 7.3 job selects Python. The issue considers version coverage, Python 2.6 support, and 32-bit versus 64-bit Appveyor settings, but does not choose an approach; done requires an agreed version policy and CI jobs that follow it.

Written by the indexing model from the issue text.

Assessment

Tech stack
python, vim
Domain
ci-cd, testing
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.