-
Notifications
You must be signed in to change notification settings - Fork 109
Fix error when using is_version with lettered tmux version #22
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
is_version('something') fails with installed tmux 1.9a To allow tmux-python/tmuxp#197 ;-)
Current coverage is 78.74% (diff: 100%)@@ master #22 diff @@
==========================================
Files 8 8
Lines 814 814
Methods 0 0
Messages 0 0
Branches 0 0
==========================================
+ Hits 637 641 +4
+ Misses 177 173 -4
Partials 0 0
|
@minijackson Can this have a test for it please? |
There you go! But I don't know how to mock the installed tmux to be tmux 1.9a, so while the case that the requested tmux version is "lettered" is tested, the installed tmux case is not. |
Travis automatically tests across those tmux versions. https://github.com/tony/libtmux/blob/master/.travis.yml also you could manually insert the version number for '1.9a' |
I didn't understand, is it something I have to do for this PR ? Where should I insert the version number ? |
That is fine. The only thing I'm double checking is how broad support is for |
Even though most machines are going to have setuptools on it, after further consideration it may be safer to use a method without it. I'm not sure what the ramifications would be for upstream packages for tmuxp on arch and slack. |
Try |
is_version('something') fails with installed tmux 1.9a
To allow tmux-python/tmuxp#197 ;-)