videofront icon indicating copy to clipboard operation
videofront copied to clipboard

Upgrade requirements (including django 2.0.6)

Open twidi opened this issue 7 years ago • 0 comments

I first checked the dependencies that could be upgraded

$ pip list --outdated
Package             Version  Latest   Type
------------------- -------- -------- -----
amqp                1.4.9    2.3.2    wheel
beautifulsoup4      4.4.1    4.6.0    wheel
billiard            3.3.0.23 3.5.0.3  wheel
boto3               1.3.1    1.7.35   wheel
botocore            1.4.93   1.10.35  wheel
celery              3.1.23   4.2.0    wheel
Django              1.10     2.0.6    wheel
django-celery       3.1.17   3.2.2    sdist
django-filter       0.14.0   1.1.0    wheel
django-rest-swagger 2.0.5    2.2.0    wheel
djangorestframework 3.4.5    3.8.2    wheel
factory-boy         2.7.0    2.11.1   wheel
fake-factory        0.7.4    9999.9.9 wheel
idna                2.6      2.7      wheel
kombu               3.0.37   4.2.1    wheel
Markdown            2.6.6    2.6.11   wheel
Pillow              3.3.1    5.1.0    wheel
pycaption           1.0.0    1.0.1    sdist
urllib3             1.22     1.23     wheel

Them filtered this list (manually) to only include the ones in our requirement files.:

Package             Version  Latest   Type
------------------- -------- -------- -----
celery              3.1.23   4.2.0    wheel
Django              1.10     2.0.6    wheel
django-celery       3.1.17   3.2.2    sdist
django-filter       0.14.0   1.1.0    wheel
django-rest-swagger 2.0.5    2.2.0    wheel
djangorestframework 3.4.5    3.8.2    wheel
pycaption           1.0.0    1.0.1    sdist
Markdown            2.6.6    2.6.11   wheel
Pillow              3.3.1    5.1.0    wheel
boto3               1.3.1    1.7.35   wheel
factory-boy         2.7.0    2.11.1   wheel

At the end we have this:

$ pip list --outdated
Package        Version  Latest  Type 
-------------- -------- ------- -----
amqp           1.4.9    2.3.2   wheel
beautifulsoup4 4.4.1    4.6.0   wheel
billiard       3.3.0.23 3.5.0.3 wheel
celery         3.1.25   4.2.0   wheel
idna           2.6      2.7     wheel
kombu          3.0.37   4.2.1   wheel
urllib3        1.22     1.23    wheel

And limited to our requirements:

$ pip list --outdated
Package        Version  Latest  Type 
-------------- -------- ------- -----
celery         3.1.25   4.2.0   wheel

The only reason for not upgrading to celery 4 is that there are some important changes and I don't know this library enough (in fact I don't know it at all) to carry this change on my own.

So everything else is ok, but celery (still upgraded to the last version before 4).

One thing: on an existing environment, I had to uninstall fake-factory AND factory-boy before reinstalling factory-boy to the last version.

twidi avatar Jun 11 '18 16:06 twidi