You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- Workspace and document management ([`crates/djls-workspace/`](./crates/djls-workspace/))
21
+
22
+
Code contributions are welcome from developers of all backgrounds. Rust expertise is valuable for the LSP server and core components, but Python and Django developers should not be deterred by the Rust codebase - Django expertise is just as valuable. Understanding Django's internals and common development patterns helps inform what features would be most valuable.
23
+
24
+
So far it's all been built by a [a simple country CRUD web developer](https://youtu.be/7ij_1SQqbVo?si=hwwPyBjmaOGnvPPI&t=53) learning Rust along the way - send help!
25
+
13
26
### Version Updates
14
27
15
28
#### Python
@@ -27,59 +40,59 @@ The project uses [`noxfile.py`](noxfile.py) as the single source of truth for su
27
40
28
41
1. Update [`noxfile.py`](noxfile.py), adding or removing version constants as needed and updating the `PY_VERSIONS` list accordingly.
29
42
30
-
For example, given the following versions:
43
+
For example, given the following versions:
31
44
32
-
```python
33
-
PY39="3.9"
34
-
PY310="3.10"
35
-
PY311="3.11"
36
-
PY312="3.12"
37
-
PY313="3.13"
38
-
PY_VERSIONS= [PY39, PY310, PY311, PY312, PY313]
39
-
```
45
+
```python
46
+
PY39="3.9"
47
+
PY310="3.10"
48
+
PY311="3.11"
49
+
PY312="3.12"
50
+
PY313="3.13"
51
+
PY_VERSIONS= [PY39, PY310, PY311, PY312, PY313]
52
+
```
40
53
41
-
To add Python 3.14 and remove Python 3.9, the final list will be:
54
+
To add Python 3.14and remove Python 3.9, the final list will be:
42
55
43
-
```python
44
-
PY310="3.10"
45
-
PY311="3.11"
46
-
PY312="3.12"
47
-
PY313="3.13"
48
-
PY314="3.14"
49
-
PY_VERSIONS= [PY310, PY311, PY312, PY313, PY314]
50
-
```
56
+
```python
57
+
PY310="3.10"
58
+
PY311="3.11"
59
+
PY312="3.12"
60
+
PY313="3.13"
61
+
PY314="3.14"
62
+
PY_VERSIONS= [PY310, PY311, PY312, PY313, PY314]
63
+
```
51
64
52
65
2. Regenerate auto-generated content:
53
66
54
-
```bash
55
-
just cog
56
-
```
67
+
```bash
68
+
just cog
69
+
```
57
70
58
-
This updates:
71
+
This updates:
59
72
60
-
- The `requires-python` field in [`pyproject.toml`](pyproject.toml)
61
-
- Python version trove classifiers in [`pyproject.toml`](pyproject.toml)
62
-
- Supported versions list in [`README.md`](README.md)
73
+
- The `requires-python` field in [`pyproject.toml`](pyproject.toml)
74
+
- Python version trove classifiers in [`pyproject.toml`](pyproject.toml)
Use `just testall` rather than `just test` to ensure all Python versions are tested. The `just test` command only runs against the default versions (the oldest supported Python and Django LTS) and won't catch issues with newly added versions.
89
+
Use `just testall` rather than `just test` to ensure all Python versions are tested. The `just test` command only runs against the default versions (the oldest supported Python and Django LTS) and won't catch issues with newly added versions.
77
90
78
-
If you want, you can also test only a specific Python version across all Django versions by `nox` directly:
91
+
Alternatively, you can test only a specific Python version across all Django versions by `nox` directly:
79
92
80
-
```bash
81
-
nox --python 3.14 --session tests
82
-
```
93
+
```bash
94
+
nox --python 3.14--session tests
95
+
```
83
96
84
97
5. Update [`CHANGELOG.md`](CHANGELOG.md), adding entries forany versions added or removed.
0 commit comments