Skip to content

Commit

Permalink
Pinning Django to 3.2 (LTS)
Browse files Browse the repository at this point in the history
This commit also updates versions of celery and black.
  • Loading branch information
Josh Clements committed Jul 3, 2022
1 parent 1dab6cc commit 83b5520
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 7 deletions.
5 changes: 4 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -28,4 +28,7 @@ envs
notebooks/

.cache
.pytest_cache
.pytest_cache

# Visual Studio Code files
.vscode
2 changes: 1 addition & 1 deletion mygpo/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -243,7 +243,7 @@ def longest_substr(strings):
return substr


def file_hash(f, h=hashlib.md5, block_size=2 ** 20):
def file_hash(f, h=hashlib.md5, block_size=2**20):
"""returns the hash of the contents of a file"""
f_hash = h()
while True:
Expand Down
2 changes: 1 addition & 1 deletion requirements-dev.txt
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@ flake8
django-debug-toolbar==3.2.2
django-extensions
jupyter
black==21.9b0
black==22.6
2 changes: 1 addition & 1 deletion requirements-test.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,5 @@ pytest>=4.6
pytest-django
pytest-cov
responses==0.14.0
black==21.9b0
black==22.6
openapi-spec-validator
6 changes: 3 additions & 3 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
Django<3.3
celery==5.1.2
Django==3.2
celery==5.2.7
Babel==2.9.1
Pillow==8.4.0
celery[redis]==5.1.2
celery[redis]==5.2.7
dj-database-url==0.5.0
django-redis-sessions==0.6.2
python-memcached==1.59
Expand Down

0 comments on commit 83b5520

Please sign in to comment.