Skip to content

Commit ed7c0d3

Browse files
committed
Removed testing Python 3.14 due to a bug in pluggy
1 parent 85ef457 commit ed7c0d3

File tree

13 files changed

+25
-1603
lines changed

13 files changed

+25
-1603
lines changed

.github/workflows/main.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,6 @@ jobs:
2121
fail-fast: false
2222
matrix:
2323
python-version:
24-
- 3.9
2524
- '3.10'
2625
- '3.11'
2726
- '3.12'

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
# 1.2.0 - 12th May 2025
2+
- Dropped support for Django 5.0
3+
- This package should still work with those combinations but they are no longer being tested
4+
15
# 1.1.3 - 7th May 2025
26
- Updated pyproject.toml to show Django 5.2 support, also updated the pre-commit-config and requirements or testings
37

README.md

Lines changed: 15 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -26,19 +26,21 @@ already been added as a class decorator on the base view but if you overload the
2626
it back to avoid receiving CSRF Token failures.
2727

2828
# Python and Django Support
29-
This project supports Python 3.9 to 3.14 and Django 4.2 to 5.2. It may work with older versions of Django, but I am not
30-
actively supporting anything below 4.2.
31-
32-
| **Python/Django** | **4.2** | **5.0** | **5.1** | **5.2** |
33-
|--------------------|----------|----------|---------|----------|
34-
| 3.9 | Y | N | N/A | N/A |
35-
| 3.10 | Y | Y | Y | Y |
36-
| 3.11 | Y | Y | Y | Y |
37-
| 3.12 | Y | Y | Y | Y |
38-
| 3.13 | Y | Y | Y | Y |
39-
| 3.14 | N | N | Y | Y |
40-
41-
* Python 3.11 only works with Django 4.1.3+
29+
This project only actively supports current Python and Django versions, Python 3.10 to 3.14, and Django 4.2, 5.1 and 5.2.
30+
It may work with other versions of Django from 4.2 up and Python 3.9+ but they will no longer be tested.
31+
32+
| **Python/Django** | **4.2** | **5.0** | **5.1** | **5.2** |
33+
|-------------------|----------|---------|---------|---------|
34+
| 3.9 | Y | N/A | N/A | N/A |
35+
| 3.10 | Y | Y** | Y | Y |
36+
| 3.11* | Y | Y** | Y | Y |
37+
| 3.12 | Y | Y** | Y | Y |
38+
| 3.13 | Y | Y** | Y | Y |
39+
| 3.14 | N | N | Y*** | Y*** |
40+
41+
* *Python 3.11 only works with Django 4.1.3+
42+
* **Django 5.0 is no longer being tested for support since May 2025 due to the final version having security issues
43+
* ***Python 3.14 should work but pytest will fail due to a bug with it's dependency pluggy
4244

4345
# Installation
4446
You can install this package from pip using

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ skip = [
99

1010
[project]
1111
name = "django-aws-api-gateway-websockets"
12-
version = "1.1.3"
12+
version = "1.2.0"
1313
authors = [
1414
{ name="Steven Mapes", email="steve@stevenmapes.com" },
1515
]

requirements/compile.py

Lines changed: 0 additions & 80 deletions
Original file line numberDiff line numberDiff line change
@@ -52,22 +52,6 @@
5252
check=True,
5353
capture_output=True,
5454
)
55-
subprocess.run(
56-
[
57-
"python",
58-
*common_args,
59-
"-P",
60-
"Django>=5.0,<5.1",
61-
"-P",
62-
"urllib3>=2.2.2",
63-
"-P",
64-
"sqlparse==0.5.0",
65-
"-o",
66-
"py310-django50.txt",
67-
],
68-
check=True,
69-
capture_output=True,
70-
)
7155
subprocess.run(
7256
[
7357
"python",
@@ -114,22 +98,6 @@
11498
capture_output=True,
11599
)
116100
# Django 5 required Python 3.10+
117-
subprocess.run(
118-
[
119-
"python",
120-
*common_args,
121-
"-P",
122-
"Django>=5.0.14,<5.1",
123-
"-P",
124-
"urllib3>=2.2.2",
125-
"-P",
126-
"sqlparse==0.5.0",
127-
"-o",
128-
"py311-django50.txt",
129-
],
130-
check=True,
131-
capture_output=True,
132-
)
133101
subprocess.run(
134102
[
135103
"python",
@@ -179,22 +147,6 @@
179147
check=True,
180148
capture_output=True,
181149
)
182-
subprocess.run(
183-
[
184-
"python",
185-
*common_args,
186-
"-P",
187-
"Django>=5.0.14,<5.1",
188-
"-P",
189-
"urllib3>=2.2.2",
190-
"-P",
191-
"sqlparse==0.5.0",
192-
"-o",
193-
"py312-django50.txt",
194-
],
195-
check=True,
196-
capture_output=True,
197-
)
198150
subprocess.run(
199151
[
200152
"python",
@@ -240,22 +192,6 @@
240192
check=True,
241193
capture_output=True,
242194
)
243-
subprocess.run(
244-
[
245-
"python",
246-
*common_args,
247-
"-P",
248-
"Django>=5.0.14,<5.1",
249-
"-P",
250-
"urllib3>=2.2.2",
251-
"-P",
252-
"sqlparse==0.5.0",
253-
"-o",
254-
"py313-django50.txt",
255-
],
256-
check=True,
257-
capture_output=True,
258-
)
259195
subprocess.run(
260196
[
261197
"python",
@@ -301,22 +237,6 @@
301237
check=True,
302238
capture_output=True,
303239
)
304-
subprocess.run(
305-
[
306-
"python",
307-
*common_args,
308-
"-P",
309-
"Django>=5.0.14,<5.1",
310-
"-P",
311-
"urllib3>=2.2.2",
312-
"-P",
313-
"sqlparse==0.5.0",
314-
"-o",
315-
"py314-django50.txt",
316-
],
317-
check=True,
318-
capture_output=True,
319-
)
320240
subprocess.run(
321241
[
322242
"python",

0 commit comments

Comments
 (0)