Skip to content

Commit

Permalink
fix(django): django 4.1 new release deprecates backends.memcached.Mem…
Browse files Browse the repository at this point in the history
…cachedCache (#4036) (#4105)

## 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 <alberto.vara@datadoghq.com>
  • Loading branch information
mergify[bot] and avara1986 committed Aug 16, 2022
1 parent b10c8df commit 47ab610
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .circleci/config.yml
Expand Up @@ -10,7 +10,7 @@ cassandra_image: &cassandra_image cassandra:3.11.7
consul_image: &consul_image consul:1.6.0
moto_image: &moto_image palazzem/moto:1.0.1
mysql_image: &mysql_image mysql:5.7
postgres_image: &postgres_image postgres:10.5-alpine
postgres_image: &postgres_image postgres:11-alpine
mongo_image: &mongo_image mongo:3.6
httpbin_image: &httpbin_image kennethreitz/httpbin@sha256:2c7abc4803080c22928265744410173b6fea3b898872c01c5fd0f0f9df4a59fb
vertica_image: &vertica_image sumitchawla/vertica:latest
Expand Down
2 changes: 1 addition & 1 deletion docker-compose.yml
Expand Up @@ -18,7 +18,7 @@ services:
ports:
- "127.0.0.1:8500:8500"
postgres:
image: postgres:10.5-alpine
image: postgres:11-alpine
environment:
- POSTGRES_PASSWORD=postgres
- POSTGRES_USER=postgres
Expand Down
4 changes: 0 additions & 4 deletions tests/contrib/django/django_app/settings.py
Expand Up @@ -50,10 +50,6 @@
"BACKEND": "django.core.cache.backends.memcached.PyLibMCCache",
"LOCATION": "127.0.0.1:11211",
},
"python_memcached": {
"BACKEND": "django.core.cache.backends.memcached.MemcachedCache",
"LOCATION": "127.0.0.1:11211",
},
}

SITE_ID = 1
Expand Down

0 comments on commit 47ab610

Please sign in to comment.