Comments (6)
All I can say is that I usually compile Vim manually to make sure that I get the features I want - such as Python 3. Unless I'm mistaken Ubuntu ships with some 3.x version now by default (I use another distribution though).
from powerline.
I have vim compiled with both python versions (dynamic). But it is user vim, system one (Gentoo) neither has python3 support by default nor USE flag for it. It has USE for python 2 though (and it is enabled by global USE flag).
There is a bug opened for this in August 2010, but it still is not fixed, only has CONFIRMED status and three replies, all in 2012, meaning that it is not much needed by Gentoo users.
I would rather prefer to have only python2 or both python versions support. I can compile vim for my desktop, but am not much willing to do this for all other machines I sometimes want to launch vim on (other family desktops, notebook, router). If I weren’t up to writing some patches to vim I would not ever end up having self-compiled vim (except for, perhaps, cross-compiled binaries for wine), even though on Gentoo you don’t need to install any -dev packages: once I installed python3 I have all includes, same for ncurses, etc. And all the deps are pulled in by system vim, including compiler itself.
from powerline.
I also tend to compile my own vim and python for my machines. However, if
maximum adoption of the new powerline is a concern, I would suggest
supporting both. OSX still ships with python 2.7 by default and If I'm not
mistaken, I think MacVim pre-compiled binaries are setup for that. Not
supporting python 2 might drop support on a lot of OSX machines at least
for a little while.
2012�$BG/�(B12�$B7n�(B11�$BF|2PMKF|�(B ZyX-I [email protected]:
I have vim compiled with both python versions (dynamic). But it is user
vim, system one (Gentoo) neither has python3 support by default nor USE
flag for it. It has USE for python 2 though (and it is enabled by global
USE flag).There is a bug https://bugs.gentoo.org/show_bug.cgi?id=333059 opened
for this in August 2010, but it still is not fixed, only has CONFIRMED
status and three replies, all in 2012, meaning that it is not much neededby Gentoo users.
I would rather prefer to have only python2 or both python versions
support. I can compile vim for my desktop, but am not much willing to do
this for all other machines I sometimes want to launch vim on (other family
desktops, notebook, router). If I weren�$B!G�(Bt up to writing some patches to vim
I would not ever end up having self-compiled vim (except for, perhaps,
cross-compiled binaries for wine), even though on Gentoo you don�$B!G�(Bt need to
install any -dev packages: once I installed python3 I have all includes,
same for ncurses, etc. And all the deps are pulled in by system vim,
including compiler itself.�$B!=�(B
Reply to this email directly or view it on GitHubhttps://github.com//issues/8#issuecomment-11210151.
from powerline.
Allright. I'll continue working on a Python 2-specific version, and we can later include some compatibility stuff for users with Python 3 support.
from powerline.
+1 to Python 3 support. It's easy to install via Homebrew, and presumably also via the older package managers.
Homebrew can install binary packages (aka 'bottles'), but currently compiles both the vim and macvim formulas locally. The vim formula supports Python 3. Homebrew's MacVim formula doesn't support Python 3 (but I've just submitted the fix for that).
Also, brew's python 2.7 is useless with vim. It tends to trigger bizarre loading exceptions in system libraries in some vim Python packages. For whatever reason, this isn't an issue with Python 3.
from powerline.
I install MacVim with MacPorts and i have to specify +ruby19
and +python27
port options. So changing to +python33
is not an issue for me (provided it works, there are for example problems with installing usual terminal Vim with MacPorts and +ruby19
option).
from powerline.
Related Issues (20)
- No such file or directory (sometimes) HOT 1
- metadata-generation-failed when installing on on python 3.11/macOS 12 HOT 1
- setup fails for development version of tmux HOT 1
- Centre segments section HOT 1
- Logging test fail on python 3.8+
- Is it possible to set a highlight group for the environment variable segment? HOT 1
- Powerline doesn't working on Ubuntu 22.04.3 and bash
- Color and colorshemes override not working - gnome terminal - shell HOT 3
- powerline.segments.common.net.internal_ip HOT 2
- TMUX_VAR_RE does not use raw string, leading to SyntaxWarning with python 3.12
- powerline deprecation warning
- [feature] json schema support HOT 1
- The imp module is removed in Python 3.12 HOT 4
- Questions about Copilot + Open Source Software Hierarchy
- Questions about Copilot + Open Source Software Hierarchy
- does powerline works for csh HOT 4
- Terminal graphics don’t work correctly in Fedora 40 KDE HOT 2
- fuzzy_time segment prints "o'clock three" instead of "three o'clock" HOT 2
- Weather segment broken (Bad Yahoo Weather SSL Cert) in RHEL 9
- Apt package missing bash bindings
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from powerline.