Граф коммитов

9 Коммитов

Автор SHA1 Сообщение Дата
Ed Morley 0809a5bd57
Bug 1337717 - Update to newer Celery, Kombu, py-amqp and billiard (#4722)
Updating in one go, since the Celery 4 release only supports the newer
versions of its dependencies and vice versa.

Of note, this fixes the unhelpful connection error messages shown when
in fact there was an authentication problem, and brings Celery/Kombu
support for Python 3.7. It's also likely that this will fix the pulse
listener hang seen in bug 1529404.

The new Celery release has renamed a number of the settings.
Most changes were performed by running:

```
celery upgrade settings treeherder/config/settings.py --django
celery upgrade settings tests/settings.py --django
```

The Django integration in celery.py has been cleaned up by following:
https://celery.readthedocs.io/en/latest/django/first-steps-with-django.html

The bug being hit that caused this to be reverted back in #2119/bug 1333079
was due to Celery 4 no longer supporting calling `apply_async()`
with just the `routing_key` - it now has to be called with either just
the `queue`, or else both the `routing_key` and `queue`, otherwise the task
ends up in the `default` queue. Sadly this isn't mentioned in the Celery
breaking changes list - I'll file an upstream issue shortly.

Changes:

http://docs.celeryproject.org/en/master/history/whatsnew-4.0.html
http://docs.celeryproject.org/en/master/changelog.html#rc1
https://github.com/celery/celery/compare/v3.1.26...v4.3.0rc1

http://docs.celeryproject.org/projects/kombu/en/stable/changelog.html#version-4-3-0
https://github.com/celery/kombu/compare/v3.0.37...v4.3.0

https://amqp.readthedocs.io/en/stable/changelog.html
https://github.com/celery/py-amqp/compare/v1.4.9...v2.4.1

https://github.com/celery/billiard/blob/v3.6.0/CHANGES.txt
https://github.com/celery/billiard/compare/v3.3.0.23...v3.6.0
2019-02-28 19:52:22 +00:00
Ed Morley 9003e0bbaf
Bug 1529240 - Update Django from 2.0 to 2.1 (#4711)
https://docs.djangoproject.com/en/2.1/releases/2.1/
2019-02-27 10:28:35 +00:00
Ed Morley c7cc7eba47
Bug 1489212 - Update django-filter from 1.1.0 to 2.1.0 (#4693)
Notably this adds support for Django 2.1, unblocking upgrading from 2.0.

The custom job details API `NumberInFilter` has been removed, since it
wasn't working after the breaking changes in django-filter, and is not
really needed now that the job details API has pagination enabled, so
has a default `LIMIT 2001` applied to queries.

Changes:
https://github.com/carltongibson/django-filter/blob/master/CHANGES.rst#version-20-2018-7-13
2019-02-25 19:44:14 +00:00
Ed Morley ff3213911f
Bug 1527336 - Update more-itertools from 5.0.0 to 6.0.0 (#4695)
The new version has dropped support for Python 2, so this was previously
blocked on bug 1330474.
2019-02-25 09:26:59 +00:00
Ed Morley 23c3a4b8d0
Bug 1426683 - Update Django from 1.11 to 2.0 (#4676)
https://docs.djangoproject.com/en/2.0/releases/2.0/
2019-02-25 07:14:50 +00:00
Ed Morley f326e8fa25
Bug 1517253 - Update mysqlclient from 1.3.13 to 1.4.2.post1 (#4669)
The backwards-incompatible change has since been fixed, so the latest
version now works with Django 1.11 again, avoiding the test failures
seen in #4342.

https://github.com/PyMySQL/mysqlclient-python/blob/master/HISTORY.rst#whats-new-in-142
2019-02-20 12:48:49 +00:00
Ed Morley 71ecfa60b5
Dependabot: Add ignored_updates entry for more-itertools (#4629)
Since it requires Python 3:
https://github.com/erikrose/more-itertools/releases/tag/6.0.0

Bug 1527336 has been filed to update it once we're using Python 3.

Closes #4626.
2019-02-12 15:48:48 +00:00
Ed Morley 9d0c77620f
Bug 1525923 - Fix version ranges for Dependabot ignored_updates (#4582)
Since it turns out the `ignored_updates` setting refers to the versions
that should be ignored, rather than the versions that are safe (which is
the opposite of pyup).
2019-02-07 16:11:01 +00:00
Ed Morley b1b3ebfa11
Bug 1525923 - Switch from pyup to Dependabot for Python package updates (#4575)
* Adds a configuration file for Dependabot:
  https://dependabot.com/blog/introducing-config-files/
* Converting pyup ignore entries to dependabot equivalents.
* Removes the badge for pyup
  (Dependabot doesn't yet have an equivalent badge.)
2019-02-07 15:41:31 +00:00