gavenkoa
gavenkoa

Reputation: 48743

pip: install package at version that don't bump versions of other packages

I know that project uses django == 1.3. Stacktrace shown that I miss package django-photologue. Command

pip install django-photologue

download django == 1.7. How to dump requirement for all possible version of selected package or ever better - dump only that have additional constraint for it dependencies?

I get project that have no requirements.txt file so try recreate working environment.

Upvotes: 0

Views: 288

Answers (1)

gavenkoa
gavenkoa

Reputation: 48743

Currently I end with:

pip install -v --no-deps --no-install django-photologue

which dump version as list:

Downloading/unpacking django-photologue
  Using version 3.1.1 (newest of versions: 3.1.1, 3.1, 3.0.2, 3.0.1, 3.0, 2.8.3, 2.8.2, 2.8.1, 2.8, 2.7, 2.6.1, 2.6, 2.5, 2.4, 2.3)

I can manually install each versions and check dependencies.

Another way investigate URLs in:

https://pypi.python.org/pypi/django-photologue/json

Upvotes: 1

Related Questions