Giter Site home page Giter Site logo

Comments (2)

jezdez avatar jezdez commented on May 29, 2024

Hm, in the past I've not done that simply because people may not have made the jump from one minior Django version to the next. So for example if we'd have a 1.6 project on 1.6.3 and specify something like "Django>=1.6" in the setup.py then pip would not know which version to use, the major version installed right now or update to 1.7?

Anecdotally all of the projects I've worked on in past years had a requirements.txt that specified the base packages to be used by the project including Django and an exact version. That limited surprises and made us upgrade when we had the time to do proper testing. Additionally I would assume the pseudo namespace of the _django-_formtools package implies that it's supposed to be used with a Django release. I would not leave the specification which minimal version of Django to use to the package manager.

from django-formtools.

gchp avatar gchp commented on May 29, 2024

If formtools is going to only be supported for certain versions of Django, then should the version specifier be Django>=MIN_SUPPORTED_DJANGO_VERISON? That way, when it is installed it will always get a compatible version of Django, but users can always use their own requirements file or whatever to pin the versions. At least like this if I already have a version of Django installed which meets the MIN_SUPPORTED_DJANGO_VERSION, it won't need to install anything and won't cause problems.

from django-formtools.

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.