Skip to content

Commit 9d04c4f

Browse files
mergify[bot]avara1986brettlangdon
authored
fix(django): django 4.1 new release deprecates backends.memcached.MemcachedCache (#4036) (#4040)
## Description - [Django new release](https://pypi.org/project/Django/#history) deprecates [django.core.cache.backends.memcached.MemcachedCache](https://docs.djangoproject.com/en/4.1/releases/4.1/) - Dropped support for PostgreSQL 10 ## Checklist - [x] Title must conform to [conventional commit](https://github.com/conventional-changelog/commitlint/tree/master/%40commitlint/config-conventional). ## Reviewer Checklist - [ ] Title is accurate. - [ ] Description motivates each change. - [ ] No unnecessary changes were introduced in this PR. - [ ] PR cannot be broken up into smaller PRs. - [ ] Avoid breaking [API](https://ddtrace.readthedocs.io/en/stable/versioning.html#interfaces) changes unless absolutely necessary. - [ ] Tests provided or description of manual testing performed is included in the code or PR. - [ ] Release note has been added for fixes and features, or else `changelog/no-changelog` label added. - [ ] All relevant GitHub issues are correctly linked. - [ ] Backports are identified and tagged with Mergifyio. - [ ] Add to milestone. (cherry picked from commit 2340f5d) Co-authored-by: Alberto Vara <[email protected]> Co-authored-by: Brett Langdon <[email protected]>
1 parent 523793d commit 9d04c4f

File tree

3 files changed

+2
-6
lines changed

3 files changed

+2
-6
lines changed

.circleci/config.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ cassandra_image: &cassandra_image cassandra:3.11.7
1010
consul_image: &consul_image consul:1.6.0
1111
moto_image: &moto_image palazzem/moto:1.0.1
1212
mysql_image: &mysql_image mysql:5.7
13-
postgres_image: &postgres_image postgres:10.5-alpine
13+
postgres_image: &postgres_image postgres:11-alpine
1414
mongo_image: &mongo_image mongo:3.6
1515
httpbin_image: &httpbin_image kennethreitz/httpbin@sha256:2c7abc4803080c22928265744410173b6fea3b898872c01c5fd0f0f9df4a59fb
1616
vertica_image: &vertica_image sumitchawla/vertica:latest

docker-compose.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ services:
1919
ports:
2020
- "127.0.0.1:8500:8500"
2121
postgres:
22-
image: postgres:10.5-alpine
22+
image: postgres:11-alpine
2323
environment:
2424
- POSTGRES_PASSWORD=postgres
2525
- POSTGRES_USER=postgres

tests/contrib/django/django_app/settings.py

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -50,10 +50,6 @@
5050
"BACKEND": "django.core.cache.backends.memcached.PyLibMCCache",
5151
"LOCATION": "127.0.0.1:11211",
5252
},
53-
"python_memcached": {
54-
"BACKEND": "django.core.cache.backends.memcached.MemcachedCache",
55-
"LOCATION": "127.0.0.1:11211",
56-
},
5753
}
5854

5955
SITE_ID = 1

0 commit comments

Comments
 (0)