Specify proper requirements in pypi package

Issue #13 wontfix
Piotr Kaczyński created an issue

Please provide specific Django version in setup.py. I use 1.8LTS Django and current release is 1.9. Installation of your package automatically updates Django version.

Specify required django version, i.e. Django>=1.4.

Comments (3)

  1. Tim Heap repo owner

    This is an issue with pip more than it is with this package. This package is compatible with Django 1.9, so I will not stop people installing it on Django 1.9 by restricting it to the Django 1.8 LTS release. Pip does not take in to account your other dependencies when installing new dependencies, which is where this problem arises. Instead of running pip install --upgrade django-formset-js, which will cause the issue you have encountered, add this package to your requirements and install it that way:

    $ echo "django-formset-js==0.5.0" >> requirements.txt
    $ pip install --upgrade -r requirements.txt
    
  2. Log in to comment