Giter Site home page Giter Site logo

Comments (12)

n0v1c3 avatar n0v1c3 commented on May 31, 2024

The default is 2.7 in Vim. I have made sure that all of the current libraries work with a min version of that.

from vira.

mikeboiko avatar mikeboiko commented on May 31, 2024

Well I'm pretty sure you can use python3. You can check your vim install:

echo has('python')
echo has('python3')

I would urge against using python 2 as it is quite outdated now and many libraries are moving away from it. That being said it will get the job done in the meantime but would not be a good path for the future.

from vira.

n0v1c3 avatar n0v1c3 commented on May 31, 2024

You can use python 3 however, I do like keeping it able to run in 2 if possible then there is no future explanations required to future users. And it will not matter what version of Python they are running it should just work. (Provided they know how to add the required libs to the proper version of python)
python3 -m pip ...
python2 -m pip ...

from vira.

n0v1c3 avatar n0v1c3 commented on May 31, 2024

If anything comes out of Python3 that we cannot live without then I will happily change a readme explaining the process.

from vira.

mikeboiko avatar mikeboiko commented on May 31, 2024

Sounds good, let's go with python 2.7 then. That being said, I would still suggest using pipenv. This way you can sit down on any machine, download the repo and then run the following:

pipenv install
pipenv run python jira.vim

This will ensure the exact versions of each library are used and will produce consistent results.

from vira.

n0v1c3 avatar n0v1c3 commented on May 31, 2024

I need to write this comment for my IT guy.

from vira.

mikeboiko avatar mikeboiko commented on May 31, 2024

Oops, didn't mean to close this yet.

from vira.

mikeboiko avatar mikeboiko commented on May 31, 2024

#4 did the trick

from vira.

n0v1c3 avatar n0v1c3 commented on May 31, 2024

I will run a test on the merge that I did at home and then close this issue.

from vira.

n0v1c3 avatar n0v1c3 commented on May 31, 2024

If you tested it good enough for me keep it closed.

from vira.

mikeboiko avatar mikeboiko commented on May 31, 2024

from vira.

mikeboiko avatar mikeboiko commented on May 31, 2024

I found one minor annoying thing about python2 thus far. You can't do f-strings...

var = 'world'
print('hello ' + var) # python2
print(f'hello {var}') # python3.6+

Not really a deal-breaker :P

from vira.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.