Bump django from 3.0.8 to 3.1.4 in /requirements (#6903)

* Bump django from 3.0.8 to 3.1.4 in /requirements

Bumps [django](https://github.com/django/django) from 3.0.8 to 3.1.4.
- [Release notes](https://github.com/django/django/releases)
- [Commits](https://github.com/django/django/compare/3.0.8...3.1.4)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

* fix deprecated db field
* 3.1 fixup

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
Co-authored-by: Cameron Dawson <cdawson@mozilla.com>
This commit is contained in:
dependabot-preview[bot] 2020-12-21 16:42:26 -08:00 коммит произвёл GitHub
Родитель 4106def3b8
Коммит 65dcbd9ff3
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: 4AEE18F83AFDEB23
7 изменённых файлов: 56 добавлений и 30 удалений

Просмотреть файл

@ -1,7 +1,7 @@
# Packages that are shared between deployment and dev environments.
gunicorn==20.0.4
whitenoise[brotli] # Used by Whitenoise to provide Brotli-compressed versions of static files.
Django==3.0.8
Django==3.1.4
celery==4.4.2 # 4.4.2 required to pass test_retryable_task_throws_retry, celery needed for data ingestion
simplejson # import simplejson
newrelic==5.22.1.152

Просмотреть файл

@ -142,9 +142,9 @@ django-redis==4.12.1 \
--hash=sha256:1133b26b75baa3664164c3f44b9d5d133d1b8de45d94d79f38d1adc5b1d502e5 \
--hash=sha256:306589c7021e6468b2656edc89f62b8ba67e8d5a1c8877e2688042263daa7a63 \
# via -r requirements/common.in
django==3.0.8 \
--hash=sha256:31a5fbbea5fc71c99e288ec0b2f00302a0a92c44b13ede80b73a6a4d6d205582 \
--hash=sha256:5457fc953ec560c5521b41fad9e6734a4668b7ba205832191bbdff40ec61073c \
django==3.1.4 \
--hash=sha256:5c866205f15e7a7123f1eec6ab939d22d5bde1416635cab259684af66d8e48a2 \
--hash=sha256:edb10b5c45e7e9c0fb1dc00b76ec7449aca258a39ffd613dbd078c51d19c9f03 \
# via -r requirements/common.in, django-cors-headers, django-filter, django-redis, djangorestframework
djangorestframework==3.12.2 \
--hash=sha256:0209bafcb7b5010fdfec784034f059d512256424de2a0f084cb82b096d6dd6a7 \

Просмотреть файл

@ -7,7 +7,7 @@ django-extensions
PyPOM
Django==3.0.8 # match common.in for faster install
Django==3.1.4 # match common.in for faster install
# for git commit hooks
pre-commit

Просмотреть файл

@ -19,15 +19,15 @@ attrs==20.1.0 \
betamax-serializers==0.2.1 \
--hash=sha256:1b23c46429c40a8873682854c88d805c787c72d252f3fa0c858e9c300682ceac \
--hash=sha256:345c419b1b73171f2951c62ac3c701775ac4b76e13e86464ebf0ff2a978e4949 \
# via -r dev.in
# via -r requirements/dev.in
betamax==0.8.1 \
--hash=sha256:5bf004ceffccae881213fb722f34517166b84a34919b92ffc14d1dbd050b71c2 \
--hash=sha256:aa5ad34cc8d018b35814fb0557d15c78ced9ac56fdc43ccacdb882aa7a5217c1 \
# via -r dev.in, betamax-serializers
# via -r requirements/dev.in, betamax-serializers
black==20.8b1 \
--hash=sha256:1c02557aa099101b9d21496f8a914e9ed2222ef70336404eeeac8edba836fbea \
--hash=sha256:70b62ef1527c950db59062cda342ea224d772abdf6adc58b86a45421bab20a6b \
# via -r dev.in
# via -r requirements/dev.in
certifi==2020.6.20 \
--hash=sha256:5930595817496dd21bb8dc35dad090f1c2cd0adfaf21204bf6732ca5d8ee34d3 \
--hash=sha256:8fc0819f1f30ba15bdb34cceffb9ef04d99f420f68eb75d901e9560b8749fc41 \
@ -91,15 +91,15 @@ distlib==0.3.1 \
django-debug-toolbar==2.2 \
--hash=sha256:eabbefe89881bbe4ca7c980ff102e3c35c8e8ad6eb725041f538988f2f39a943 \
--hash=sha256:ff94725e7aae74b133d0599b9bf89bd4eb8f5d2c964106e61d11750228c8774c \
# via -r dev.in
# via -r requirements/dev.in
django-extensions==3.1.0 \
--hash=sha256:7cd002495ff0a0e5eb6cdd6be759600905b4e4079232ea27618fc46bdd853651 \
--hash=sha256:c7f88625a53f631745d4f2bef9ec4dcb999ed59476393bdbbe99db8596778846 \
# via -r dev.in
django==3.0.8 \
--hash=sha256:31a5fbbea5fc71c99e288ec0b2f00302a0a92c44b13ede80b73a6a4d6d205582 \
--hash=sha256:5457fc953ec560c5521b41fad9e6734a4668b7ba205832191bbdff40ec61073c \
# via -r dev.in, django-debug-toolbar
# via -r requirements/dev.in
django==3.1.4 \
--hash=sha256:5c866205f15e7a7123f1eec6ab939d22d5bde1416635cab259684af66d8e48a2 \
--hash=sha256:edb10b5c45e7e9c0fb1dc00b76ec7449aca258a39ffd613dbd078c51d19c9f03 \
# via -r requirements/dev.in, django-debug-toolbar
docopt==0.6.2 \
--hash=sha256:49b3a825280bd66b3aa83585ef59c4a8c82f2c8a522dbe754a8bc8d08c85c491 \
# via pytest-watch
@ -110,7 +110,7 @@ filelock==3.0.12 \
flake8==3.8.4 \
--hash=sha256:749dbbd6bfd0cf1318af27bf97a14e28e5ff548ef8e5b1566ccfb25a11e7c839 \
--hash=sha256:aadae8761ec651813c24be05c6f7b4680857ef6afaae4651a4eccaef97ce6c3b \
# via -r dev.in
# via -r requirements/dev.in
freezegun==0.3.15 \
--hash=sha256:82c757a05b7c7ca3e176bfebd7d6779fd9139c7cb4ef969c38a28d74deef89b2 \
--hash=sha256:e2062f2c7f95cc276a834c22f1a17179467176b624cc6f936e8bc3be5535ad1b \
@ -123,6 +123,10 @@ idna==2.10 \
--hash=sha256:b307872f855b18632ce0c21c5e45be78c0ea7ae4c15c828c20788b26921eb3f6 \
--hash=sha256:b97d804b1e9b523befed77c48dacec60e6dcb0b5391d57af6a65a312a90648c0 \
# via requests
importlib-metadata==3.3.0 \
--hash=sha256:5c5a2720817414a6c41f0a49993908068243ae02c1635a228126519b509c8aed \
--hash=sha256:bf792d480abbd5eda85794e4afb09dd538393f7d6e6ffef6e9f03d2014cf9450 \
# via flake8, pluggy, pre-commit, pytest, virtualenv
iniconfig==1.0.1 \
--hash=sha256:80cf40c597eb564e86346103f609d74efce0f6b4d4f30ec8ce9e2c26411ba437 \
--hash=sha256:e5f92f89355a67de0595932a6c6c02ab4afddc6fcdc0bfc5becd0d60884d3f69 \
@ -134,7 +138,7 @@ mccabe==0.6.1 \
mock==4.0.3 \
--hash=sha256:122fcb64ee37cfad5b3f48d7a7d51875d7031aaf3d8be7c42e2bee25044eee62 \
--hash=sha256:7d3fbbde18228f4ff2f1f119a45cdffa458b4c0dee32eb4d2bb2f82554bac7bc \
# via -r dev.in
# via -r requirements/dev.in
more-itertools==8.5.0 \
--hash=sha256:6f83822ae94818eae2612063a5101a7311e68ae8002005b5e05f03fd74a86a20 \
--hash=sha256:9b30f12df9393f0d28af9210ff8efe48d10c94f73e5daf886f10c4b0b0b4f03c \
@ -161,7 +165,7 @@ pathtools==0.1.2 \
pip-tools==5.4.0 \
--hash=sha256:a4d3990df2d65961af8b41dacc242e600fdc8a65a2e155ed3d2fc18a5c209f20 \
--hash=sha256:b73f76fe6464b95e41d595a9c0302c55a786dbc54b63ae776c540c04e31914fb \
# via -r dev.in
# via -r requirements/dev.in
pluggy==0.13.1 \
--hash=sha256:15b2acde666561e1298d71b523007ed7364de07029219b604cf808bfa1c765b0 \
--hash=sha256:966c145cd83c96502c3c3868f50408687b38434af77734af1e9ca461a4081d2d \
@ -169,7 +173,7 @@ pluggy==0.13.1 \
pre-commit==2.9.3 \
--hash=sha256:6c86d977d00ddc8a60d68eec19f51ef212d9462937acf3ea37c7adec32284ac0 \
--hash=sha256:ee784c11953e6d8badb97d19bc46b997a3a9eded849881ec587accd8608d74a4 \
# via -r dev.in
# via -r requirements/dev.in
py==1.9.0 \
--hash=sha256:366389d1db726cd2fcfc79732e75410e5fe4d31db13692115529d34069a043c2 \
--hash=sha256:9ca6883ce56b4e8da7e79ac18787889fa5206c79dcc67fb065376cd2fe03f342 \
@ -189,29 +193,29 @@ pyparsing==2.4.7 \
pypom==2.2.0 \
--hash=sha256:4bdd57fceb72d7e6a3645cf6c9322f490d9cfb5d777eac2c851a3b658b813939 \
--hash=sha256:6772ec99f0a21a5bdc8c092007a8c813ed18359e67ed70258bbb233df5e28829 \
# via -r dev.in
# via -r requirements/dev.in
pytest-asyncio==0.14.0 \
--hash=sha256:2eae1e34f6c68fc0a9dc12d4bea190483843ff4708d24277c41568d6b6044f1d \
--hash=sha256:9882c0c6b24429449f5f969a5158b528f39bde47dc32e85b9f0403965017e700 \
# via -r dev.in
# via -r requirements/dev.in
pytest-cov==2.10.1 \
--hash=sha256:45ec2d5182f89a81fc3eb29e3d1ed3113b9e9a873bcddb2a71faaab066110191 \
--hash=sha256:47bd0ce14056fdd79f93e1713f88fad7bdcc583dcd7783da86ef2f085a0bb88e \
# via -r dev.in
# via -r requirements/dev.in
pytest-django==4.1.0 \
--hash=sha256:10e384e6b8912ded92db64c58be8139d9ae23fb8361e5fc139d8e4f8fc601bc2 \
--hash=sha256:26f02c16d36fd4c8672390deebe3413678d89f30720c16efb8b2a6bf63b9041f \
# via -r dev.in
# via -r requirements/dev.in
pytest-freezegun==0.4.2 \
--hash=sha256:19c82d5633751bf3ec92caa481fb5cffaac1787bd485f0df6436fd6242176949 \
--hash=sha256:5318a6bfb8ba4b709c8471c94d0033113877b3ee02da5bfcd917c1889cde99a7 \
# via -r dev.in
# via -r requirements/dev.in
pytest-testmon==1.0.3 \
--hash=sha256:927a73dd510b90a2e4a48ea4d37e82c4490b56caa745663262024ea0cd278169 \
# via -r dev.in
# via -r requirements/dev.in
pytest-watch==4.2.0 \
--hash=sha256:06136f03d5b361718b8d0d234042f7b2f203910d8568f63df2f866b547b3d4b9 \
# via -r dev.in
# via -r requirements/dev.in
pytest==6.0.1 \
--hash=sha256:85228d75db9f45e06e57ef9bf4429267f81ac7c0d742cc9ed63d09886a9fe6f4 \
--hash=sha256:8b6007800c53fdacd5a5c192203f4e531eb2a1540ad9c752e052ec0f7143dbad \
@ -267,7 +271,7 @@ requests==2.24.0 \
responses==0.12.1 \
--hash=sha256:2e5764325c6b624e42b428688f2111fea166af46623cb0127c05f6afb14d3457 \
--hash=sha256:ef265bd3200bdef5ec17912fc64a23570ba23597fd54ca75c18650fa1699213d \
# via -r dev.in
# via -r requirements/dev.in
selenium==3.141.0 \
--hash=sha256:2d7131d7bc5a5b99a2d9b04aaf2612c411b03b8ca1b1ee8d3de5845a9be2cb3c \
--hash=sha256:deaf32b60ad91a4611b98d8002757f29e6f2c2d5fcaf202e1c9ad06d6772300d \
@ -277,7 +281,7 @@ shellcheck-py==0.7.1.1 \
--hash=sha256:0fca77ece2ba232ca2fdbe4f15dc4b0a30f3e38e896345b2dbf4dbe20e4bb8a9 \
--hash=sha256:59c623567a1a7bd0a919b5009790b199b5457a78053b775de1886f01693533af \
--hash=sha256:9f537613212aad5221a020dde3b86884cf4778688788ac26ddeb21fecf3ec2e0 \
# via -r dev.in
# via -r requirements/dev.in
six==1.15.0 \
--hash=sha256:30639c035cdb23534cd4aa2dd52c3bf48f06e5f4a941509c8bafd8ce11080259 \
--hash=sha256:8b74bedcbbbaca38ff6d7491d76f2b06b3592611af620f8426e82dddb04a5ced \
@ -317,7 +321,7 @@ typing-extensions==3.7.4.3 \
--hash=sha256:7cb407020f00f7bfc3cb3e7881628838e69d8f3fcab2f64742a5e76b2f841918 \
--hash=sha256:99d4073b617d30288f569d3f13d2bd7548c3a7e4c8de87db09a9d29bb3a4a60c \
--hash=sha256:dafc7639cde7f1b6e1acc0f457842a83e722ccca8eef5270af2d74792619a89f \
# via black
# via black, importlib-metadata
urllib3==1.25.10 \
--hash=sha256:91056c15fa70756691db97756772bb1eb9678fa585d9184f24534b100dc60f4a \
--hash=sha256:e7983572181f5e1522d9c98453462384ee92a0be7fac5f1413a1e35c56cc0461 \
@ -329,6 +333,10 @@ virtualenv==20.2.2 \
watchdog==0.10.3 \
--hash=sha256:4214e1379d128b0588021880ccaf40317ee156d4603ac388b9adcf29165e0c04 \
# via pytest-watch
zipp==3.4.0 \
--hash=sha256:102c24ef8f171fd729d46599845e95c7ab894a4cf45f5de11a44cc7444fb1108 \
--hash=sha256:ed5eee1974372595f9e416cc7bbeeb12335201d8081ca8a0743c954d4446e5cb \
# via importlib-metadata
zope.component==4.6.2 \
--hash=sha256:607628e4c84f7887a69a958542b5c304663e726b73aba0882e3a3f059bff14f3 \
--hash=sha256:91628918218b3e6f6323de2a7b845e09ddc5cae131c034896c051b084bba3c92 \

Просмотреть файл

@ -129,7 +129,7 @@ def fixture_create_commit():
@pytest.fixture
def test_repository(transactional_db):
def test_repository(django_db_reset_sequences):
from treeherder.model.models import Repository, RepositoryGroup
RepositoryGroup.objects.get_or_create(name="development", description="")

Просмотреть файл

@ -0,0 +1,18 @@
# Generated by Django 3.1.4 on 2020-12-21 22:46
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('perf', '0034_remove_performancedatum_fields'),
]
operations = [
migrations.AlterField(
model_name='performancesignature',
name='should_alert',
field=models.BooleanField(null=True),
),
]

Просмотреть файл

@ -76,7 +76,7 @@ class PerformanceSignature(models.Model):
ALERT_ABS = 1
ALERT_CHANGE_TYPES = ((ALERT_PCT, 'percentage'), (ALERT_ABS, 'absolute'))
should_alert = models.NullBooleanField()
should_alert = models.BooleanField(null=True)
alert_change_type = models.IntegerField(choices=ALERT_CHANGE_TYPES, null=True)
alert_threshold = models.FloatField(null=True)
min_back_window = models.IntegerField(null=True)