Coder Social home page Coder Social logo

Comments (4)

LBlend avatar LBlend commented on June 16, 2024

I'm thinking pipenv could be suitable solution to this. Although you could specify a version manually, pipenv gives us the ability to easily install and manage packages as well as specifying their minimum version requirements

from mann-eller-kvinne.

marksverdhei avatar marksverdhei commented on June 16, 2024

I think the virtual environment can be arbitrary to whoever uses the repo, whether it's pipenv or conda. Were you thinking of using pipenv in deployment? I think in addition to specifying the lib versions, we should have a reference python version for development (e.g. the version you currently use).
I'd prefer to use virtual environments for all my projects, but specifying versions should be the only thing necessary.

from mann-eller-kvinne.

marksverdhei avatar marksverdhei commented on June 16, 2024

You can simply use pip freeze to get all your current versions and go from there

from mann-eller-kvinne.

LBlend avatar LBlend commented on June 16, 2024

I think the virtual environment can be arbitrary to whoever uses the repo, whether it's pipenv or conda. Were you thinking of using pipenv in deployment? I think in addition to specifying the lib versions, we should have a reference python version for development (e.g. the version you currently use). I'd prefer to use virtual environments for all my projects, but specifying versions should be the only thing necessary.

I was thinking of using it in deployment as well. I don't know how it impacts performance but it's great in development IMO. I don't need to setup a virtual environment myself nor remember to activate it everytime.

As you mentioned we should have a reference python version, which pipenv takes care of for us.

However I'm open to just use pip freeze if that's what you think is the best option. If we're going to go ahead with it, we need to remove pipenv from the current rewrite branch

from mann-eller-kvinne.

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.