File tree Expand file tree Collapse file tree 2 files changed +18
-8
lines changed Expand file tree Collapse file tree 2 files changed +18
-8
lines changed Original file line number Diff line number Diff line change 8
8
timeout-minutes : 60
9
9
name : Update docker cache
10
10
steps :
11
- - uses : actions/checkout@v4
11
+ - uses : actions/checkout@v5
12
12
- name : Cache docker images
13
13
id : custom-cache
14
14
uses : actions/cache@v4
36
36
- ' 3.11'
37
37
- ' 3.12'
38
38
- ' 3.13'
39
+ - ' 3.14'
39
40
django-version :
40
41
- ' django==4.2'
41
42
- ' django==5.0'
@@ -46,16 +47,20 @@ jobs:
46
47
- python-version : ' 3.13'
47
48
django-version : " git+https://github.com/django/django.git@main#egg=Django"
48
49
experimental : true
50
+ - python-version : ' 3.14'
51
+ django-version : " git+https://github.com/django/django.git@main#egg=Django"
52
+ experimental : true
49
53
50
54
env :
51
55
ACTIONS_ALLOW_UNSECURE_COMMANDS : true
52
56
steps :
53
- - uses : actions/checkout@v4
57
+ - uses : actions/checkout@v5
54
58
55
59
- name : Set up Python ${{ matrix.python-version }}
56
60
uses : actions/setup-python@v5
57
61
with :
58
62
python-version : ${{ matrix.python-version }}
63
+ allow-prereleases : true
59
64
60
65
- name : Cache docker images
61
66
id : custom-cache
69
74
run : docker image load -i ./custom-cache/all.tar
70
75
71
76
- name : Install uv
72
- uses : astral-sh/setup-uv@v5
77
+ uses : astral-sh/setup-uv@v6
73
78
with :
74
79
enable-cache : true
75
80
Original file line number Diff line number Diff line change 1
1
import copy
2
+ import sys
2
3
from typing import cast
3
4
4
5
import pytest
5
6
from pytest import LogCaptureFixture
6
7
from pytest_django .fixtures import SettingsWrapper
7
8
8
- from django .core .cache import caches , cache as default_cache
9
+ pytestmark = pytest .mark .skipif (
10
+ sys .version_info >= (3 , 14 ), reason = "python-lz4/python-lz4#302"
11
+ )
12
+
13
+ from django .core .cache import caches , cache as default_cache # noqa: E402
9
14
10
- from valkey .exceptions import ConnectionError
15
+ from valkey .exceptions import ConnectionError # noqa: E402
11
16
12
- from django_valkey .cache import ValkeyCache
13
- from django_valkey .client import ShardClient , HerdClient , DefaultClient
14
- from django_valkey .cluster_cache .client import DefaultClusterClient
17
+ from django_valkey .cache import ValkeyCache # noqa: E402
18
+ from django_valkey .client import ShardClient , HerdClient , DefaultClient # noqa: E402
19
+ from django_valkey .cluster_cache .client import DefaultClusterClient # noqa: E402
15
20
16
21
17
22
def make_key (key : str , prefix : str , version : str ) -> str :
You can’t perform that action at this time.
0 commit comments