From 13b293886e23737c6953e6474c2b8149c7da2613 Mon Sep 17 00:00:00 2001 From: Hillel Arnold Date: Wed, 14 Apr 2021 16:17:59 -0400 Subject: [PATCH 1/4] correct spelling error --- tox.ini | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tox.ini b/tox.ini index 21b811d..3619392 100644 --- a/tox.ini +++ b/tox.ini @@ -15,7 +15,7 @@ select = B, C, E, F, W, B950 import-order-style = pep8 max-complexity = 10 ignore = - E501 # Line too long (82 > 79 characters). Linter enforemcent is not necessary, as longer lines can improve code quality + E501 # Line too long (82 > 79 characters). Linter enforcement is not necessary, as longer lines can improve code quality W391 # Blank line at end of file # Other common exceptions to consider: # E203 Ignores Whitespace before ':' From 4d97abff79efd20978b8671b98002561a200d823 Mon Sep 17 00:00:00 2001 From: Hillel Arnold Date: Wed, 14 Apr 2021 16:18:09 -0400 Subject: [PATCH 2/4] update dependencies --- requirements.txt | 10 +++++----- setup.py | 5 +++-- 2 files changed, 8 insertions(+), 7 deletions(-) diff --git a/requirements.txt b/requirements.txt index 8b94c9d..8e5266e 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,5 +1,5 @@ -bagit==1.7.0 -django==2.2.10 -djangorestframework==3.11.0 -odin==1.5.1 -psycopg2-binary==2.8.4 +bagit==1.8.1 +django==3.2 +djangorestframework==3.12.4 +odin==1.5.2 +psycopg2-binary==2.8.6 diff --git a/setup.py b/setup.py index 3131fd9..69e73de 100644 --- a/setup.py +++ b/setup.py @@ -21,9 +21,10 @@ packages=find_packages(), test_suite='nose.collector', tests_require=[ - 'nose', 'bagit', 'django', 'djangorestframework', - 'psycopg2-binary'], + 'psycopg2-binary', + 'nose', + 'odin'], zip_safe=False) From 3741992ff532b3a3e07fddc1d453e140976746ea Mon Sep 17 00:00:00 2001 From: Hillel Arnold Date: Wed, 14 Apr 2021 16:25:23 -0400 Subject: [PATCH 3/4] use jsonfield from models --- asterism/models.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/asterism/models.py b/asterism/models.py index ef598a4..41a5545 100644 --- a/asterism/models.py +++ b/asterism/models.py @@ -1,4 +1,3 @@ -from django.contrib.postgres.fields import JSONField from django.db import models @@ -30,7 +29,7 @@ class BasePackage(models.Model): default='aurora') PROCESS_STATUS_CHOICES = (None) process_status = models.IntegerField(choices=PROCESS_STATUS_CHOICES) - data = JSONField(null=True, blank=True) + data = models.JSONField(null=True, blank=True) created = models.DateTimeField(auto_now_add=True) last_modified = models.DateTimeField(auto_now=True) From 059c6a66c7c138dde39b99acdf35e929865b6cf8 Mon Sep 17 00:00:00 2001 From: Hillel Arnold Date: Wed, 14 Apr 2021 16:32:20 -0400 Subject: [PATCH 4/4] add dependabot config --- .github/dependabot.yml | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 .github/dependabot.yml diff --git a/.github/dependabot.yml b/.github/dependabot.yml new file mode 100644 index 0000000..f052884 --- /dev/null +++ b/.github/dependabot.yml @@ -0,0 +1,7 @@ +version: 2 +updates: + - package-ecosystem: "pip" + directory: "/" + schedule: + interval: "monthly" + target-branch: "development"