From b9aea4f77d5b46be2c1575b64c6228e6102f8a1b Mon Sep 17 00:00:00 2001 From: Philip Guyton Date: Mon, 13 Nov 2023 18:03:21 +0000 Subject: [PATCH] Update Django-rest-framework to latest #2738 Updates DRF from 3.13.1 to latest 3.14.0. Via removal of our now redundant Django version related pinning. # Includes - Incidental urllib3 update from 2.0.7 to 2.1.0. --- poetry.lock | 19 +++++++++---------- pyproject.toml | 2 +- 2 files changed, 10 insertions(+), 11 deletions(-) diff --git a/poetry.lock b/poetry.lock index 698967588..73b3b324d 100644 --- a/poetry.lock +++ b/poetry.lock @@ -144,14 +144,14 @@ python-versions = "*" [[package]] name = "djangorestframework" -version = "3.13.1" +version = "3.14.0" description = "Web APIs for Django, made easy." category = "main" optional = false python-versions = ">=3.6" [package.dependencies] -django = ">=2.2" +django = ">=3.0" pytz = "*" [[package]] @@ -423,15 +423,14 @@ python-versions = ">=3.8" [[package]] name = "urllib3" -version = "2.0.7" +version = "2.1.0" description = "HTTP library with thread-safe connection pooling, file post, and more." category = "main" optional = false -python-versions = ">=3.7" +python-versions = ">=3.8" [package.extras] brotli = ["brotli (>=1.0.9)", "brotlicffi (>=0.8.0)"] -secure = ["certifi", "cryptography (>=1.9)", "idna (>=2.0.0)", "pyopenssl (>=17.1.0)", "urllib3-secure-extra"] socks = ["pysocks (>=1.5.6,!=1.5.7,<2.0)"] zstd = ["zstandard (>=0.18.0)"] @@ -490,7 +489,7 @@ testing = ["coverage (>=5.0.3)", "zope.event", "zope.testing"] [metadata] lock-version = "1.1" python-versions = "~3.9" -content-hash = "28c5c24e945abfc63c43909f38f1a1a4133ab052e431b5da9d2b6668f77de3d4" +content-hash = "3945c028f79d1545841b01914769b58f8569449b8356fadacb692bd2006bcfdd" [metadata.files] asgiref = [ @@ -700,8 +699,8 @@ django-pipeline = [ {file = "django_pipeline-2.1.0-py3-none-any.whl", hash = "sha256:e91627faee22c4c65eb7d134ef53a9d97253c99e4dd914af8ea9c8c58c01de93"}, ] djangorestframework = [ - {file = "djangorestframework-3.13.1-py3-none-any.whl", hash = "sha256:24c4bf58ed7e85d1fe4ba250ab2da926d263cd57d64b03e8dcef0ac683f8b1aa"}, - {file = "djangorestframework-3.13.1.tar.gz", hash = "sha256:0c33407ce23acc68eca2a6e46424b008c9c02eceb8cf18581921d0092bc1f2ee"}, + {file = "djangorestframework-3.14.0-py3-none-any.whl", hash = "sha256:eb63f58c9f218e1a7d064d17a70751f528ed4e1d35547fdade9aaf4cd103fd08"}, + {file = "djangorestframework-3.14.0.tar.gz", hash = "sha256:579a333e6256b09489cbe0a067e66abe55c6595d8926be6b99423786334350c8"}, ] gevent = [ {file = "gevent-23.9.1-cp310-cp310-macosx_11_0_universal2.whl", hash = "sha256:a3c5e9b1f766a7a64833334a18539a362fb563f6c4682f9634dea72cbe24f771"}, @@ -941,8 +940,8 @@ typing-extensions = [ {file = "typing_extensions-4.8.0.tar.gz", hash = "sha256:df8e4339e9cb77357558cbdbceca33c303714cf861d1eef15e1070055ae8b7ef"}, ] urllib3 = [ - {file = "urllib3-2.0.7-py3-none-any.whl", hash = "sha256:fdb6d215c776278489906c2f8916e6e7d4f5a9b602ccbcfdf7f016fc8da0596e"}, - {file = "urllib3-2.0.7.tar.gz", hash = "sha256:c97dfde1f7bd43a71c8d2a58e369e9b2bf692d1334ea9f9cae55add7d0dd0f84"}, + {file = "urllib3-2.1.0-py3-none-any.whl", hash = "sha256:55901e917a5896a349ff771be919f8bd99aff50b79fe58fec595eb37bbc56bb3"}, + {file = "urllib3-2.1.0.tar.gz", hash = "sha256:df7aa8afb0148fa78488e7899b2c59b5f4ffcfa82e6c54ccb9dd37c1d7b52d54"}, ] urlobject = [ {file = "URLObject-2.1.1.tar.gz", hash = "sha256:06462b6ab3968e7be99442a0ecaf20ac90fdf0c50dca49126019b7bf803b1d17"}, diff --git a/pyproject.toml b/pyproject.toml index 418773389..df55eef34 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -62,7 +62,7 @@ python = "~3.9" # [tool.poetry.group.django.dependencies] django = "~3.2" django-oauth-toolkit = "*" -djangorestframework = "==3.13.1" # Last version to support Django 2.2 (up to 4.0) +djangorestframework = "*" django-pipeline = "*" python-engineio = "==4.8.0" python-socketio = "==5.9.0"